Skip to main content

These components are for prototyping the GOV.UK app, not for use in production.

<govuk-app-status>

Status

Shows the state of something with a deadline or a validity, such as a vehicle's tax or MOT, or a driving licence: an icon for its state, then what it is and how it stands, such as Valid, 23 days, or Expired.

GOV.UK app component Proposed

Warning This isn’t in the app yet. It’s proposed, from a screenshot of the future driving designs in Figma, until there’s a link to the file, so it may change, or never ship. Don’t present it as part of the app today.

Where it comes from

The future driving designs in Figma, which we have only as a screenshot for now. Its sizes and spacing are read from that, so they’re approximate, and will be checked against the Figma file once we have it. The app today shows tax and MOT differently, with ValidityStatusView.

Known differences from the designs

  • The designs show only light mode, so the dark mode colours are ours: the primary button’s green, and the app’s dark divider colour for the ring’s track.

Examples

Valid

HTML

<govuk-app-status label="Tax" caption="Valid"></govuk-app-status>

Due, counting down

HTML

<govuk-app-status state="due" progress="0.75" label="MOT due" caption="23 days"></govuk-app-status>

Expired

HTML

<govuk-app-status state="expired" label="MOT" caption="Expired"></govuk-app-status>

Not required

HTML

<govuk-app-status state="none" label="MOT" caption="Not required"></govuk-app-status>

With a date

HTML

<govuk-app-status state="due" progress="0.6" label="Tax expiring" detail="12 May 2026" caption="18 days"></govuk-app-status>

Inputs

Attributes
Attribute Type Default Description
state "valid" | "due" | "expired" | "none" valid valid: a green dot. due: a purple ring, filled as far as progress, for something coming up. expired: a circled exclamation mark. none: no icon, for something that doesn't apply, such as an MOT that isn't required.
progress string 1 For a due status, how full its ring is, from 0 to 1, such as 0.75. Make it the share of the time left, so it empties as the deadline nears.
label string What it is, in Body Semibold, such as Tax, MOT due or Tax expiring.
detail string Anything to say after the label on the same line, not in bold, such as a date: 12 May 2026.
caption string The line below, in Subheadline, grey, such as Valid, 23 days, Expired or Not required.

Content

None.

Outputs

None.

Rules

  • Say the state in words as well, in the caption or the label: the icon alone doesn't tell everyone, such as people who can't see it or can't tell its colours apart.
  • Use due for something with a deadline coming up, and count down to it in the caption, such as 23 days. Give it a progress to match.
  • Use none, not valid, for something that doesn't apply, and say so: Not required.
  • Keep the label to a word or two, and the caption to one short line, so two fit side by side.

When not to use it

When Use instead
For a number that matters on its own, such as penalty points govuk-app-count
For a fact with no state, such as a vehicle's fuel govuk-app-labelled-icon
For a state that needs attention, at the top of its card govuk-app-card-header

Sources

The iOS, Android and Figma sources it was built from
  • iOS: ValidityStatusView, which this replaces in the future designs in govuk-once/govuk-mobile-ios-app/Production/govuk_ios/Views/DVLA/ValidityStatusView.swift at 8f1fe5da
  • iOS: primaryGreen, accentPurple in govuk-once/govuk-mobile-ios-gov-kit/GovKitUI/Sources/Colors/UIColor+Convenience.swift at 8a7641e
  • Figma: none linked yet