v-btn-toggle component is a simple wrapper for
v-item-group built specifically to work with
Toggle buttons allow you to create a styled group of buttons that can selected or toggled under a single
Select your desired component from below and see the available props, slots, events and functions.
The active-class applied to children when they are activated.
Changes the background-color for the component.
Removes the group's border.
Applies specified color to the control - it can be the name of material color (for example
purple) or css color (
rgba(255, 0, 0, 0.5)). You can find list of built in classes on the colors page.
Applies the dark theme variant to the component. You can find more information on the Material Design documentation for dark themes.
Reduces the button size and padding.
Applies the light theme variant to the component.
Forces a value to always be selected (if available).
Sets a maximum number of selections that can be made.
Allow multiple selections. The value prop must be an array.
Round edge buttons
Applies a large border radius on the top left and bottom right of the card.
Removes the component's border-radius.
The designated model value for the component.
The default Vue slot.
Emitted when the input is changed by user interaction
any | any
0 12px !default;
0 8px !default;
Below is a collection of simple to complex examples.
You can make
VBtnToggle rounded using the
VBtnToggle always has value.
VBtnToggle allows user to select multiple variants and returns value as an array.
Easily integrate customized button solutions with a
Group similar actions and design your own WYSIWYG component.
Ready for more? Continue reading with: