Searching Puzzle Pieces

Type to search Puzzle Pieces.

Radio Group

A config-first radio group rendered from an options array. Each row is a native radio input, so arrow-key movement comes for free; layout is vertical or horizontal, and options carry their own hints and disabled state.

Plan

Installation

Copy the piece into your app — it compiles with your build and the code is yours:

puzzle add piece radio-group

Requires the pieces.css tokens merged into your app styles (see Introduction).

Usage

import RadioGroup from '@/components/ui/RadioGroup.pzl';
<RadioGroup label="Plan" options={ planOptions } value={ plan } @change={ setPlan } />

Horizontal

Size

Option hints and disabled

Plan