One choice from a few visible options: native radio inputs in a fieldset with a legend, hint and error, form-ready without script.
npx shadcn@latest add @klarhimmel/radio-group
radio-group