Skip to main content
239

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Themes
React Native docs
FormsReact Native

Checkbox card

Present a checkbox as a selectable card with supporting text.

Public APILumenCheckboxCardReact Native

Native example

Use Checkbox card

Use it when each choice needs a description or an icon.

Checkbox card rendered in the Expo web renderer Lumen playground

Captured exampleExpo web renderer

Open interactive preview
Open the Checkbox card demo
tsx
import { LumenCheckboxCard, LumenText } from '@santi020k/lumen-react-native'
import { useState } from 'react'

export function PrioritySupportOption() {
  const [checked, setChecked] = useState(true)

  return (
    <LumenCheckboxCard
      label="Priority support"
      description="Get help from our team within one business day."
      icon="headphones"
      checked={checked}
      onCheckedChange={setChecked}
      addon={<LumenText tone="muted">$9/mo</LumenText>}
    />
  )
}
React Native
A controlled add-on card with an icon, supporting description, and a non-interactive price addon.

Reference

Public API

The primary shared and platform-specific options exposed by LumenCheckboxCard.

APIValues or typeDefaultDescription
checked / label / variantcontrolled state / name / card stylerequired / required / outlineUse it when each choice needs a description or an icon.

Native behavior

Design and accessibility

When to use it

Use it when each choice needs a description or an icon.

Accessibility

The whole card is one checkbox, and its description is the hint.

Shared component

Available on other platforms

Apple / SwiftUIAndroid / Compose Web
React Native docsNative primitives