{
  "$schema": "https://next.0build.dev/schema/component.v1.json",
  "accessibility": {
    "aria": [],
    "notes": []
  },
  "attributes": [],
  "category": "content",
  "children": [],
  "cssClasses": [
    {
      "appliesTo": ".z-tag",
      "class": ".z-tag",
      "description": "Root class of the tag chip.",
      "role": "root"
    },
    {
      "appliesTo": ".z-tag",
      "class": ".z-tag-danger",
      "description": "Danger color variant.",
      "role": "modifier"
    },
    {
      "appliesTo": ".z-tag",
      "class": ".z-tag-info",
      "description": "Info color variant.",
      "role": "modifier"
    },
    {
      "appliesTo": ".z-tag",
      "class": ".z-tag-muted",
      "description": "Muted color variant.",
      "role": "modifier"
    },
    {
      "appliesTo": ".z-tag",
      "class": ".z-tag-primary",
      "description": "Primary color variant.",
      "role": "modifier"
    },
    {
      "appliesTo": ".z-tag",
      "class": ".z-tag-secondary",
      "description": "Secondary color variant.",
      "role": "modifier"
    },
    {
      "appliesTo": ".z-tag",
      "class": ".z-tag-success",
      "description": "Success color variant.",
      "role": "modifier"
    },
    {
      "appliesTo": ".z-tag",
      "class": ".z-tag-warning",
      "description": "Warning color variant.",
      "role": "modifier"
    }
  ],
  "cssVars": [
    {
      "affects": [
        "background-color"
      ],
      "default": "transparent",
      "description": "Background base color, mixed with transparency using `--z-tag-bg-o`.",
      "file": "src/css/kit-components/tag.css",
      "kind": "base",
      "name": "--z-tag-bg",
      "scope": ".z-tag",
      "syntax": "<color>"
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "0%",
      "description": "Background opacity percentage used in the mix.",
      "file": "src/css/kit-components/tag.css",
      "kind": "base",
      "name": "--z-tag-bg-o",
      "scope": ".z-tag",
      "syntax": "<percentage>"
    },
    {
      "affects": [
        "color"
      ],
      "default": "var(--z-bg-f)",
      "description": "Text base color, mixed with transparency using `--z-tag-color-o`.",
      "file": "src/css/kit-components/tag.css",
      "kind": "base",
      "name": "--z-tag-color",
      "scope": ".z-tag",
      "syntax": "<color>"
    },
    {
      "affects": [
        "color"
      ],
      "default": "100%",
      "description": "Text opacity percentage used in the mix.",
      "file": "src/css/kit-components/tag.css",
      "kind": "base",
      "name": "--z-tag-color-o",
      "scope": ".z-tag",
      "syntax": "<percentage>"
    },
    {
      "affects": [
        "font-size"
      ],
      "default": "var(--z-global-font-size-small)",
      "description": "Font size of the tag text.",
      "file": "src/css/kit-components/tag.css",
      "kind": "base",
      "name": "--z-tag-font-size",
      "scope": ".z-tag",
      "syntax": "<length>"
    },
    {
      "affects": [
        "gap"
      ],
      "default": "0.5rem",
      "description": "Gap between tag content (text, icons, remove button).",
      "file": "src/css/kit-components/tag.css",
      "kind": "base",
      "name": "--z-tag-gap",
      "scope": ".z-tag",
      "syntax": "<length>"
    },
    {
      "affects": [
        "min-height"
      ],
      "default": "1.75rem",
      "description": "Minimum height of the tag.",
      "file": "src/css/kit-components/tag.css",
      "kind": "base",
      "name": "--z-tag-height",
      "scope": ".z-tag",
      "syntax": "<length>"
    },
    {
      "affects": [
        "transition-duration"
      ],
      "default": "150ms",
      "description": "Duration of the hover transition.",
      "file": "src/css/kit-components/tag.css",
      "kind": "base",
      "name": "--z-tag-hover-duration",
      "scope": ".z-tag",
      "syntax": "<time>"
    },
    {
      "affects": [
        "opacity"
      ],
      "default": "0.8",
      "description": "Opacity applied while hovered.",
      "file": "src/css/kit-components/tag.css",
      "kind": "base",
      "name": "--z-tag-hover-opacity",
      "scope": ".z-tag",
      "syntax": "<number>"
    },
    {
      "affects": [
        "line-height"
      ],
      "default": "var(--z-global-line-height-small)",
      "description": "Line height of the tag text.",
      "file": "src/css/kit-components/tag.css",
      "kind": "base",
      "name": "--z-tag-line-height",
      "scope": ".z-tag",
      "syntax": "<length>"
    },
    {
      "affects": [
        "padding"
      ],
      "default": "0.25rem 0.5rem",
      "description": "Inner padding of the tag.",
      "file": "src/css/kit-components/tag.css",
      "kind": "base",
      "name": "--z-tag-padding",
      "scope": ".z-tag",
      "syntax": "<length>"
    },
    {
      "affects": [
        "border-radius"
      ],
      "default": "var(--z-global-radius-small)",
      "description": "Corner radius of the tag.",
      "file": "src/css/kit-components/tag.css",
      "kind": "base",
      "name": "--z-tag-radius",
      "scope": ".z-tag",
      "syntax": "<length>"
    }
  ],
  "dataHooks": [],
  "events": [],
  "i18n": [],
  "icons": [],
  "id": "tag",
  "inherits": [],
  "keyboard": [],
  "kind": "css",
  "methods": [],
  "notes": [
    "Tag is a CSS layer; `z-input-tag` renders its chips with `.z-tag z-tag-secondary` by default."
  ],
  "parts": {
    "defaultClsTarget": null,
    "defaultStlTarget": null,
    "items": []
  },
  "recipes": [],
  "related": [
    "input-tag",
    "badge"
  ],
  "schemaVersion": 1,
  "sources": {
    "css": [
      "src/css/kit-components/tag.css"
    ],
    "cssSelectors": [
      ".z-tag",
      ".z-tag-*"
    ],
    "ts": null
  },
  "summary": "Compact label chips with status color variants, used standalone or inside the tag input.",
  "tag": null,
  "title": "Tag"
}
