For AI agents: the complete documentation index is available at /apps-plugin/docs/llms.txt, the full documentation bundle is available at /apps-plugin/docs/llms-full.txt, and this page is available as Markdown at /apps-plugin/docs/components/form/radio.md.

radio

单选按钮,需配合 RadioGroup 使用。

扫码预览

扫码预览 radio

Props

属性名类型默认值必填说明
childrenReactNode-否单选项内容,显示在内置指示器旁,点击内容也可选择该项。
禁用时,指示器和内容均不可选择。
classNamestring-否组件类名
disabledbooleanfalse否是否禁用
keystring | number | null-否React key 属性
styleCSSProperties-否组件样式
valuestring-是Radio 的值