Return to Sky UI homepage

Radio Card - React

import { RadioCard } from '@sky-uk/ui-core';

For fully composed form element examples and usage description see Control Field.

RadioCard is an alternative presention of a radio input that needs to stand out.

Props

checked

boolean

disabled

boolean

readOnly

boolean

state

  • error

showIndicator

The Radio indicator is an optional element that can be turned off. However, it's best practice to include the indicator in most cases.

System Modifiers

The RadioCard component also accepts props applied using the following system modifiers:

ControlField

RadioCard with Control Field creates a semantic grouping of Radio inputs and adds information like labels and validation messages.

Layout of RadioCards could be changed using ControlField.Layout sub-component as Flex or Grid.