Back to Components
Feedback

Announcement Banner

Dismissible banner with icon, message, and optional action button.

PropsUsage ExampleVariations

New workspace update is ready for review

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/announcement-banner.tsx

Installation

Using shadcn CLI

npx shadcn add announcement-banner --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge

Related Feedback Components