VIcon API
Props
name | type | default |
|---|---|---|
string
| undefined | |
Applies specified color to the control - supports utility colors with or without | ||
boolean
| false | |
Removes the ability to click or target the component. | ||
boolean
| false | |
Applies margin at the start of the component. | ||
| string | (new () => any) | FunctionalComponent | (string | [string, number])[] | undefined | |
Apply a specific icon using the v-icon component. | ||
string | number | undefined | |
Sets the component’s opacity value | ||
string | number | 'default' | |
Sets the height and width of the component. Default unit is px. Can also use the following predefined sizes: x-small, small, default, large, and x-large. | ||
boolean
| false | |
Applies margin at the end of the component. | ||
string | (new () => any) | FunctionalComponent | 'i' | |
Specify a custom tag used on the root element. | ||
string
| undefined | |
Specify a theme for this component and all of its children. | ||
Slots
The default Vue slot. | ||
SASS Variables
name | default |
|---|---|
0.38 | |
8px | |
normal | |
1 | |
8px | |
8px | |
1em | |
tools.map-deep-merge( ( 'x-small': 1em, 'small': 1.25em, 'default': 1.5em, 'large': 1.75em, 'x-large': 2em, ), $icon-sizes ) | |
0 | |
middle |