Radio Group

Single-selection group with matching radio item primitive.

Import/Installation

import { Label, RadioGroup, RadioGroupItem } from "@lottiefiles/creator-plugins-ui";

Preview

Usage

<RadioGroup value={value} onValueChange={setValue}>
  <div className="flex items-center gap-2">
    <RadioGroupItem id="quality-low" value="low" />
    <Label htmlFor="quality-low" variant="inline">
      Low
    </Label>
  </div>
  <div className="flex items-center gap-2">
    <RadioGroupItem id="quality-medium" value="medium" />
    <Label htmlFor="quality-medium" variant="inline">
      Medium
    </Label>
  </div>
  <div className="flex items-center gap-2">
    <RadioGroupItem id="quality-high" value="high" />
    <Label htmlFor="quality-high" variant="inline">
      High
    </Label>
  </div>
</RadioGroup>

Props

RadioGroup

PropTypeDefaultRequiredDescription
orientation"vertical" | "horizontal""vertical"NoOrientation of the radio group.
onValueChange(value: string) => voidNoCallback fired when the value changes.

RadioGroupItem

PropTypeDefaultRequiredDescription
size"xs" | "sm" | "default""default"NoSize of the radio button.

Built on Base UI Radio. See their docs for primitive-level details.

Last updated: August 5, 2026 at 11:47 AMEdit this page