Pill Tabs

About this piece

Pill Tabs

Rounded segmented tabs riding a muted track, with a raised card sliding under the active label.

Usage

The import and the props worth knowing about, in one place.

import { Nav5 } from "@/components/beste/piece/nav5";

<Nav5
  tabs={[
    "Day",
    "Week",
    "Month",
    "Year"
  ]}
  activeIndex={2}
/>

More Nav pieces

View all Nav

Tab Bar Pill

Four-tab navigation pill that expands the active tab to show its label, with a count badge on alerts.

12 open projects, 3 due this week

Sliding Tabs

Segmented tab bar whose active pill glides from tab to tab on a timer while the summary line beneath cross-fades to match.

Counted Tabs

Underline tabs that print a pill count next to the label, with the active count filled in primary.

Underline Tabs

Horizontal tabs with a thin bottom rail and a primary underline under the active label.

Vertical Tabs

Sidebar-style stack of icon + label rows where the active row gets a muted fill and bolder text.

Enclosed Tabs

Classic folder-style tabs that sit on a rail, with the active tab bordered and notched into the panel.