Button
Terminal-styled button with multiple variants and sizes.
Import
import { Button } from "neoterm-ui";Usage
<Button>Default</Button> <Button variant="destructive">Delete</Button> <Button variant="outline" size="sm">Small outline</Button> <Button variant="ghost" size="icon"><Icon /></Button>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "default" | Visual style. |
| size | "default" | "sm" | "lg" | "icon" | "default" | Button size. |
| asChild | boolean | false | Render as child element via Radix Slot. |
| ...rest | ButtonHTMLAttributes | — | Standard button props. |