Button
An interactive element for triggering actions. Supports multiple variants and sizes via class-variance-authority.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "default" | Visual style variant |
| size | "default" | "sm" | "lg" | "icon" | "default" | Button size |
| asChild | boolean | false | Merge props onto child element via Slot |
Import
import { Button } from '@blastx/ui';