Memorisely

Components

Radios

One choice in a group. The selected mark is the foreground token, so it follows the theme.

Buy now

Radio

Variant
Default
Size
md
State
Selected
Label
Light
<RadioGroupItem value="light" />

How to use

One radio is one choice in a set. The dot in the centre scales in when it is selected, and scales back when another choice takes its place. The label sits beside the control.

Group

<RadioGroup defaultValue="light">
  <RadioGroupItem value="light">Light</RadioGroupItem>
  <RadioGroupItem value="dark">Dark</RadioGroupItem>
  <RadioGroupItem value="system">System</RadioGroupItem>
</RadioGroup>

How to use

A group allows one choice. Selecting a new option clears the previous one. Keep the options in one list, with the same gap, and a shared name.

With a description

<RadioGroupItem value="code">Code first</RadioGroupItem>

How to use

When the choice needs a reason, put a short description under the label. The radio stays aligned with the first line. The description is muted.

Disabled

<RadioGroupItem value="yearly" disabled>Yearly</RadioGroupItem>

How to use

Disabled keeps the choice visible and stops the click. Use it when the option exists but cannot be picked yet. Say why nearby.

Radios exists so designers, engineers, and AI start from the same decision. The preview on this page is the component as it ships. You compose it. You do not redraw it.

Use it when the job matches the name. Reach for a neighbour in the system when it does not. Names in Figma match the names in code, which is what keeps a prototype close to what actually ships.

Tokens

TokenValue
--radios-bgvar(--background)
--radios-fgvar(--foreground)
--radios-bordervar(--border)
--radius-md10px
--duration-fast120ms

Included

  • Group, hint, and disabled