Skip to content

DisplayChipGroup ​

A group of chips that share a selection, one or several.

ts
import { DisplayChipGroup } from '@zairakai/vue-components/Display'

Usage ​

vue
<DisplayChipGroup />

Example ​

Selected: vue

vue
<script setup>
  import { ref } from 'vue'

  const selected = ref(['vue'])
</script>

<template>
  <DisplayChipGroup
    v-model="selected"
    label="Frameworks"
  >
    <DisplayChip value="vue">Vue</DisplayChip>
    <DisplayChip value="svelte">Svelte</DisplayChip>
    <DisplayChip value="solid">Solid</DisplayChip>
  </DisplayChipGroup>
  <p>Selected: {{ selected.join(', ') || 'none' }}</p>
</template>

Props ​

NameTypeDefaultDescription
idstring
classstring
modelValuearrayundefinedThe values of the chips that are chosen.
multiplebooleantrueOne chip at a time, or several.
labelstring

Events ​

NameDescription
update:modelValue

Slots ​

NameDescription
default

See Theming for the class hooks and the data-* state of the components.

Documentation of 1.4.4 , built from 8e9b054 on 1.4.4 by pipeline #2989941079 on 2026-10-26.