Radio button component

A radio button allows users to select one option from a set.


A radio button is a small square that can be checked or unchecked.

It can have a label placed on the left (inline) or on top (vertical).

For a required radio button, a red asterisk should be added next to the label.

For a read-only radio button, a lock icon should be added next to the label.


Clicking on a radio button selects an item. A dot appears inside the radio button to confirm the selection.



Since radio buttons are clickable elements, they have multiple states.

Each state is associated with a different color, providing visual feedback to users.


Radio buttons are shown as a small circle with a 1px outline and a dot when selected.