One choice from a few visible options: native radio inputs in a fieldset with a legend, hint and error, form-ready without script.
pnpm dlx shadcn@latest add "https://ui.klarhimmel.com/r/radio-group.json"