# 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/nav22. 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. Anchor Nav

# Anchor Nav

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

On this page

OverviewInstallationUsageAPI referenceTroubleshooting

CLICode

Base UI

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

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

Import & useCopy

```
import { Nav22 } from "@/components/beste/piece/nav22";

<Nav22
  title="On this page"
  links={[
    {
      "label": "Overview",
      "anchor": "#overview"
    },
    {
      "label": "Installation",
      "anchor": "#installation",
      "active": true
    },
    {
      "label": "Usage",
      "anchor": "#usage"
    },
    {
      "label": "API reference",
      "anchor": "#api"
    },
    {
      "label": "Troubleshooting",
      "anchor": "#trouble"
    }
  ]}
/>
```

## More Nav pieces

[View all Nav](/pieces/nav)

[](/piece/nav4)

OverviewAnalyticsAudienceSettings

### Underline Tabs

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

[](/piece/nav33)

1234…8

### Pagination

Numbered pagination with prev/next arrows and ellipses for long ranges. Active page flips to foreground.

[](/piece/nav15)

1…345…12

### Pagination

Numbered pagination with prev/next chevrons, ellipsis truncation, and a filled primary active tile.

[](/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/nav14)

WorkspaceHomeProjects4Team

AdminAnalyticsSettings

### Sidebar Nav

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

[](/piece/nav7)

NotificationsBillingSecurityPreferences

### Vertical Tabs

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

## 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.