Go Main page
Go Main page

Web components

cover

components

Checkbox

v.1.0.0 | Saturn

It allows user to select multiple values from several options. Always use label to briefly identify and describe the purpose of a checkbox element. For further context use helperText.

Components

Play with the component with our playground.

Anatomy

Foo

NameDescription

1

Container
Required
width
and
height
fixed 24px - _border_ _border_50_.

2

Label
Required
Describe the action that will occur if a user taps a checkbox. Will be the default label. We used bold title in special case. Example: when the options of a selection list need supporting description.

3

Check icon
Required
Indicates the checkbox state.

4

Tooltip
Opens a tooltip component.

5

Context text
Gives more information about the action described on the label.

6

Helper text
Classic help text to give some more idea or condition about what is requested. It align to the left side.

Variants

  • Default unselected: A default state communicates an interactive component or element.
  • Default selected: Displays the on state checkbox.
  • Disabled unselected: A disabled state communicates a noninteractive component or element.
  • Disabled selected: A disabled state communicates a noninteractive component or element.
  • Keyboard focus: A keyboard focus state communicates when a user has highlighted an element, using an input method such as a keyboard or voice.

Unselected

Foo

Selected

Foo

Options

Default

  • May contain bold text.
  • Title and content

  • May contain title and text.
  • With tooltip

  • May contain bold text.
  • Layout

    Several lines

  • When the label has several lines, the text will be aligned at the top with the checkbox.
  • Vertical grouping

  • By following the arrow as the reading order, with this placement we will allow the user to read all the options.
  • Do's and dont's

    Foo

    Do’s

    Checkboxes let users select one or more options from a list.

    Foo

    Don’t

    Selection elements cannot be combined.