Installation
pnpm dlx shadcn@latest add @spell/rich-buttonExamples
Color
Size
Usage
import { RichButton } from "@/components/rich-button";<RichButton>Default</RichButton>Props
| Prop | Type | Default |
|---|---|---|
children | React.ReactNode | - |
color | Color | default |
size | SizeVariant | default |
className | string | - |
asChild | boolean | false |