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

Help improve this frontend template

To help make sure that this page is useful, relevant and up to date, instructions on how to contribute can be found on the GitHub repository (opens in a new tab).