{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "feature-flags",
  "type": "registry:component",
  "title": "Feature flags",
  "description": "A feature flag settings list that pairs each flag key in monospace with a labelled switch. Drop it into admin or developer settings to toggle rollouts.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.minidev.pro/r/label.json",
    "https://ui.minidev.pro/r/page-header.json",
    "https://ui.minidev.pro/r/switch.json"
  ],
  "files": [
    {
      "path": "registry/blocks/feature-flags.tsx",
      "type": "registry:ui",
      "target": "components/ui/feature-flags.tsx",
      "content": "\"use client\"\nimport { PageHeader } from \"@/components/ui/page-header\"\nimport { Switch } from \"@/components/ui/switch\"\nimport { Label } from \"@/components/ui/label\"\nfunction FeatureFlags() {\n  return (\n    <div data-slot=\"feature-flags\" className=\"space-y-4\">\n      <PageHeader title=\"Feature flags\" />\n      <div className=\"space-y-3 rounded-xl border border-border p-4\">\n        {[\"ai-chat\", \"billing-v2\", \"new-gallery\"].map((flag) => (\n          <div key={flag} className=\"flex items-center justify-between\">\n            <Label htmlFor={flag} className=\"font-mono text-xs\">\n              {flag}\n            </Label>\n            <Switch id={flag} defaultChecked={flag !== \"billing-v2\"} />\n          </div>\n        ))}\n      </div>\n    </div>\n  )\n}\nexport { FeatureFlags }\n"
    }
  ]
}
