Brand Guide

Components

Note

A line of information in the flow of a page, with an action beside it when there is something to do.

Tones

What the note means. The default is a hairline edge, with the text in the tone's colour.
Your answers save as you go.
The team replies within two working days.
Your application is with the team.
This role closes on Friday.
We couldn't send your answers. Try again.

Fill

A tint of the tone in place of the edge, for a note inside a card or one that reads as a block with its action.
Your answers save as you go.
The team replies within two working days.
Your application is with the team.
This role closes on Friday.
We couldn't send your answers. Try again.

With an action

One small button on the right, or two: a ghost button that sets the note aside, then the action on the outside edge. On a narrow screen they wrap under the text.
Add a CV to apply in one step.
Dex has recommendations for strengthening your CV

Label

A one or two word prefix in semibold, a step above the note's medium text.
Closing soon: applications for this role close on Friday.

Icons

icon replaces the tone's own icon, and icon={null} draws none.
Dex wrote this summary from your experience.
Your answers save as you go.

Sizes

sm has 12px text, for a dense pane, a dialog or a toolbar. default has 14px.
The team replies within two working days.
The team replies within two working days.
3 matches skipped.

Invalid

A note that holds back a submit until it is dealt with. Press Submit to see it: each note takes the danger tone, filled or not as it was, and the message by the button says what to do.
Dex has recommendations for strengthening your CV
Dex has recommendations for strengthening your CV

Best practices

  • A note is information that sits in the page until the person deals with it or the page changes: a heads-up about a form, or a suggestion with an action beside it. Something that comes and goes on its own is a toast, and a problem with one field is that field's error.
  • Two options carry the meaning, as on a badge. tone says what it means: neutral, info, success, warning or danger. fill says how loudly: a hairline edge by default, or a tint of the tone. Never orange: the brand colour is not a status.
  • Use fill for a note inside a card, or one that should read as a block with its action. Use the edge on the page's own background.
  • Keep a tone for a real status. A suggestion or a fact that is neither good nor bad news is neutral.
  • Each tone has its own icon. Replace it with icon only where another says more, and pass icon={null} where the words are enough.
  • One sentence, two at most, in sentence case. NoteLabel adds a one or two word prefix in semibold, a step above the note's medium text, such as "Closing soon:". Leave it out when the sentence says it already: never "Note:".
  • action holds one button at size="sm", or two: a ghost button that sets the note aside comes first, and the default button that does what it suggests sits on the outside edge, as in a dialog. Set it aside with a word such as Ignore rather than an X.
  • invalid gives the note the danger tone, filled or not as it already was, when it is holding something back, such as a submit, and a message by the button that was held back says what to do, as it would for a field.
  • sm in a dense pane, a dialog or a toolbar; default beside body text. Use one size in a group.