라디오
소수 옵션 중 하나만 고르는 단일 선택 컨트롤이다.
상태
off
on
disabled
활용 방법
단일 옵션
label과 description이 선택 항목의 의미와 보조 맥락을 함께 제공한다.
Preview
tsx
<Radio name="runtime" label="production" description="signed deploy target" />
속성
| 이름 | 타입 | 기본값 | 설명 |
|---|---|---|---|
| tone | "primary" | "point" | "danger" | "success" | "warning" | "primary" | 강조 색 |
| label | ReactNode | - | 옵션 라벨 |
| description | ReactNode | - | 보조 설명 |
| ...props | InputHTMLAttributes | - | 네이티브 radio 속성 |