button
Buttons represent actions available to the user.
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
variant | neutral | brand | success | warning | danger | neutral | Semantic variant. |
size | small | medium | large | medium | Button size. |
appearance | accent | filled | outlined | plain | accent | Visual appearance. |
icon | string | - | Icon name placed in the start slot. |
pill | boolean | false | Rounded pill shape. |
loading | boolean | false | Loading state. |
disabled | boolean | false | Disables the button. |
with-caret | boolean | false | Adds a dropdown caret indicator. |
width | full | auto | auto | Button width (DSL shorthand). |