Tabs with a sliding underline, error marks per tab and panels that keep their edits.
Import it and pass your content. The props that matter most are listed next.
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/notchset/tabs";
export function Settings({ errors }: { errors: number }) {
return (
<Tabs defaultValue="general">
<TabsList aria-label="Project settings">
<TabsTrigger value="general" errors={errors}>General</TabsTrigger>
<TabsTrigger value="members">Members</TabsTrigger>
</TabsList>
<TabsContent value="general" keepMounted>General settings</TabsContent>
<TabsContent value="members">Members</TabsContent>
</Tabs>
);
}activation–
'automatic' | 'manual'Automatic: arrow keys select. Manual: arrows move focus; Enter or Space selects.
errors (TabsTrigger)–
numberMarks the tab with a signal dot and count, read out as errors.
keepMounted (TabsContent)–
booleanKeep the panel mounted so unsaved edits survive switching.
Tabsdata-slot="tabs"
Root; holds the value and activation mode.
TabsListdata-slot="tabs-list"
The bar and its underline.
TabsTriggerdata-slot="tabs-trigger"
A tab, with an optional error count.
TabsContentdata-slot="tabs-content"
A panel.
components/ui/notchset/tabs.tsx
pnpm dlx shadcn@latest add https://notchset.dev/r/tabs.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/radix-nova/tabs.jsonFree, no account or key. Use the command for your project's primitives: a radix-*, new-york or default style in components.json is Radix, a base-* style is Base UI. With the @notchset registry added, @notchset/<name> picks for you.
pnpm add @base-ui/react@^1The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v1.0.0 · 2026-10-04
First release