Banner
import * as Banner from '@dxos/react-ui/Banner';A banner is a note or an alert across the top of a view. A neutral banner is a note, and a banner with any other valence is an alert. The title can hold an icon and a close button.
| Part | What it is |
|---|---|
Banner.Root |
The banner, on its valence’s surface |
Banner.Title |
The title row, with the icon at its start and an optional close button at its end |
Banner.Body |
The message, aligned with the title text |