ComponentsRadio group
Radio group
Choose one option and compare what each selection changes.
Setup
Download the shared Inlay assets once. Then choose HTML, React, or Vue and copy the example above.
Choice cards
Use full-width cards when options need distinct descriptions.
Review workflow
Choose how work is approved.
Simple fieldset
Use concise options when the differences are obvious.
Usage
| Group | Use fieldset and legend. Give each group a unique name in HTML. React and Vue generate names for repeated groups. |
|---|---|
| Selection | Use checked for the initial HTML or Vue choice or defaultChecked in React. Arrow keys move between enabled options. |
| Motion | One shared highlight moves between checked rows and respects reduced motion. |