TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/gsinghjay/astro-shadcn-sanity/llms.txt
Use this file to discover all available pages before exploring further.
AnnouncementBar block renders a full-width banner for time-sensitive notices — application deadlines, event announcements, or program updates. It supports an icon, linked text, and a dismiss button.
Props
Icon name from the Iconify/Lucide set. Rendered before the announcement text.
The announcement message text.
Optional link appended to the announcement. Object with:
label(string) — link display texthref(string) — destination URL
When
true, a close (×) button appears and the bar can be dismissed by the visitor. Defaults to false.Usage in Sanity Studio
- Add an Announcement Bar block near the top of a page.
- Enter the Text (required).
- Optionally set an Icon name, a Link, and toggle Dismissible.