---
title: CheckboxCard
---

import LibraryInfo from '@theme/LibraryInfo'
import { Feedback, TokensTable, PropsTable } from '../../src/components'
import { CheckboxCard } from '@telus-uds/components-web'
import { CheckboxCard as BaseDocs } from 'docs/@telus-uds/components-base'
import AvailableOnBoth from '../../partials/_platform-considerations-both.mdx'
import NoStylisticVariants from '../../partials/_variants-none.mdx'

# CheckboxCard

<LibraryInfo figmaLink="https://www.figma.com/embed?embed_host=share&url=https%3A%2F%2Fwww.figma.com%2Ffile%2F4zJn2Qn6uXOqPP1GVDipy6%2F%25F0%259F%258D%2580-Allium-Components%3Fnode-id%3D458%253A458" />

```jsx live
<CheckboxCard title="Checkbox card">
  <Typography>Additional info.</Typography>
  <Typography>More additional info.</Typography>
</CheckboxCard>
```

## Introduction

A CheckboxCard is a Card that, [CheckboxCardGroup](checkbox-card-group),
may be selected like a checkbox.

[Follow the appropriate instructions](importing-components) to add this component in to your app.

## Guidance

:::caution
In most cases, **[CheckboxCardGroup](checkbox-card-group)** should be used instead of
using CheckboxCard directly.

Pass the `CheckboxCardGroup` an `items` array and it will render CheckboxCards for each item in the array
with appropriate accessibility props, web form tags and state management.
:::

Use CheckboxCard where a user needs to make one selection out of a selection, and where each option
requires some detailed information.

### Accessibility

CheckboxCard component accepts all the common accessibility props, but also sets some defaults, including
accessibility role `'checkboxcard'` and accessibility state that depends on the other props (`checked`, `inactive`)
or the internal state in case of uncontrolled CheckCard.

### Platform considerations

<AvailableOnBoth />

## Props

<PropsTable base={BaseDocs} />

## Tokens

<TokensTable base={BaseDocs} component="CheckboxCard" />

## Variants

<NoStylisticVariants />

## Feedback

<Feedback component="CheckboxCard" />
