Tabs with badge counts
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.
Best for: Mail folders on an underlined row, with tinted count badges on Inbox, Drafts and Spam and none on Sent
When to use
- Account, password and settings forms split into panels so only one shows at a time
- Side navigation inside a page, with sections stacked in a column beside the open panel
- Views of one surface, such as dashboard sections, mail folders or visitor stats by period
When not to use
- Sections in a side column, each led by an icon and some carrying a count: use the Tabs Side List Icons example
- A finished account settings page with workspace, team and billing sections built in: use the Profile blocks
- A metric card whose period switch redraws a plotted trend: use the Line Chart blocks
- A project header with a breadcrumb on top and a row of sections with avatars below: use the Navbar blocks
Agent notes
- The 12, 3 and 24 counts are literals in each
Badgeand again in the panel text; derive both from your data - Only the active
TabsContentrenders in either twin, so other panels ship no server HTML and lose typed values on a switch - Arrow keys only move focus across
TabsTriggeritems on the base twin, where Enter or Space selects; radix selects on focus
https://reui.io/components/tabs/c-tabs-7.mdget_example("c-tabs-7")npx shadcn@latest add @reui/c-tabs-7About Shadcn Tabs Badge Counts
Tabs with badge counts. Built by composing Badge, Card, Tabs. A free, open source shadcn tabs example you can install with npx shadcn@latest add @reui/c-tabs-7 and edit as your own code.
What You Can Build With Shadcn Tabs Badge Counts
- Composes Badge, Card, Tabs, so it drops into any project already using those components.
- Install it with the shadcn CLI: npx shadcn@latest add @reui/c-tabs-7
- Open source and free, with the full source on this page to copy or adapt.
More Shadcn Tabs Examples
- Basic Basic tabs.
- Line Variant Tabs with line variant.
- Vertical Tabs with vertical orientation.
- Vertical Line Tabs with vertical orientation and line variant.
- Icons Tabs with icons.
- Full Width Icons Tabs with icons
- Side List Icons Tabs with icons and line variant
- Segmented Control Segmented control tabs
Related Shadcn Component Categories
Open-source shadcn textarea components for comments, long-form input, and support tickets.
Open-source shadcn time picker components for booking forms, opening hours, and shift scheduling.
Open-source shadcn timeline components for activity feeds, roadmaps, and event history.
Open-source shadcn toggle components for formatting controls, compact actions, and binary UI states.
Open-source shadcn toggle group components for view switches, toolbar options, and mutually exclusive actions.
Open-source shadcn tooltip components for inline hints, contextual guidance, and helper text.
Frequently Asked Questions
When should I use Shadcn Tabs Badge Counts?
Use it for mail folders on an underlined row, with tinted count badges on Inbox, Drafts and Spam and none on Sent.
Shadcn Tabs as a whole fits:
- Account, password and settings forms split into panels so only one shows at a time
- Side navigation inside a page, with sections stacked in a column beside the open panel
- Views of one surface, such as dashboard sections, mail folders or visitor stats by period
For sections in a side column, each led by an icon and some carrying a count, use the Tabs Side List Icons example. For a finished account settings page with workspace, team and billing sections built in, use the Profile blocks. For a metric card whose period switch redraws a plotted trend, use the Line Chart blocks. For a project header with a breadcrumb on top and a row of sections with avatars below, use the Navbar blocks.
How do I install Shadcn Tabs Badge Counts?
Is Shadcn Tabs Badge Counts free to use?
Which components does Shadcn Tabs Badge Counts use?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.