Item groups

The v-item-group provides the ability to create a group of selectable items out of any component. This is the baseline functionality for components such as v-tabs and v-carousel.

Usage

The core usage of the v-item-group is to create groups of anything that should be controlled by a model.

API

Examples

Props

Selected class

The selected-class prop allows you to designate a CSS class applied to selected items.

v-item-group/prop-selected-class.vue

Mandatory

mandatory item groups must have at least 1 item selected.

v-item-group/prop-mandatory.vue

Multiple

Item groups can have multiple items selected.

v-item-group/prop-multiple.vue

Misc

Chips

Easily hook up a custom chip group.

v-item-group/misc-chips.vue

Selection

Icons can be used as toggle buttons when they allow selection, or deselection, of a single choice, such as marking an item as a favorite.

v-item-group/misc-selection.vue

Ready for more?

Continue your learning with related content selected by the Team or move between pages by using the navigation links below.