Dismissible announcement bar for the top of a page: start and centered variants, a background slot for art, a link that becomes a full-bar tap target on phones, and a dismiss button that hands focus onward.
npx shadcn@latest add @01orbital/banner
Loading the source for banner…
Files
—
banner
Configuration
Name
banner
Type
UI
Description
Dismissible announcement bar for the top of a page: start and centered variants, a background slot for art, a link that becomes a full-bar tap target on phones, and a dismiss button that hands focus onward.
Files
—
banner
Configuration
Name
banner
Type
UI
Description
Dismissible announcement bar for the top of a page: start and centered variants, a background slot for art, a link that becomes a full-bar tap target on phones, and a dismiss button that hands focus onward.