Segmented

データから描画される単一選択のセグメントコントロール。ライト / ダーク / システムのパターンです。

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

使い方

Theme: system · Range: 30d

インポート

ts
import {
  SoneSegmentedComponent,
} from "@surface-one/angular/segmented";

API リファレンス

SoneSegmentedComponentコンポーネント

セレクター
sone-segmented
入力
名前型 デフォルト
options必須readonly SegmentOption[]—
ariaLabelstring | nullnull
sizeToggleSize"default"
variantToggleVariant"outline"
orientationToggleOrientation"horizontal"
value双方向string""