Loading...
Used to trigger an action or event, such as submitting a form, displaying a dialog or sending a request.
A wrapper around native HTML <button>, supports all HTMLButtonElement properties, methods and events
Different variants, sizes and border radiuses
Pending state animation
Respects reduce motion settings
Built with:
| Prop | Type | Default |
|---|---|---|
size | enum | "default" |
variant | enum | "default" |
radius | enum | "default" |
pending | boolean | ― |
reduceMotion | boolean | false |
Button component is a wrapper around native HTML <button>, it supports all HTMLButtonElement properties, methods and events.
Useful links: