---
url: "https://vueda.dev/v3/reference/theming/keys/TagsInputItem.md"
title: "TagsInputItem"
---

# TagsInputItem

Source: `client/lib/theme/vueda-tailwind/controls/index.js`

> An individual committed chip inside a [TagsInput.root](/v3/reference/theming/keys/TagsInput.md#theme-key-TagsInput-root). Pill radius (not the control / card radius the rest of the form family wears) marks the chip as a user-manipulated tag object rather than a slab-radius system badge or a chrome chit. Sized to `--vueda-chip-height` so multiple chips on a row share one baseline. `data-state=active` (set when the chip receives keyboard focus to edit or delete it) paints the standard focus ring on the chip, and the surrounding [TagsInput.root](/v3/reference/theming/keys/TagsInput.md#theme-key-TagsInput-root) suppresses its own ring on the same condition so only one ring paints at a time.

Vue component: [TagsInputItem](/v3/reference/api/vue/TagsInputItem.md)

| Slot | Default classes | Description |
| --- | --- | --- |
| [root](/v3/reference/theming/keys/TagsInputItem.md#theme-key-TagsInputItem-root) | `flex h-[var(--vueda-chip-height)] items-center rounded-vueda-pill bg-secondary data-[state=active]:focus-ring` | An individual committed chip inside a [TagsInput.root](/v3/reference/theming/keys/TagsInput.md#theme-key-TagsInput-root). Pill radius (not the control / card radius the rest of the form family wears) marks the chip as a user-manipulated tag object rather than a slab-radius system badge or a chrome chit. Sized to `--vueda-chip-height` so multiple chips on a row share one baseline. `data-state=active` (set when the chip receives keyboard focus to edit or delete it) paints the standard focus ring on the chip, and the surrounding [TagsInput.root](/v3/reference/theming/keys/TagsInput.md#theme-key-TagsInput-root) suppresses its own ring on the same condition so only one ring paints at a time. |

<a id="theme-key-TagsInputItem-root"></a>

## root

> An individual committed chip inside a [TagsInput.root](/v3/reference/theming/keys/TagsInput.md#theme-key-TagsInput-root). Pill radius (not the control / card radius the rest of the form family wears) marks the chip as a user-manipulated tag object rather than a slab-radius system badge or a chrome chit. Sized to `--vueda-chip-height` so multiple chips on a row share one baseline. `data-state=active` (set when the chip receives keyboard focus to edit or delete it) paints the standard focus ring on the chip, and the surrounding [TagsInput.root](/v3/reference/theming/keys/TagsInput.md#theme-key-TagsInput-root) suppresses its own ring on the same condition so only one ring paints at a time.

Default classes:

`flex h-[var(--vueda-chip-height)] items-center rounded-vueda-pill bg-secondary data-[state=active]:focus-ring`

Source: `client/lib/theme/vueda-tailwind/controls/TagsInputItem.theme.js:18`
