{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "tabs", "title": "Tabs", "description": "Keyboard-friendly related view switching.", "registryDependencies": [ "@manner/manner-theme" ], "files": [ { "path": "registry/manner/ui/tabs.tsx", "content": "\"use client\";\n\nimport * as React from \"react\";\ntype Item = { value: string; label: string; content: React.ReactNode };\nexport function Tabs({ items, defaultValue }: { items: Item[]; defaultValue?: string }) {\n const [value, setValue] = React.useState(defaultValue ?? items[0]?.value);\n const index = items.findIndex((item) => item.value === value);\n return