Forms
Choicebox
A stack of selectable cards, each with a title, an optional description and a meta label. Single or multiple choice.
Group: Forms. Exports: Choicebox. Halaska addition with no shadcn/ui equivalent.
Usage
import { Choicebox } from "./halaska-kit";
Choicebox props
optionsarray: The choices to offer.valueany: The controlled value.onChange(value) => void: Called with the new value.multipleboolean:
Accessibility
- Single choice renders a radiogroup of radio buttons. Multiple renders a group of checkboxes. Each option sets aria-checked.
- Each option is a native button, so Tab moves between options and Enter or Space selects.
- Arrow keys do not move between options, and the group takes no label.
Halaska UI · Components · Patterns · Screens · Install