Skip to main content
Urbicon UI

Tab

Tabbed navigation for organizing content into switchable panels. Supports four visual variants, vertical orientation, icons, badges, and full keyboard navigation.

Account Settings

Manage your profile, email preferences, and security options.

Loading...
Loading syntax highlighting...

01 Examples

Variants

Four visual styles for different UI contexts.

Line

Animated underline indicator tracks the active tab.

Pills

Segmented-control feel with a subtle background.

Enclosed

Classic browser-tab pattern with bordered tabs.

Solid

Bold primary fill on the active tab.

Loading...
Loading syntax highlighting...

Sizes

Small

Compact for toolbars and dense UIs.

Medium

Default size for most use cases.

Large

For hero sections and spacious layouts.

Loading...
Loading syntax highlighting...

Vertical Orientation

Sidebar-style navigation for settings pages and multi-section forms.

Settings

Profile

Update your display name, avatar, and bio. These details are visible to other team members.

Loading...
Loading syntax highlighting...

Icons & Badges

Leading icons for visual scanning, trailing badges for status indicators.
S

Sarah Chen

Q4 Revenue Report

2m ago
D

DevOps Bot

Deploy #1847 succeeded

15m ago
A

Alex Rivera

Design review feedback

1h ago
Loading...
Loading syntax highlighting...

Full Width

Tabs stretch equally across the container — useful for mobile layouts and modal headers.
$29 /month
Loading...
Loading syntax highlighting...

Disabled Tabs

Globally disabled via the Tab prop, or per-tab on individual TabItems.

All disabled

All interaction is disabled.

Single tab disabled

This tab is active and interactive.

Loading...
Loading syntax highlighting...

02 Micro-Interactions

Scale

Subtle scale on hover for playful UI.

Hover over the tabs to see the scale effect.

Loading...
Loading syntax highlighting...

Glow

Soft glow aura around the tab container.

The container gets a soft glow on interaction.

Loading...
Loading syntax highlighting...

03 Customization

slotClasses Override

Style individual slots — list background, panel padding, trigger rounding.

Custom rounded triggers inside a tinted pill container.

Loading...
Loading syntax highlighting...

Glassmorphism (unstyled)

Fully custom glass-effect tabs using unstyled mode.
Frosted glass panels with gradient backdrop. The data-[state=active] selector drives the active styling.
Loading...
Loading syntax highlighting...

Terminal (unstyled)

Monospace hacker aesthetic built entirely with class overrides.

$ bun run build

✓ 247 modules transformed.

✓ built in 1.23s

Process exited with code 0

Loading...
Loading syntax highlighting...

04 Accessibility

Built-in ARIA

Uses role="tablist" on the tab strip, role="tab" on each trigger, and role="tabpanel" on content panels. aria-selected and aria-controls / aria-labelledby link tabs to their panels.

Keyboard Navigation

Arrow Left / Arrow Right cycle through horizontal tabs. Arrow Up / Arrow Down for vertical orientation. Home / End jump to first/last tab. Tab moves focus into and out of the tab strip.

Focus Management

Only the active tab has tabindex="0". Arrow keys move focus and activate the tab (automatic activation pattern). Focus rings use focus-visible: so they never show on mouse clicks.

Reduced Motion

The sliding indicator and Mint effects respect prefers-reduced-motion. Transitions are shortened or removed when the user has requested less motion.

05 API Reference

16 props
16 props

No matching properties

No matching properties

06 Installation

Import

Loading...
Loading syntax highlighting...