Components
Switch, Checkbox, Radio
Three controls, three different questions.
Installation
npx shadcn@latest add https://ui.whoisroktim.lol/r/field.jsonWhich one
A Switch takes effect immediately — it is a setting, not an answer. If the change needs a Save button, it should not be a switch.
A Checkbox is an independent yes/no, and several may be true at once.
A Radio is one choice from a set where exactly one must win.
All three take a description, which sits under the label and is wired through
aria-describedby rather than being loose text next to the control.