Skip to content

Tag Group

A flex container for grouping multiple Tag components with consistent spacing and alignment.

Basic

Tailwind v4
vue
<TagGroup>
  <Tag text="Vue 3" color="green" />
  <Tag text="TypeScript" color="blue" />
  <Tag text="Tailwind" color="teal" />
  <Tag text="Vite" color="purple" />
</TagGroup>

Alignment end

Use alignment="end" to push the tags to the right side of their container.

Tailwind v4
vue
<TagGroup alignment="end">
  <Tag text="Frontend" color="blue" />
  <Tag text="Design" color="purple" />
  <Tag text="API" color="teal" />
  <Tag text="Critical" color="red" />
</TagGroup>

Props

PropTypeDefaultDescription
alignment'start' | 'end''start'Horizontal alignment of tags within the group

Slots

SlotDescription
defaultOne or more Tag components

Private — Jetpack Labs internal use only