@nicorickert/ui
v1.0.4
Published
A UI library for React made with Vite, Tailwind CSS, Shadcn components
Downloads
2
Readme
@nicorickert/ui-library
Accesible, tested and kind of beautiful components library for React applications, leveraging Shadcn components.
Installation
npm install @nicorickert/ui-library
pnpm add @nicorickert/ui-library
yarn add @nicorickert/ui-library
Usage
Tree shaking is supported, so you can import only the components you need, and keep the rest out of your bundle.
To use the styles of the components, you need to import the @nicorickert/ui-library/dist/styles.css
file in your root file.
import React from 'react'
import { Button } from '@nicorickert/ui-library'
import '@nicorickert/ui-library/dist/styles.css'
const App = () => {
return <Button>Click me</Button>
}
Development
Using Storybook to develop and test components in isolation.
npm run storybook
Testing
Powered by Vitest and Testing Library.
npm run test
License
Licensed under the MIT License. See LICENSE for more information.