- iOS:
InfoViewin govuk-once/govuk-mobile-ios-app/Production/govuk_ios/Views/Common/Info/InfoView.swift at 3813aa2a - iOS:
SignInSuccessViewModelin govuk-once/govuk-mobile-ios-app/Production/govuk_ios/ViewModels/SignInSuccessViewModel.swift at 3813aa2a - iOS:
signedOutTitlein govuk-once/govuk-mobile-ios-app/Production/govuk_ios/Resources/Strings/SignOut.xcstrings at 3813aa2a - Android:
CentreAlignedScreenin govuk-once/govuk-mobile-android-app/design/src/main/kotlin/uk/gov/govuk/design/ui/component/Screen.kt at ed6237d6 - Figma: none linked yet
Outcome
Tells the user that something has finished, such as signing in or out, with a short centred heading and line of text, and one action to go on.
From the app: You’ve signed out, shown after signing out from Settings.
When to use it
- Something the user did has finished, and they need to know before they go on, such as after signing out or signing in.
- There is one obvious next step.
- The screen ends a journey, or a step in one, and the user can't go back into it.
When not to use it
| If | Use instead |
|---|---|
| The user hasn't done it yet, and is choosing whether to. | Confirmation |
| The screen needs more than a line or two to explain things. | Information page |
| The user has more than one thing they could do next. | Settings list, or a screen with a primary and a grouped secondary button in the button stack |
Example
Outcome, in light and dark
HTML
<govuk-app-screen background="modal">
<govuk-app-heading level="1" align="center">Your saved details have been deleted</govuk-app-heading>
<govuk-app-text align="center">You can add them again at any time in Settings</govuk-app-text>
<govuk-app-button-stack slot="footer">
<govuk-app-button name="continue">Continue</govuk-app-button>
</govuk-app-button-stack>
</govuk-app-screen>
Using it
- Say what happened in the heading, in the past tense, and what it means for the user in the text.
- It has no navigation bar: the user goes on with its button, not back.
- Its button goes nowhere of its own. The page listens for a click on it, by name, as examples/settings/signed-out.html does.
Components it uses
- Screen,
<govuk-app-screen> - Heading,
<govuk-app-heading> - Text,
<govuk-app-text> - Button stack,
<govuk-app-button-stack> - Button,
<govuk-app-button>
The app’s iOS and Android screens it was taken from