Feedback
Banner
Informational banner with tones. Wraps the Polaris <s-banner> web component.
Usage
<template>
<ShBanner heading="Order archived" tone="success" dismissible>
This order has been archived successfully.
</ShBanner>
</template>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
heading | string | — | Banner heading |
tone | 'info' | 'success' | 'warning' | 'critical' | 'auto' | — | Color tone |
hidden | boolean | — | Hides the banner |
dismissible | boolean | — | Shows a dismiss button |
Slots
| Slot | Description |
|---|---|
default | Banner content |
Polaris Element
Renders as <s-banner>. See Polaris Banner docs.