Skip to Content
Documentation
Saas UI
Get Pro
Getting started
Components
Overview

Checkbox Card

Used to select or deselect options displayed within cards.

SourceStorybookRecipeArk

Anatomy

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

Examples

Group

Use the CheckboxCardGroup component to group multiple checkbox cards.

Select framework(s)

Sizes

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

Variants

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

Disabled

Use the disabled prop to make the checkbox card disabled.

Addon

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

Icon

Render custom icons within the checkbox card.

Props

Root

PropDefaultType
colorPalette 'gray'
'gray' | 'zinc' | 'neutral' | 'stone' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | 'presence' | 'status' | 'sidebar' | 'sidebar.accent' | 'accent' | 'slate'

The color palette of the component

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

The size of the component

variant 'outline'
'surface' | 'subtle' | 'outline' | 'solid'

The variant of the component

align 'start'
'start' | 'end' | 'center'

The align of the component

orientation 'horizontal'
'vertical' | 'horizontal'

The orientation of the component

justify
'start' | 'end' | 'center'

The justify 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