Announcement Block

Display notices, updates, or calls-to-action.

Syntax

<Announcement slots="heading, text, button" variant="secondary" backgroundColor="background-color-gray"/>

#### Your Heading

Your announcement text goes here.

- [Button Text](https://example.com)

Parameters

Examples

Full Announcement

data-slots=heading, text, button
data-variant=secondary
data-backgroundColor=background-color-gray

New Release Available

Check out the latest features and improvements in version 2.0.

Button Only

data-slots=button

Primary Variant

data-slots=heading, text, button
data-variant=primary

Important Update

Review these changes before your next deployment.