@classon/shadcn-react
v0.0.30
Published
A simple wrapper for shadcn/ui
Downloads
403
Readme
shadcn-react
A simple wrapper for shadcn/ui, just for my own convenience.
- style: New York
- icons: Lucide
Install
pnpm add @classon/shadcn-react
Usage
Import style.css
in the App root:
import '@classon/shadcn-react/style.css'
Then use the components:
import { Button } from '@classon/shadcn-react'
export default function MyComponent() {
return <Button>Hello world</Button>
}
Use the original shadcn-ui components:
import { Button } from '@classon/shadcn-react/ui'
export default function MyComponent() {
return <Button>Hello world</Button>
}
Use lucide icons:
import { RocketIcon } from '@classon/shadcn-react/icons'
export default function MyComponent() {
return <RocketIcon />
}