Installation
Examples
Outline Variant
Usage
import { RainbowButton } from "@/components/magicui/rainbow-button";
<RainbowButton>Rainbow Button</RainbowButton>
Props
Prop | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | - | The content to be displayed inside the button. |
className | string | - | Additional CSS classes to be applied to the button. |
variant | "default" | "outline" | "default" | The variant of the button. |
size | "default" | "sm" | "lg" | "icon" | "default" | The size of the button. |