一组交互式卡片,每次只能选择一个选项。
¥API Reference
此组件继承了 单选按钮组基础组件 的属性并支持 常用边距属性。
¥This component inherits props from the Radio Group primitive and supports common margin props.
¥Root
¥Item
组中可勾选的项目。
¥An item in the group that can be checked.
¥Examples
¥Size
使用 size
属性控制大小。
¥Use the size
prop to control the size.
¥Variant
使用 variant
属性控制视觉样式。
¥Use the variant
prop to control the visual style.
¥Color
使用 color
属性指定特定的 color。
¥Use the color
prop to assign a specific color.
¥High-contrast
使用 highContrast
属性增加与背景的颜色对比度。
¥Use the highContrast
prop to increase color contrast with the background.
¥Disabled