Button
Component name: <v-button>
Examples
Primary buttons
Secondary buttons
Loading state
Change sizes
Change underlying element
API
| Name | Type | Description | Default |
|---|---|---|---|
| tag | String | Change the underlying DOM element | a |
| primary | Boolean | Primary variant | true |
| secondary | Boolean | Primary variant | false |
| small | Boolean | Small size | false |
| medium | Boolean | Medium size | true |
| large | Boolean | Large size | false |
| inverted | Boolean | Inverted variant | false |
| loading | Boolean | Show loading indicator | false |
Notice
All other properties that are not defined above, will be passed to the component as html attributes. This is especially useful for adding the class attribute.