Announcement Bar
announcement_bar renders a compact bordered strip for important updates without taking over the page.
When to Use
Use it above or between sections for launches, limited-time notices, migration messages, or release updates.
Usage
{{ announcement_bar(label="New", text="Version 2 is available", href="/docs", link_text="Read docs") }}Live Example
New The landing shortcode library now includes production-ready proof, product, and conversion sections.
Parameters
| Parameter | Description |
|---|---|
container | Inner content width. |
icon | Optional leading icon. Defaults to megaphone. |
label | Short emphasized label before the copy. |
text | Announcement copy. |
href | Optional URL for the trailing link. |
link_text | Link label. Defaults to Learn more. |
bg | Full-width section background token. |
class | Additional CSS classes on the outer section. |