Appearance
jio-button
Props
| Prop name | Description | Type | Values | Default |
|---|---|---|---|---|
| theme | The theme you want to use@values primary, secondary | Theme | - | "primary" |
| variant | The button variant you want to use@values primary, secondary | buttonVariant | - | "primary" |
| outline | @deprecated Use variant set to "secondary" instead | boolean | - | false |
| round | Make the button round | boolean | - | false |
| palette | The palette you want to use@values "hemelblauw", "donkergeel", "lichtgeel", "oranje", "rood", "paars", "groen", "donkergroen", "donkerblauw", "lichtblauw", "grijs", "donkergrijs", "wit", "zwart" | Palette | - | |
| highContrast | Use high contrast colors | boolean | - | false |
Slots
| Name | Description | Bindings |
|---|---|---|
| default |
General
This component is based on the Bootstrap button.
Code examples
A normal button.
Button
A button with an outline.
Button
A round button.
Button
A disabled button.
Button
High contrast buttons.
Button Button