Skip to content

Chip Group

Last updated 11 Nov 2026

NbChipGroup is one choice drawn as a row of chips: a scope or a filter that sits beside what it narrows, such as "All products" or a single product above a search field.

Usage ​

vue
<script setup lang="ts">
import { ref } from 'vue'

const scope = ref('all')
const scopes = [
  { value: 'all', label: 'All products' },
  { value: 'docs', label: 'Docs' },
  { value: 'guides', label: 'Guides' },
  { value: 'api', label: 'API' },
]
</script>

<template>
  <NbChipGroup
    v-model="scope"
    :items="scopes"
    label="Limit search to a product"
  />
</template>

Sizes ​

md is 32px tall and sits under a field. sm is 24px, for a dense toolbar or a panel header.

Props ​

PropTypeDefaultDescription
modelValuestring | number | nullnullThe chosen chip's value. Supports v-model.
itemsIChipGroupItem[]The chips, in order.
labelstringThe group's accessible name. Required.
size'sm' | 'md''md'24px or 32px tall.

IChipGroupItem ​

FieldTypeDescription
valuestring | numberWhat v-model carries.
labelstringThe chip's text.
iconTIconSourceA 16px icon before the label.
disabledbooleanShown, but cannot be chosen.

Events ​

EventPayloadDescription
update:modelValuestring | numberA different chip was chosen.
changestring | numberSame moment, for a group not bound with v-model.