UI Component Pack for React + Tailwind Projects
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-packImport 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>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- TableViewComponent

- FormRow
- StyledFile
- StyledInput
- StyledSelect
- StyledMultiSelect
- DraggableDiv
- MenuBar
- DialogComponent
- 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.
This project is licensed under the MIT License.
