# Beste UI

> Beautiful, accessible blocks, pieces and components for shadcn/ui and Tailwind CSS, built for React and Next.js. Install one with the shadcn CLI and the code is yours to edit: no runtime dependency, nothing to upgrade.

Markdown rendition of https://ui.beste.co/piece/nav4. Every page on the site has one: add `.md` to any address, or send `Accept: text/markdown`.

Whole catalog for LLMs: https://ui.beste.co/llms.txt. Registry index: https://ui.beste.co/r/registry.json

---
1. /
2. [Pieces](/pieces)
3. /
4. [Nav](/pieces/nav)
5. /
6. Underline Tabs

# Underline Tabs

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

OverviewAnalyticsAudienceSettings

CLICode

Base UI

![](https://oud.pics/sm/l/npm.svg)`npx shadcn add https://ui.beste.co/piece/r-base/nav4`

New here? Read the [installation guide](/docs/installation).

Import & useCopy

```
import { Nav4 } from "@/components/beste/piece/nav4";

<Nav4
  tabs={[
    "Overview",
    "Analytics",
    "Audience",
    "Settings"
  ]}
  activeIndex={1}
/>
```

## More Nav pieces

[View all Nav](/pieces/nav)

[](/piece/nav6)

GeneralBillingTeamAPI

### Enclosed Tabs

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

[](/piece/nav11)

Inbox12Assigned4MentionsArchive

### Counted Tabs

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

[](/piece/nav7)

NotificationsBillingSecurityPreferences

### Vertical Tabs

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

[](/piece/nav5)

DayWeekMonthYear

### Pill Tabs

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

[](/piece/nav19)

HomeSearch3InboxProfile

### Bottom Nav

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

[](/piece/nav22)

On this page

OverviewInstallationUsageAPI referenceTroubleshooting

### Anchor Nav

Docs-style on-this-page list with left borders and a primary active rail on the current section.

## Ship the interface, keep the code.

New blocks, pieces and components every week. Install one with a command and it is yours to edit. No runtime dependency, no upgrade path to fight.

[Browse the libraryBrowse the library](/blocks)[See pricingSee pricing](/pricing)

### Library

* [Blocks](/blocks)
* [Pages](/pages)
* [Pieces](/pieces)
* [Components](/components)
* [Search](/search)

### Learn

* [Docs](/docs)
* [AI & MCP](/docs/mcp)
* [Blog](/blog)
* [Free tools](/tools)
* [What's new?](/changelog)
* [Website Builder](https://beste.co)

### More

* [Pricing](/pricing)
* [Referrals](/referrals)
* [License](/license)
* [GitHub](https://github.com/beste-co/beste-ui)

### Shadcn Blocks

* [Shadcn Hero Blocks](/blocks/hero)
* [Shadcn Feature Blocks](/blocks/feature)
* [Shadcn Pricing Blocks](/blocks/pricing)
* [Shadcn CTA Blocks](/blocks/cta)
* [Shadcn FAQ Blocks](/blocks/faq)
* [Shadcn About Blocks](/blocks/about)
* [Shadcn Stats Blocks](/blocks/stats)
* [Shadcn Footer Blocks](/blocks/footer)
* [Shadcn Navigation Blocks](/blocks/navigation)
* [Shadcn Auth Blocks](/blocks/auth)
* [Shadcn Ecommerce Blocks](/blocks/ecommerce)
* [Shadcn Portfolio Blocks](/blocks/portfolio)
* [Shadcn Showcase Blocks](/blocks/showcase)
* [Shadcn Careers Blocks](/blocks/careers)
* [Shadcn Onboarding Blocks](/blocks/onboarding)
* [Shadcn Coming Soon Blocks](/blocks/coming-soon)
* [Shadcn Post Blocks](/blocks/post)
* [Shadcn Legal Blocks](/blocks/legal)
* [Shadcn Workflow Blocks](/blocks/workflow)
* [Shadcn News Blocks](/blocks/news)

© 2026, [Beste](https://beste.co). All rights reserved.