brijr/ui

Lab

Tabs

npx shadcn@latest add @brijr/tabs

Selection

Click a tab to watch the indicator slide to it.

Language, time zone and the page you start on.

defaultValue="general"

Calendar and chat apps that send you reminders.

defaultValue="integrations"
two tabs
one tab

Disabled

A disabled tab stays focusable but cannot be selected.

Language, time zone and the page you start on.

disabled tab

Language, time zone and the page you start on.

every tab disabled

Icons

icon + text
icon only · aria-label

Orientation

orientation="vertical" switches the arrow keys to Up and Down. The list becomes a column and the root lays it out beside the panels, with no extra classes.

Passkeys, signed-in sessions and recovery codes.

horizontal

Passkeys, signed-in sessions and recovery codes.

vertical

Wren Takahashi replied to your message about the launch.

vertical · icons

Indicator

TabsList renders the sliding marker through its indicator prop. Pass your own TabsIndicator, or null to leave it out.

default
indicator={<TabsIndicator className="top-auto bottom-0.5 h-0.5" />}
indicator={null}

Width

Passkeys, signed-in sessions and recovery codes.

TabsList w-full · tabs share the width
many tabs · w-80 parent with overflow-x-auto

Content

These terms apply to every workspace on the Team and Enterprise plans. By creating a workspace you agree to them on behalf of your organisation.

We may update these terms with 30 days notice. Changes that reduce your rights only apply once you accept them, or at your next renewal.

long panel