# Application App Shell: Anchor Nav Shell

A full-page docs shell with a slim topbar, a column of anchored section cards, and a sticky On this page rail tracking the active section.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/anchor-nav-shell
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [App Shells](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)
- Created: 2026-07-10
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/anchor-nav-shell.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-app-shells-anchor-nav-shell
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: avatars, badge, button, kbd
- Installs to: `@/components/blocks/application-pro/app-shells/anchor-nav-shell`

## About this block

Anchor Nav Shell is the long-document frame: a slim
topbar carrying the Acme badge and four nav links
(Docs active), a wide content column of stacked
section cards, and a sticky right hand On this page
rail. The shipped page is a Security overview with
Authentication, Access control, Data retention, and
Audit logs sections, each an anchored card the rail
scrolls to. Data retention holds a definition list of
four rows keyed by data class.

Nav, anchors, and retention rows are three const
arrays; the rail marks the active anchor and every
section uses scroll-mt so a heading never hides under
the topbar when jumped to.

## When to use

Reach for this shell whenever a page runs long enough
that readers need a map: security and compliance
overviews, API references, changelog roll-ups, or a
dense policy page. Wire the anchors to your section
IDs, drive the active state from a scroll observer,
and replace the section cards with your own prose or
tables.

A natural flow around it on an Application Pro page:

**Before**

- Nothing, shells are the page

**After**

- [Settings pages](https://www.shadcn-ui-blocks.com/blocks/application-pro/settings-pages)
- [Help support](https://www.shadcn-ui-blocks.com/blocks/application-pro/help-support)

## What you can display

One strong use is the security overview. Other
anchored long-form pages:

- **API reference.** Endpoints as sections, the rail
  jumping between resources without a page load.
- **Release notes.** One version per section, the
  rail listing dates for quick scanning.
- **Legal policy.** Terms or privacy clauses as
  numbered sections the rail links to directly.

> Tip: the rail is hidden below lg on purpose; on
> narrow viewports surface the same anchors in a
> collapsible menu above the content instead.

## More in Application App Shells

- [Bottom Panel Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/bottom-panel-shell)
- [Breadcrumb Header Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/breadcrumb-header-shell)
- [Card Grid Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/card-grid-shell)
- [Centered Content Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/centered-content-shell)
- [Checklist Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/checklist-shell)
- [Collapsible Sidebar Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/collapsible-sidebar-shell)
- [Command Bar Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/command-bar-shell)
- [Dashboard Home Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/dashboard-home-shell)
- [Document Tabs Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/document-tabs-shell)
- [Dual Sidebar Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/dual-sidebar-shell)
- [Empty State Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/empty-state-shell)
- [Environment Banner Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/env-banner-shell)
- [Focus Mode Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/focus-mode-shell)
- [Full Bleed Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/full-bleed-shell)
- [Icon Sidebar Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/icon-sidebar-shell)
- [Inbox Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/inbox-shell)
- [Nested Nav Sidebar Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/nested-nav-sidebar-shell)
- [Right Rail Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/right-rail-shell)
- [Settings Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/settings-shell)
- [Sidebar Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/sidebar-shell)
- [Split Content Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/split-content-shell)
- [Sticky Toolbar Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/sticky-toolbar-shell)
- [Tabbed Page Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/tabbed-page-shell)
- [Topbar Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/topbar-shell)
- [Two Pane Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/two-pane-shell)
- [Wizard Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/wizard-shell)
