0.4.2 • Published 10 months ago
@ycc.im/ui-components v0.4.2
@ycc.im/ui-components
A React component library providing reusable UI components.
Features
- Modern React components
- TypeScript support
- Storybook documentation
- Fully tested components
- Tailwind CSS styling
Installation
npm install @ycc.im/ui-components
# or
yarn add @ycc.im/ui-components
# or
pnpm add @ycc.im/ui-components
Usage
import { Button } from '@ycc.im/ui-components';
import '@ycc.im/ui-components/style.css';
function App() {
return (
<Button variant="primary">
Click me
</Button>
);
}
Available Components
- Badge
- Button
- Calendar
- Carousel
- Combobox
- Command
- DataTable
- Dialog
- DropdownMenu
- Input
- Popover
- Sheet
- SimpleDialog
- Table
- Toast
Development
- Clone the repository
- Install dependencies with
pnpm install
- Start Storybook with
pnpm storybook
- Run tests with
pnpm test
License
MIT