Brand Guide

Components

Follow-ups

Questions that an answer opens, in a muted block under the question that opened them.

Default

Answer No and the block goes. Its 16px padding lines the questions up with the text in chips and choice cards.
Open to hybrid?
Up to how many days a week in the office?

Several questions

One block holds everything the answer opens, 24px apart.
Open to relocating?
Do you need relocation support?

With close

When a link rather than an answer opens the block, close adds a button in its top right corner to close it again.

Invalid

A follow-up shows its own error, like any field.
Open to hybrid?
Up to how many days a week in the office?

Best practices

  • Put the block right under the question whose answer opened it, 12px below, and take it away when that answer changes.
  • One block holds everything the answer opens, such as where someone would move to and whether they need support.
  • Each question in the block is an ordinary Field or FieldSet, with its own label, states and message. Its controls keep their card fill on the muted block.
  • Clear the follow-up answers when the block closes. The component does not hold them, so this is the form's job.
  • Use close when a link or a button opened the block, rather than an answer. What closing clears is also the form's job.