Memorisely

Components

Checkboxes

On, off, mixed, and disabled. Use mixed when a parent represents a partial group.

Buy now

Checkbox

Variant
Default
Size
md
State
Checked
Label
Include Figma
<Checkbox defaultChecked>Include Figma</Checkbox>

How to use

One checkbox is one decision. The label sits beside it and names the choice. The check scales in when it turns on. Use mixed when a parent stands for a group that is only partly selected.

States

<Checkbox />
<Checkbox defaultChecked />
<Checkbox checked="indeterminate" />
<Checkbox disabled />

How to use

Off, on, mixed, and disabled are the four states. Disabled keeps the choice visible and stops the click. Do not hide a checkbox that cannot be changed yet.

With a description

<Checkbox defaultChecked>Include Figma</Checkbox>

How to use

When the choice needs a reason, put a short description under the label. The checkbox stays aligned with the first line. The description is muted and does not act as a second label.

Group

<Checkbox defaultChecked>Code</Checkbox>
<Checkbox defaultChecked>Figma</Checkbox>
<Checkbox>Tokens</Checkbox>

How to use

A group is several checkboxes that can all be on. Stack them with the same gap. Use a parent mixed checkbox above the group when some, but not all, are selected.

Checkboxes 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
--checkboxes-bgvar(--background)
--checkboxes-fgvar(--foreground)
--checkboxes-bordervar(--border)
--radius-md10px
--duration-fast120ms

Included

  • Checked, mixed, and disabled