Banner

A one-line status callout with a leading glyph; errors and warnings are announced to screen readers.

Available in
  • Angular: available
  • Vue: available
  • React: available
  • React Native: available

Usage

Import

ts
import {
  SoneBannerComponent,
} from "@surface-one/angular/banner";

API reference

SoneBannerComponentComponent

Selector
sone-banner
Inputs
NameType Default
kindBannerKind"info"
floating

An opaque, raised banner for an overlay (a fixed notice over the page): the overlay surface, a strong (or status-coloured) border and a large shadow instead of the translucent status tint, which would let the content underneath show through.

booleanfalse