Button
Trigger an action or event, in multiple variants and sizes.
Variants
Sizes
With icon
Loading
Pill
Gradient
Social
Custom color
Badge
As link
Icon sizes
Icon before & after
API reference
Inputs
| Prop | Type | Default | Description |
|---|---|---|---|
variant | ButtonVariant | 'default' | Visual style of the button. |
size | ButtonSize | 'default' | Size preset controlling height, padding and icon scale. |
Types
ButtonSize — Size preset controlling height, padding and icon scale.
"default" | "icon" | "icon-lg" | "icon-sm" | "icon-xs" | "lg" | "sm" | "xs"ButtonVariant — Visual style of the button.
"default" | "destructive" | "ghost" | "link" | "outline" | "secondary" Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.