{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "tag",
  "type": "registry:component",
  "title": "Tag",
  "description": "Status labels are strips of washi tape. Removable tags peel off when you dismiss them.",
  "categories": [
    "display"
  ],
  "dependencies": [
    "@plop-ui/react",
    "@plop-ui/fonts"
  ],
  "registryDependencies": [
    "https://plopui.com/r/plop-setup.json"
  ],
  "files": [
    {
      "path": "registry/plopui/tag-example.tsx",
      "type": "registry:component",
      "target": "components/plop/tag-example.tsx",
      "content": "\"use client\";\n\nimport { useState } from \"react\";\nimport { Tag } from \"@plop-ui/react\";\n\n/** Tag: strips of washi tape for labels and filters. Removable ones peel off. */\nexport function TagExample() {\n  const [filters, setFilters] = useState([\"Doodles\", \"Zines\", \"Comics\"]);\n  return (\n    <>\n      <Tag tone=\"tomato\">Wild idea</Tag>\n      <Tag tone=\"mustard\" pattern=\"dots\">\n        In progress\n      </Tag>\n      {filters.map((f) => (\n        <Tag key={f} onRemove={() => setFilters((all) => all.filter((x) => x !== f))}>\n          {f}\n        </Tag>\n      ))}\n    </>\n  );\n}\n"
    }
  ],
  "docs": "Example: components/plop/tag-example.tsx. Docs: https://plopui.com/docs/components/tag"
}
