Banner
A full-width, dismissible announcement bar.
๐ ng-blatui โ accessible Angular components, copy & paste.Read more
Tones
Heads up โ scheduled maintenance tonight at 2am UTC.
Your plan was upgraded to Pro.
Your trial ends in 3 days.
Your payment method failed.
API reference
Inputs
| Prop | Type | Default | Description |
|---|---|---|---|
tone | "danger" | "default" | "info" | "primary" | "success" | "warning" | 'default' | Color tone (`default | primary | info | success | warning | danger`). |
dismissible | boolean | true | Whether to show the dismiss button. |
persistKey | string | undefined | When set, the dismissal is remembered in localStorage under this key. |
announcementLabel | string | โ | Overrides the localized accessible label for the announcement region. |
dismissLabel | string | โ | Overrides the localized accessible label for the dismiss button. |
Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.