Skip to contentFacade Pro is $149 once during launch, then $199. Lifetime updates.
Facade
Browse the library

Components / Feedback

Announcement bar

Free

Slim top bar that rotates promo messages with a link and collapses smoothly when dismissed.

View as Markdownlucide-reactmotion

Installation

$npx shadcn@latest add https://facadeui.com/r/announcement-bar.json

Usage

import { AnnouncementBar } from "@/components/facade/announcement-bar";

export default function Page() {
  return <AnnouncementBar />;
}

Props

AnnouncementBarProps is exported, so you can extend or wrap it. Every prop has a default; <AnnouncementBar /> renders the example above.

Props of AnnouncementBar
PropTypeDescription
messagesAnnouncement[]Messages to rotate through. Defaults to a small local-business example set.
intervalnumberMilliseconds per message.
dismissibleboolean
onDismiss() => voidCalled after the bar has collapsed.
tone"brand" | "dark" | "subtle"Visual style.
classNamestring

Ask your agent

With the Facade MCP server connected, this prompt is enough:

Add the Facade announcement bar to this page and adapt the copy to our business.