Banner

先頭にグリフを持つ 1 行のステータスコールアウト。エラーと警告はスクリーンリーダーに通知されます。

対応フレームワーク
  • Angular: 対応
  • Vue: 対応
  • React: 対応
  • React Native: 対応

使い方

インポート

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

API リファレンス

SoneBannerComponentコンポーネント

セレクター
sone-banner
入力
名前型 デフォルト
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