Radio

Radio는 여러 옵션 중 하나만 선택할 수 있는 입력 컴포넌트입니다. RadioGroup과 함께 사용하여 라디오 버튼 그룹을 구성할 수 있습니다.

Property


Size

RadioGroup의 크기를 설정합니다.

Disabled

RadioGroup의 비활성화 상태를 설정합니다.

Read Only

RadioGroup의 읽기 전용 상태입니다. 사용자가 값을 변경할 수 없지만 현재 선택된 상태를 확인할 수 있습니다.

Examples


Direction

Radio 그룹의 방향을 조절할 수 있습니다. VStack과 HStack을 사용하여 세로 및 가로 방향으로 배치할 수 있습니다.

Flexible

Radio의 유연한 사용예시입니다.

Anatomy


컴포넌트의 구조를 탐색하고 각 파트의 역할을 확인합니다. 파트 이름에 마우스를 올리면 해당 영역이 하이라이트됩니다.

Loading…
Loading preview…

Props Table


RadioGroup.Root

Loading component documentation...

RadioGroup.Label

Loading component documentation...

Radio.Root

Loading component documentation...

Radio.IndicatorPrimitive

Loading component documentation...