コンパクト
Compact Segmented
角丸6pxの32pxの切り替えバー。選択肢ごとの件数を表示し、表の上のステータスタブに使います。
src/components/ui/compact-segmented.tsx振る舞いの提供元 @ui-sdk/react/segmented-control
件数付きのステータスタブ
Memuat
インポート
tsx
import { CompactSegmented } from "@/components/ui/compact-segmented";ガイドライン
- グループには「商品の状態」のような
aria-labelを付けます。