Icon Tabs

Segmented icon tabs inside a bordered tray, where the active tab flips to the foreground color.

New here? Read the installation guide.

Import & use
import { Nav12 } from "@/components/beste/piece/nav12";

<Nav12
  tabs={[
    {
      "label": "Preview",
      "icon": "preview"
    },
    {
      "label": "Code",
      "icon": "code"
    },
    {
      "label": "Readme",
      "icon": "docs"
    },
    {
      "label": "Settings",
      "icon": "settings"
    }
  ]}
  activeIndex={0}
/>

More Nav pieces

View all Nav

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.

Bottom Nav

Mobile tab bar with labeled icons, a raised center create button, and a rose unread counter badge.

Underline Tabs

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

Icon Breadcrumb

Breadcrumb where each crumb wears a home or folder icon chip and the final crumb has a muted fill.

Workspace
Admin

Sidebar Nav

Grouped sidebar menu with section labels, icon rows, optional counters, and a muted active state.

Markdown version