Label
Adds a label
Tag:
x-turbine-ui-label
<x-turbine-ui-label>default label</x-turbine-ui-label><x-turbine-ui-label variant="brand">brand label</x-turbine-ui-label><x-turbine-ui-label variant="primary">primary label</x-turbine-ui-label><x-turbine-ui-label variant="secondary">secondary label</x-turbine-ui-label><x-turbine-ui-label variant="success">success label</x-turbine-ui-label><x-turbine-ui-label variant="warning">warning label</x-turbine-ui-label><x-turbine-ui-label variant="danger">danger label</x-turbine-ui-label>
Attributes
Name | Type | Options | Description |
---|---|---|---|
accent | boolean | Adds an accent | |
border | boolean | Adds a border | |
hollow | boolean | Removes background colour | |
icon | string | Adds an icon | |
prefix | string | Adds content to the start | |
ring | boolean | Adds a ring | |
rounded | boolean | Adds a rounded corner | |
shadow | boolean | Adds a shadow | |
size | string | Size is used to control styles such as margin, padding and font size. Extensible via the theme. | |
suffix | string | Adds content to the end | |
variant | string | A variant is like a colour palette |