Skip to Content
DocsResourcesShowcase

Checkbox Card

Used to select or deselect options displayed within cards.

SourceStorybookRecipeArk

import { CheckboxCard } from '@saas-ui/react/checkbox-card'
<CheckboxCard label="Checkbox Card" />

Use the CheckboxCardGroup component to group multiple checkbox cards.

Select framework(s)

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

Use the variant prop to change the variant of the checkbox card.

Use the disabled prop to make the checkbox card disabled.

Use the CheckboxCardAddon to add some more context to the checkbox card.

Render custom icons within the checkbox card.

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

Card

Next

Checkbox