Button
Imports
- Button: The main component to display a list of accordion items.
Usage
Examples
Primary
Success
Warn
Error
Ghost
Outline
Size
Rounded
API
Button Props
Props | Type | Description |
---|---|---|
variant | 'default' | 'primary' | 'success' | 'warn' | 'error' | The variant of the button. |
rounded | 'none' | 'sm' | 'md' | 'lg' | The rounded of the button. |
outline | 'default' | 'primary' | 'success' | 'warn' | 'error' | The outline of the button. |
size | 'sm' | 'md' | 'lg' | 'icon' | The size of the button. |
ripple | boolean | The ripple of the button. |
rippleColor | 'ligth' | 'dark' | The ripple color of the button. |