{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/tabs-14","type":"registry:component","title":"Tabs 14","description":"Overflow tabs with scrollable area for handling many tab items","registryDependencies":["scroll-area","tabs"],"files":[{"path":"src/registry/new-york/components/tabs/tabs-14.tsx","content":"import { ScrollArea, ScrollBar } from '@/registry/new-york/ui/scroll-area'\nimport { Tabs, TabsContent, TabsList, TabsTrigger } from '@/registry/new-york/ui/tabs'\n\nconst tabs = [\n  {\n    name: 'Explore',\n    value: 'explore',\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    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    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    name: 'Trending',\n    value: 'trending',\n    content: (\n      <>\n        Stay on top of what&apos;s <span className='text-foreground font-semibold'>trending</span>. Discover what\n        everyone&apos;s talking about, from viral trends to the latest memes and conversations.\n      </>\n    )\n  },\n  {\n    name: 'Events',\n    value: 'events',\n    content: (\n      <>\n        Check out upcoming <span className='text-foreground font-semibold'>events</span> happening near you. Whether\n        virtual or in-person, there&apos;s always something to join and be a part of.\n      </>\n    )\n  },\n  {\n    name: 'News',\n    value: 'news',\n    content: (\n      <>\n        Stay updated with the latest <span className='text-foreground font-semibold'>news</span> across the globe. From\n        tech breakthroughs to world events, get the stories that matter most.\n      </>\n    )\n  },\n  {\n    name: 'Community',\n    value: 'community',\n    content: (\n      <>\n        Connect with the <span className='text-foreground font-semibold'>community</span> - share your thoughts, ask\n        questions, and join discussions with like-minded individuals.\n      </>\n    )\n  },\n  {\n    name: 'Rewards',\n    value: 'rewards',\n    content: (\n      <>\n        Unlock exclusive <span className='text-foreground font-semibold'>rewards</span> and perks for your activity.\n        Keep an eye out for new ways to earn and redeem your points.\n      </>\n    )\n  },\n  {\n    name: 'Profile',\n    value: 'profile',\n    content: (\n      <>\n        View and edit your <span className='text-foreground font-semibold'>profile</span> information, track your\n        activity, and customize your experience. It&apos;s all about you here!\n      </>\n    )\n  }\n]\n\nconst TabsOverflowDemo = () => {\n  return (\n    <div className='w-full max-w-md'>\n      <Tabs defaultValue='explore' className='gap-1'>\n        <ScrollArea>\n          <TabsList className='mb-3'>\n            {tabs.map(tab => (\n              <TabsTrigger key={tab.value} value={tab.value}>\n                {tab.name}\n              </TabsTrigger>\n            ))}\n          </TabsList>\n          <ScrollBar orientation='horizontal' />\n        </ScrollArea>\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 TabsOverflowDemo\n","type":"registry:component","target":"components/shadcn-studio/tabs/tabs-14.tsx"}]}