In page banners display an important, succinct message, and may provide actions for users to address. Banners should be displayed at the top of the screen, below a top app bar. Only one banner should be shown at a time.
This component represents a banner that can be displayed within a page.
It can have a title, body content, and various status options.
Slot
The main content of the banner.
Slot
action - The action buttons.
Part
header - The header section containing the title.
Part
body - The body section containing the main content.
Part
footer - The footer section containing action buttons.
close - Fired when the close icon is clicked.
Cssproperty
--banner-border-color - The border color of the banner.
Cssproperty
--banner-background-color - The background color of the banner.
Cssproperty
--banner-foreground-color - The foreground color of the banner.
Cssproperty
--banner-icon-color - The icon color of the banner.
Invoked on each update to perform rendering tasks. This method may return
any value renderable by lit-html's ChildPart - typically a
TemplateResult. Setting properties inside this method will not trigger
the element to update.
In page banners display an important, succinct message, and may provide actions for users to address. Banners should be displayed at the top of the screen, below a top app bar. Only one banner should be shown at a time.
This component represents a banner that can be displayed within a page. It can have a title, body content, and various status options.
Slot
Slot
action - The action buttons.
Part
header - The header section containing the title.
Part
body - The body section containing the main content.
Part
footer - The footer section containing action buttons.
close - Fired when the close icon is clicked.
Cssproperty
--banner-border-color - The border color of the banner.
Cssproperty
--banner-background-color - The background color of the banner.
Cssproperty
--banner-foreground-color - The foreground color of the banner.
Cssproperty
--banner-icon-color - The icon color of the banner.
Figma
https://www.figma.com/file/JesXQFLaPJLc1BdBM4sisI/🦓-ZDS---Components?node-id=21156-27071
Storybook
https://design.zebra.com/web/storybook/?path=/docs/components-in-page-banner--docs