0.0.22 • Published 1 year ago
shadcn-react v0.0.22
shadcn-react
A simple wrapper for shadcn/ui, just for my own convenience.
- style: New York
- icons: Lucide
Install
pnpm add shadcn-reactUsage
Import style.css in the App root:
import 'shadcn-react/style.css'Then use the components:
import { Button } from 'shadcn-react'
export default function MyComponent() {
return <Button>Hello world</Button>
}Use the original shadcn-ui components:
import { Button } from 'shadcn-react/ui'
export default function MyComponent() {
return <Button>Hello world</Button>
}Use lucide icons:
import { RocketIcon } from 'shadcn-react/icons'
export default function MyComponent() {
return <RocketIcon />
}0.0.20
1 year ago
0.0.21
1 year ago
0.0.22
1 year ago
0.0.19
1 year ago
0.0.10
2 years ago
0.0.11
2 years ago
0.0.12
2 years ago
0.0.13
2 years ago
0.0.14
2 years ago
0.0.15
2 years ago
0.0.9
2 years ago
0.0.16
2 years ago
0.0.8
2 years ago
0.0.17
2 years ago
0.0.18
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago