Skip to content

Announcement Bar

Slim banner above the header for launches and availability. Static, accent-filled or scrolling, with an optional close button that can be remembered.

Installation

pnpm dlx shadcn@latest add @portfolio-kit/announcement-bar
First time? Add the @portfolio-kit registry to components.json
components.json
{
  "registries": {
    "@portfolio-kit": "https://www.parthjadhav.com/products/portfolio-kit/r/{name}.json"
  }
}

Usage

Examples

Highlight

Fill the bar with the theme accent for time-sensitive messages, such as open booking slots.

Marquee

An inverted, scrolling ticker with a pause button. It also pauses on hover and while its link has focus, and stands still under reduced motion.

API Reference