# Portfolio Navbar: Announcement Bar Nav

A header topped by an inverse announcement strip with a booking note, inline arrow link, and dismiss button, above the name mark and page links.

- Page: https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/announcement-bar-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/announcement-bar-nav.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/portfolio-pro-navbars-announcement-bar-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/announcement-bar-nav`

## About this block

Announcement Bar Nav stacks a slim strip above the main
header on an inverse background: a centred note reading Two
project slots open for autumn 2026, an inline Start a
project link with a small arrow, and a dismiss button
pinned to the right. The main row below carries the name
mark Avery Stone and four page links.

The strip uses the primary colour for its background and
foreground, so it stands apart from the header without a
border. Nav links are one typed array; the strip is fixed
markup a visitor can close with the X button.

## When to use

Reach for this block when the portfolio has something time
sensitive to surface above everything else, a booking
window, a new release, or a limited offer, without pushing
it into the page body. The installer swaps the strip copy,
the link, and the nav labels.

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)
- [Availability and booking](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/availability-sections)

## What you can display

One strong use is the freelancer announcing open project
slots. Other strip uses:

- **New work.** Announce a just-published case study and
  link straight to it.
- **Speaking.** A talk or workshop date with a link to the
  event page.
- **Shop drop.** A limited print release with the strip
  pointing at the store.

> Tip: keep the strip to a single short line; it shares the
> row with the link and the dismiss button, and long copy
> truncates before it reads on mobile.

## More in Portfolio Navbars

- [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)
- [Underline Tabs Nav](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/underline-tabs-nav)
- [Wide Nav](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/navbars/wide-nav)
