基本
Button Group
関連するアクションのボタンを、ひとつのピルにまとめます。
src/components/ui/button-group.tsxui-sdkなし
ドキュメントの操作
Memuat
インポート
tsx
import { ButtonGroup } from "@/components/ui/button-group";ガイドライン
- いくつかの中からひとつを選ぶなら、Segmented Controlを使います。
- 区切りはボタンの間に置く
<span aria-hidden>です。