Brand Guide

Components

Choice cards

Options that each need a sentence of explanation, with a radio or checkbox on the right.

Single choice

How should Dex match you?

You can change this any time in settings.

Multiple choice

Multiple choice swaps the radio for a checkbox. Each card is controlled.
Which roles should Dex look for?

Choose all that apply.

In a row

columns puts 2, 3 or 4 cards in an equal-width row from the sm breakpoint. Below it they stack.
Your level now

Invalid

Every card takes the red border, with one message under the group.
Are you open to relocating?

Disabled

Each card is disabled by itself. A selected one keeps its primary border and filled control at 50%.
What kind of contract do you want?

Disabled group

A multiple-choice group takes disabled once, which disables every card in it.
Which roles should Dex look for?

Best practices

  • Use choice cards for options that need a sentence of explanation. Short answers with no description are chips.
  • Stack the cards, or put 2 to 4 in an equal-width row with columns. A row stacks on a phone.
  • The whole card is the click target, and the radio or checkbox sits on its right.
  • A selected card takes a primary border and its control fills. The surface stays card, so the description stays readable.
  • Focus marks the card, not the radio or checkbox inside it.
  • Set invalid on the FieldSet, or aria-invalid on the group, and every card's border turns red. One message goes 8px below the cards.