# Marketing Navbar: Pill Nav

A contained rounded pill header inset from the page edges with links and a rounded CTA.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars/pill-nav
- Collection: [Marketing](https://www.shadcn-ui-blocks.com/blocks/marketing-pro), Standard tier
- Group: [Navbars](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars)
- Created: 2026-06-15
- Preview image: https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars/pill-nav.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-pro-navbars-pill-nav
```

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: button, sheet
- Installs to: `@/components/blocks/marketing-pro/navbars/pill-nav`

## About this block

Pill Nav is a contained header rather than a full width bar. A rounded
bordered pill, inset from the top and side edges and capped at a
comfortable width, holds the logo, four links, and a rounded CTA, all
over a backdrop blur with a soft shadow. The pill sticks with a small
gap above it, so page content slides beneath while the header floats
in its own space.

The links are one array shared with the mobile sheet, every radius in
the pill is rounded full for consistency, and the logo chip is a
circle to match. Keep the link set short, the pill works because it
is compact, and the capped width is part of the design rather than a
constraint to fight.

## When to use

Reach for this block when the site has personality and the header
should too: portfolio adjacent SaaS, design tools, indie products, and
modern landing pages. It reads light and intentional where
[standard-sticky-nav](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars) reads
infrastructural. Skip it for dense sites, the capped width cannot
carry six links and two CTAs, and double-deck-nav serves that need.

A natural flow around it on a Marketing Pro page:

**Before**

- Nothing. This is the first block on the page.

**After**

- [Heroes](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections) with generous top
  padding so the pill has air to float in
- [Features](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/feature-sections) continuing the
  rounded, friendly register

## What you can display

One strong use is a design forward product with a four link
architecture. Other fits:

- **Indie SaaS.** Product, pricing, and changelog with a personable
  start free pill.
- **Creator tool.** Showcase, templates, and community links with the
  CTA opening the editor.
- **Studio site.** Work, services, and about with the CTA booking a
  call.

> Tip: pair the pill with heroes that center their copy, the
> symmetry keeps the floating bar from feeling detached.

## More in Marketing Navbars

- [Announcement Bar Nav](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars/announcement-bar-nav)
- [Bordered Grid Nav](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars/bordered-grid-nav)
- [Centered Links Nav](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars/centered-links-nav)
- [Compact Centered Nav](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars/compact-centered-nav)
- [Dark Nav](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars/dark-nav)
- [Double Deck Nav](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars/double-deck-nav)
- [Mega Menu Nav](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars/mega-menu-nav)
- [Minimal Nav With Search](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars/minimal-nav-with-search)
- [Nav With Announcement](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars/nav-with-announcement)
- [Navbar With Promo Banner](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars/navbar-with-promo-banner)
- [Phone CTA Nav](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars/phone-cta-nav)
- [Slim Glass Nav](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars/slim-glass-nav)
- [Split Logo Nav](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars/split-logo-nav)
- [Stacked Centered Nav](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars/stacked-centered-nav)
- [Standard Sticky Nav](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars/standard-sticky-nav)
- [Subnav Section Bar](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars/subnav-section-bar)
