Simal UI
Components

CardSelectionGroup

Import

import { CardSelectionGroup } from '@simal/ui/nativewindui';

Props

PropValuesDefaultDescription
cards[]The options, each { title, description, icon? }. The group renders them stacked and owns which one is selected.
onSelectFires with the index of the pressed card. Index, not the card object — hold your own array to map it back.

Examples

With Icons

On this page