Files
nanocode/RetroUI/public/r/tab-style-default.json
Ubuntu 32b43f85bd a
2026-07-03 16:58:28 +08:00

17 lines
1.1 KiB
JSON

{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "tab-style-default",
"type": "registry:block",
"title": "tab-style-default",
"registryDependencies": [
"https://retroui.dev/r/tab.json"
],
"files": [
{
"path": "preview/components/tab-style-default.tsx",
"content": "import { Tabs, TabsPanels, TabsTrigger, TabsContent, TabsTriggerList } from \"@/components/retroui/Tab\";\n\nexport default function TabStyleDefault() {\n return (\n <Tabs>\n <TabsTriggerList>\n <TabsTrigger>Home</TabsTrigger>\n <TabsTrigger>About</TabsTrigger>\n <TabsTrigger>Contact</TabsTrigger>\n </TabsTriggerList>\n <TabsPanels>\n <TabsContent>\n Welcome to RetroUI, a retro styled UI library built with React,\n Tailwind CSS & Headless UI.\n </TabsContent>\n <TabsContent>This is the about section!</TabsContent>\n <TabsContent>And, this is the contact section!</TabsContent>\n </TabsPanels>\n </Tabs>\n );\n}\n",
"type": "registry:block",
"target": "components/retroui/preview/tab-style-default.tsx"
}
]
}