Components
Radio Group
Radio group: selecting an item pops the inner dot in on a snappy spring while a soft lumen ring expands outward once and fades.
Install
Copies the component source — plus its small internal deps — into your project. You own the code from the first minute.
npx lumora-ui@latest add radio-groupImport
Using the workspace package instead? Deep imports keep cold starts lean; the barrel is fully tree-shakable either way.
import { RadioGroup, RadioItem } from "@lumora/ui/components/radio-group";
// or from the barrel:
import { RadioGroup, RadioItem } from "@lumora/ui";Props worth knowing
RadioGroup works controlled via value/onValueChange or uncontrolled via defaultValue, with orientation switching the layout. Each RadioItem carries a value, a label and an optional description; selecting one pops the dot in and blooms a lumen ring once. Arrow keys move and select in a single gesture. Props extend the natural HTML element, so className, event handlers, and aria attributes pass straight through.