New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

uic-pack

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uic-pack

UI Component Pack to speed up React + TailwindCSS development

latest
Source
npmnpm
Version
0.4.1
Version published
Maintainers
0
Created
Source

uic-pack

UI Component Pack for React + Tailwind Projects

Preview

Getting started 🚀

Install

Install as dependency via your package manager

  • use npm
# for npm
npm i uic-pack

# for yarn
yarn add uic-pack

# for pnpm
pnpm install uic-pack

Usage

Import working React components from

import { StyledInput, FormRow } from "uic-pack";


<FormRow>
  <StyledInput
    type="text" name="name"
    value={name}
    onChange={(e) => setName(e.target.value)}
    label={"Name"}
  />
  <StyledInput
    type="password" name="password"
    value={password}
    onChange={(e) => setPassword(e.target.value)}
    label={"Password"}
  />
</FormRow>

Importing styles

Add uic-pack css to your global.css file

@import 'uic-pack/dist/uic-pack.css';

@tailwind base;
@tailwind components;
@tailwind utilities;

or add uic-pack to your tailwind.config.ts

import type { Config } from 'tailwindcss'

const config: Config = {
  content: [
    './src/**/*.{js,ts,jsx,tsx,mdx}',
    './node_modules/uic-pack/dist/uic-pack.js',
  ],
  plugins: [],
}
export default config

Available components

  • TableViewComponent Preview
  • FormRow
  • StyledFile
  • StyledInput
  • StyledSelect
  • StyledMultiSelect
  • DraggableDiv
  • MenuBar
  • DialogComponent

Contribute

  • If you have a feature request, create an issue or make a pull request
  • If you have a bug to report, you can create an issue here. Please try to write as much details as possible to help reproduce and fix it.

For more details please read the CONTRIBUTING.md for guidelines and details.

License

This project is licensed under the MIT License.

Keywords

tailwind

FAQs

Package last updated on 05 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts