Radio

Designer doc
Radio component is used to select a single option from a predefined set of choices.

Example

View code
Orientation
2 orientations are supported: Horizontal (default) and Vertical.
View code

Accessability

API

Radio
Prop nameTypeDefaultDescription
asany
Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended.
disabledboolean
Equivalent to button's disabled property.
iconReactElement<RadioIconProps, string | JSXElementConstructor<any>><RadioIcon />
indexnumber
invalidboolean
keyboardClickKeysstring[]
onBlurFocusEventHandler<HTMLDivElement>
onClickMouseEventHandler<HTMLDivElement>
onKeyDownKeyboardEventHandler<HTMLDivElement>
onKeyUpKeyboardEventHandler<HTMLDivElement>
onMouseDownMouseEventHandler<HTMLDivElement>
onMouseLeaveMouseEventHandler<HTMLDivElement>
onMouseUpMouseEventHandler<HTMLDivElement>
onReleaseEventHandler<SyntheticEvent<HTMLDivElement, Event>>
Callback that's triggered after click i.e. mouseup and keyup of enter or space.
onTouchEndTouchEventHandler<HTMLDivElement>
onTouchStartTouchEventHandler<HTMLDivElement>
valueValue
RadioGroup
Prop nameTypeDefaultDescription
asany
Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended.
initialValueValue
onChange(value: Value) => void
orientationRadioGroupOrientationshorizontal
valueValue
RadioIcon
Prop nameTypeDefaultDescription
asvoid | WebTarget
Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended.
forwardedAsvoid | WebTarget
themeDefaultTheme
    Example
    Example
    Orientation
    Orientation
    Accessability
    Accessability
    API
    API
    Radio
    Radio
    RadioGroup
    RadioGroup
    RadioIcon
    RadioIcon
Coral is a thoroughly developed design system widely adopted by developers and designers for creating beautiful and user-friendly Sea internal products.

Copyright © 2018-2025 Sea Labs