Landing

LandingAnnouncementBar

Top notice with an optional chip (badge), an action, dismissal remembered in a cookie and an optional countdown (endsAt).

components/landing/LandingAnnouncementBar.vue
View in the demo

Example

November bookings are open - 2 spots left for new projectsBook a spot
Launch week: 30% off every planSee plans

Page widget: set announcement in the content.

API

Props

Name
Type
Default
Description
id
required
string—A unique id, used to remember the dismissal.
text
required
string—The main text.
badgestring—A small chip.
actionLandingAction—A LandingAction: label plus to or href, and kind.
tone"brand" | "muted""brand"brand or muted background.
ends-atstring—An ISO date for a countdown.
dismissiblebooleantrueShows the close button; the dismissal is remembered in a cookie.
© 2026 melsami UI.
Developer documentation for melsami UI.