Docplanner Logo

Docplanner Mobile UI

Edit page
Introduction
⚙️ – Core
⚛️ – Atoms-Molecules
AvatarBadgeButtonCheckBoxFieldCircleDividerDownloadCardIconInputFieldInputFieldButtonLinkListItemOneTimeCodeInputPhotoAvatarRadioGroupFieldPropertiesBasic usageError stateDisabled stateLeftSide aligned ( hasLeadingRadio )RatingSelectFieldSimpleAvatarSpacerSwitchFieldTextToast❌ Icon (Deprecated)❌ Roboto (Deprecated)❌ WorkSans (Deprecated)
🧬 – Organisms

RadioGroupField

RadioGroupField allow users to select one option from a set.

Properties

value
string | undefined

Value

items
RadioGroupFieldItem[]
required

Options to choose from

onChange
(value: string) => void
required

onChange callback

disabled
boolean | undefined

Disabled flag

error
ReactNode

Error

hasLeadingRadio
boolean | undefined

Determines whether the radio appears at the beginning or at the end

Basic usage

Error state

Disabled state

LeftSide aligned ( hasLeadingRadio )