easyui.

Discover / Forms

Radio group

Choose one option from a visible set.

Usage notes

Label the group and describe each option so the choice is easy to understand.

Examples use @easyui/react and its stylesheet. Read the setup guide.

Example source

import { Radio, RadioGroup } from "@easyui/react";

export default function Example() {
  return (
    <RadioGroup defaultValue="starter" aria-label="Plan">
      <Radio value="starter" label="Starter" description="For personal projects." />
      <Radio value="team" label="Team" description="For working together." />
    </RadioGroup>
  );
}

Explore more components