@objectifthunes/whiteboard
CARDS & LISTS

ChoiceCard

A clickable radio-style card. Internal to ChoiceGroup; expose for custom groups.


PREVIEW
SOURCE
import { ChoiceCard } from '@objectifthunes/whiteboard'

<ChoiceCard active={value === 'a'} onClick={() => setValue('a')}>
  <span className="choice-card__label">Option A</span>
</ChoiceCard>
NOTES

A radio-style card with an active data attribute that drives the selected styling. Internal to ChoiceGroup— expose this directly when you need a custom layout the group doesn't support.