| npm | github | bundle |
|---|---|---|
composia is a React component library based on shadcn with some modifications and additional components.
Visit the Storybook to view all available components with code examples.
npm install @thavixt/composiaImport the pre-built styles in your root component:
import '@thavixt/composia/dist/index.css';An example of using the <Button /> component would look like this:
import { Button } from '@thavixt/composia';
export function MyComponent() {
return (
<Button variant="secondary" onClick={() => console.log('Clicked!')}>
Perform task
</Button>
)
}