# Portfolio Navbar: Underline Tabs Nav

A header whose page links behave like full height tabs, the active one carrying a bottom border that sits flush against the header rule.

- Page: https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/underline-tabs-nav
- Collection: [Portfolio](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro), Standard tier
- Group: [Navbars](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars)
- Created: 2026-07-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/underline-tabs-nav.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/portfolio-pro-navbars-underline-tabs-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: lucide-react
- Installs to: `@/components/blocks/portfolio-pro/navbars/underline-tabs-nav`

## About this block

Underline Tabs Nav gives the header links the behaviour of
full height tabs: each link stretches the height of the
bar, and the active one (Work) carries a two pixel bottom
border that lands flush on the header rule, so the current
section reads at a glance without pills or dots.

The four links (Work, About, Journal, Contact) live in one
typed array, with the active flag driving the border. On
small screens the tab row hides and a menu button takes its
place, keeping the bar clean on mobile.

## When to use

Reach for this block at the top of a portfolio that wants
its navigation to double as a section indicator, the way a
documentation site or a multi-tab app does. The installer
swaps the name, the link labels, and the active flag to
match the current page.

A natural flow around it on a Portfolio Pro page:

**Before**

- Nothing, navbars open the page

**After**

- [Name and role hero](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/hero-sections)
- [Featured work grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids)

## What you can display

One strong use is the sectioned single-page portfolio where
the active tab tracks the scroll position. Other tab uses:

- **Case study site.** Tabs for Overview, Process, Outcome,
  and Next, active as the reader scrolls.
- **Studio.** Work, Studio, Approach, and Contact with the
  studio name in place of a person.
- **Writer.** Archive, Topics, and About, the underline
  marking the open view.

> Tip: the flush underline only reads as an indicator when
> the header keeps a visible bottom rule; drop the rule and
> the active tab loses its anchor.

## More in Portfolio Navbars

- [Announcement Bar Nav](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/announcement-bar-nav)
- [Centered Nav](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/centered-nav)
- [Compact Nav](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/compact-nav)
- [Divided Nav](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/divided-nav)
- [Logo Center Nav](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/logo-center-nav)
- [Mega Panel Nav](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/mega-panel-nav)
- [Minimal Name Navbar](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/minimal-name-navbar)
- [Name And Menu](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/name-and-menu)
- [Nav With Availability Dot](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/nav-with-availability-dot)
- [Nav With Cta](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/nav-with-cta)
- [Nav with Location and Time](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/nav-with-location-time)
- [Nav With Resume](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/nav-with-resume)
- [Nav With Socials](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/nav-with-socials)
- [Nav With Theme Toggle](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/nav-with-theme-toggle)
- [Numbered Nav](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/numbered-nav)
- [Pill Links Nav](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/pill-links-nav)
- [Side Rail Nav](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/side-rail-nav)
- [Sticky Minimal Nav](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/sticky-minimal-nav)
- [Transparent Nav](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/transparent-nav)
- [Two Row Nav](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/two-row-nav)
- [Wide Nav](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/wide-nav)
