Brand Guide

Components

Switch

Turns a setting on or off, and applies it straight away.

Default

With a description

The label goes medium and a muted description sits under it.

Hide roles that need you in an office.

Controlled

Hiring teams on Dex can find your profile.

Settings rows

Text on the left and the switch on the right. A locked row drops to 50% as a whole, so the switch is told not to fade a second time.

An email when a role matches your profile.

A Monday email with the week's new roles.

Always on while you have a live application.

Disabled

Best practices

  • Use a switch for a setting that applies straight away, such as profile visibility.
  • A switch never errors, so it has no invalid state.
  • Join the switch to its label with id and htmlFor. Beside a single setting the label sits 12px to the right of the switch.
  • In a list of settings, put the text on the left and the switch on the right, with a hairline between rows.
  • A setting the person can't change is disabled and drops to 50%. When it is on it keeps its fill, so it still shows the setting.