Loading...
Loading...
Loading...
Accessible button with multiple visual variants and sizes.
Install
npx bouncekit@latest add buttonImport
import { Button } from "@/components/ui/button"API Reference
| Prop | Type | Required | Description |
|---|---|---|---|
variant | "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | — | Visual style. |
size | "default" | "sm" | "lg" | "icon" | — | Button size. |
asChild | boolean | — | Merge props onto a child element instead of rendering a <button>. |
Source
src/components/ui/button.tsx