Skip to Content
DocsResourcesPricingShowcase

Radio Card

Used to select an option from list

SourceStorybookRecipeArk

A RadioCard is a form element with a larger interaction surface represented as a card.

import { RadioCard } from '@saas-ui/react/radio-card'
<RadioCard.Root>
  <RadioCard.Label />
  <RadioCard.Item />
</RadioCard.Root>

Use the size prop to change the size of the radio card.

Use the colorPalette prop to change the color of the radio card.

Here's an example of a RadioCard with an icon.

Here's an example of a RadioCard with centered text.

Use the RadioCardItemAddon component to add an addon below the radio card content.

PropDefaultType
colorPalette 'gray'
'gray' | 'red' | 'orange' | 'yellow' | 'green' | 'teal' | 'blue' | 'cyan' | 'purple' | 'pink' | 'accent'

The color palette of the component

size 'md'
'sm' | 'md' | 'lg'

The size of the component

variant 'outline'
'plain' | 'subtle' | 'outline'

The variant of the component

as
React.ElementType

The underlying element to render.

asChild
boolean

Use the provided child element as the default rendered element, combining their props and behavior.

For more details, read our Composition guide.
unstyled
boolean

Whether to remove the component's style.

Previous

Progress

Next

Radio