Skip to content

uic-pack is a reusable React + Tailwind component library with Storybook docs and Semantic Release automation.UI Component Pack

License

Notifications You must be signed in to change notification settings

Reterics/uic-pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

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

License

This project is licensed under the MIT License.

About

uic-pack is a reusable React + Tailwind component library with Storybook docs and Semantic Release automation.UI Component Pack

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •