Radio
Single-choice picker with `RadioGroup` compound API and roving tabindex.
Preview
example.tsxtsx
Plan
Installation
Install the individual package:
snippet.bashbash
pnpm add @sisyphos-ui/radio @sisyphos-ui/coreOr use the umbrella package that bundles everything:
snippet.bashbash
pnpm add @sisyphos-ui/uiUsage
Import the component styles and the component itself:
snippet.tsxtsx
import "@sisyphos-ui/radio/styles.css";
import { Radio } from "@sisyphos-ui/radio";Card variant
Card variant turns each option into a large, clickable surface.
example.tsxtsx
Billing
API
Props table is being written. See the package README for the complete API surface.
The full API including refs, ARIA attributes, and HTML passthroughs lives in the package README.