Button
A glass button with default and destructive variants.
Installation
npx shadcn@latest add @pane/buttonFirst time using Pane in this project? See installation to register the @pane namespace.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "default" | "destructive" | "default" | Visual emphasis. |
| size | "default" | "sm" | "lg" | "icon" | "default" | Button size. |
| asChild | boolean | false | Merge props onto the child element instead of rendering a <button>. |