Feedback
Banner
A persistent situation that needs a decision — wide, inline, and never blocking.Playground
Configure the component and copy synchronized Vue code.
Token map
The manual manifest combines inherited token owners with local deltas.
MBanner · All28 tokens
md-bannerMBanner API
Props, slots, and events are generated from the current public kit contract.
Props
NameTypeDefault
titlePlain-text title; the `title` slot takes precedence.stringundefinedtextPlain-text body; the default slot takes precedence.stringundefinediconLeading icon. There is no default: the banner has no severity to infer one from. `false` suppresses an icon supplied by a wrapper preset.string | falseundefinedlayoutPresentation of the actions row.'auto' | 'inline' | 'stacked''auto'variantNeutral surface preset.'surface' | 'tonal''surface'closableRenders the dismiss control.booleanfalsecloseLabelAccessible name of the dismiss control.string'Close'announceLive-region politeness.'polite' | 'off''polite'Slots
Events
@closevoid