Skip to main content
Frontend templates

Smart answer

A smart answer is a series of questions that channels a user to a certain outcome based on their responses.

How it works

We use smart answers on GOV.UK when there are lots of variables affecting something a user needs to know. As trying to explain all these variables in flat content would result in a long, confusing guide, we’d use a smart answer (effectively a decision tree made up of questions and outcomes) instead. This allows the user to get straight to the content they need, while keeping everything that isn’t relevant to them hidden away.

There are 2 different types of smart answers:

Live examples

How to report an issue

If you happen to come across an issue:

  1. Report it on Github (opens in a new tab).
  2. Once the issue has been added, update this document by adding the title and Github Issue's link.
  3. Give yourself a high-five.

Help improve this frontend template

To help make sure that this page is useful, relevant and up to date, submit a GitHub issue (opens in a new tab) with your proposed updates.