{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/tabs-06","type":"registry:component","title":"Tabs 6","description":"Tabs with badge count indicators showing numerical values for each tab","registryDependencies":["badge","tabs"],"files":[{"path":"src/registry/new-york/components/tabs/tabs-06.tsx","content":"import { Badge } from '@/registry/new-york/ui/badge'\nimport { Tabs, TabsContent, TabsList, TabsTrigger } from '@/registry/new-york/ui/tabs'\n\nconst tabs = [\n  {\n    name: 'Explore',\n    value: 'explore',\n    count: 8,\n    content: (\n      <>\n        Discover <span className='text-foreground font-semibold'>fresh ideas</span>, trending topics, and hidden gems\n        curated just for you. Start exploring and let your curiosity lead the way!\n      </>\n    )\n  },\n  {\n    name: 'Favorites',\n    value: 'favorites',\n    count: 3,\n    content: (\n      <>\n        All your <span className='text-foreground font-semibold'>favorites</span> are saved here. Revisit articles,\n        collections, and moments you love, any time you want a little inspiration.\n      </>\n    )\n  },\n  {\n    name: 'Surprise Me',\n    value: 'surprise',\n    count: 6,\n    content: (\n      <>\n        <span className='text-foreground font-semibold'>Surprise!</span> Here&apos;s something unexpected - a fun fact,\n        a quirky tip, or a daily challenge. Come back for a new surprise every day!\n      </>\n    )\n  }\n]\n\nconst TabsWithVerticalBadgeDemo = () => {\n  return (\n    <div className='w-full max-w-md'>\n      <Tabs defaultValue='explore' className='gap-4'>\n        <TabsList className='group-data-[orientation=horizontal]/tabs:h-fit'>\n          {tabs.map(tab => (\n            <TabsTrigger key={tab.value} value={tab.value} className='flex-col gap-1 px-2.5 sm:px-3'>\n              <Badge className='size-5 px-1 tabular-nums'>{tab.count}</Badge>\n              {tab.name}\n            </TabsTrigger>\n          ))}\n        </TabsList>\n\n        {tabs.map(tab => (\n          <TabsContent key={tab.value} value={tab.value}>\n            <p className='text-muted-foreground text-sm'>{tab.content}</p>\n          </TabsContent>\n        ))}\n      </Tabs>\n    </div>\n  )\n}\n\nexport default TabsWithVerticalBadgeDemo\n","type":"registry:component","target":"components/shadcn-studio/tabs/tabs-06.tsx"}]}