GOV.UK Design System

by Government Digital Service (UK Government)

#Foundations

The docs are written one section at a time, from what the capture read and a review of full-page shots. A draft has captured data to write from; a missing section needs another capture pass.

5 of 6 with captured data · 5 written

Color

Reviewed

Near-black #0b0c0c text on white, #484949 for secondary text, #cecece borders and #f3f3f3 for plates and inactive tabs. Links are blue #1a65a6, the header and brand blue #1d70b8, and the main button green #0f7a52. Focus is a yellow #ffdd00 fill, not a ring. Live gov.uk sets its footer and feedback band on a pale blue #f4f8fb.

Still missing

  • Light only: GOV.UK has no dark theme (39 of 40 live pages shot in dark were identical).

Type

Reviewed

GDS Transport (licensed to gov.uk, with Arial as its fallback) at 19px on a 25px line for body copy and form labels, 16px for small print and the header. Headings are 700: 48px page titles, 24px and 19px section heads. Big question labels step up to 36px.

Shape

Reviewed

Square: no corner radius anywhere except a 1px on tags. Fields, radios and checkboxes draw a 2px black edge; radios are the one round shape.

Spacing

Reviewed

On a 5px scale: 10, 15, 20 and 30px are the common steps. Fields are 40px, buttons about 38px plus their 2px lip, the header 61px.

Elevation

Reviewed

No soft shadows. Buttons stand on a solid 2px lip (#083d29 under green, #858686 under grey) that disappears when pressed; the feedback buttons use a 3px black one.

#Components

One section per component: its variants and sizes by name, its states, and how the product uses it.

15 of 29 with captured data · 13 written

button

Reviewed

govuk-button: 19px text, square corners, a solid 2px lip in a darker shade. The default is green (Save and continue); secondary is a #f3f3f3 plate (Find address). Focus turns any button yellow with black text and a black lip; disabled ones drop to 50% opacity.

Variants5 found, 1 named by the product

Loading…

secondaryclass×1A #f3f3f3 plate on a 2px #858686 lip: Find address.

Loading…

feedbacknamed by AI×15Yes and No under Is this page useful?: no fill, a 1px black border and a 3px black lip, on the pale blue band.

Loading…

defaulttheir docs×13Green #0f7a52, white text, a 2px #083d29 lip: Save and continue.

Loading…

searchnamed by AI×5The header search's submit: a blue #1d70b8 square with a white magnifier.

Loading…

linknamed by AI×1A button drawn as an underlined link: Show 3 more topics.

Sizes4 found, 0 named by the product

SizeHeightPaddingTextIconSeen
textnamed by AIText-sized.20.5px0px16px—×1
smallnamed by AI37px with 16px text: the feedback band.37px10px16px—×15
defaultnamed by AI38px, 10px padding, 19px text.38px10px19px—×14
iconnamed by AIA 50px square: the header search.50px0px13.3333px20x20×5

StatesOf its first variant, secondary · default.

Loading…

rest

Loading…

hover

Loading…

pressed

Loading…

focus

Loading…

disabled · set by the capture

Usage

  • One green button per question page, at the bottom of the form: Continue.

Still missing

  • The start button (with an arrow), warning (red) and inverse (white) buttons weren't read.

toggle-button

Reviewed

Variants1 found, 0 named by the product

Loading…

header togglenamed by AI×10Menu and the search icon on the blue header: white text at 700, no frame, opening a panel below.

Sizes2 found, 0 named by the product

SizeHeightPaddingTextIconSeen
iconnamed by AIThe search toggle: 61px tall, 20px padding.61px20px19px21x20×5
textnamed by AIMenu: 16px text.61px0px16px—×5

StatesOf its first variant, header toggle · icon.

Loading…

rest

Loading…

focus

badge

Reviewed

govuk-tag: 30px, 8px padding, 19px at 400, a 1px corner, no border, a pale fill under dark ink of the same hue. Blue is the default; the class names the others.

Variants9 found, 9 named by the product

Loading…

blueclass×2The default: Pending.

Loading…

greenclass×1New.

Loading…

greyclass×1Inactive.

Loading…

magentaclass×1Sent.

Loading…

orangeclass×1Declined.

Loading…

purpleclass×1Received.

Loading…

redclass×1Rejected.

Loading…

tealclass×1Active.

Loading…

yellowclass×1Delayed.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-3o2ac530px, 8px padding, 19px.30px8px19px—×10

StatesOf its first variant, blue.

Loading…

rest

Left outLooks the capture put here that are not this component.

  • v-d9cgk8the header Menu toggle's label: see toggle-button
  • v-p6wl7athe header Menu toggle's label: see toggle-button

tabs

Reviewed

govuk-tabs on Bank holidays: unselected tabs are #f3f3f3 plates with underlined black labels; the selected one is a white folder tab with a 1px #cecece edge that steps onto the panel.

tab

Variants1 found, 0 named by the product

Loading…

unselectednamed by AI×2Scotland: a grey plate, an underlined label.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-7xr6cf19px labels, 20px inline padding on the plate.25px0px19px—×2

StatesOf its first variant, unselected.

Loading…

rest

tablist

Variants1 found, 0 named by the product

Loading…

defaulttheir docs×1The row of tabs over a 1px #cecece rule.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-15zhf5————×1

StatesOf its first variant, default.

Loading…

rest

text-field

Reviewed

govuk-input: white, a 2px #0b0c0c edge, square, 40px, 19px text with 5px padding. Width classes size it to the expected answer (width-10 for a postcode). Focus thickens the edge to 4px and adds a 3px yellow outline.

Variants1 found, 1 named by the product

Loading…

width-10class×5The postcode field in the address fieldset.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-ottmhp40px, 5px padding, 19px.40px5px19px—×5

StatesOf its first variant, width-10.

Loading…

rest

Loading…

focus

Loading…

disabled · set by the capture

Still missing

  • The error state (a red edge and message) wasn't read.

select

Reviewed

Variants1 found, 0 named by the product

Loading…

defaulttheir docs×1A native select styled like the input: 2px black edge, 40px. The country list on Check if you need a UK visa.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-ottmhp40px5px19px—×1

StatesOf its first variant, default.

Loading…

rest

Loading…

focus

Loading…

disabled · set by the capture

combobox

Reviewed

Variants1 found, 1 named by the product

Loading…

defaultclass×5The header's search field: 50px, a 2px black edge on three sides, the blue submit button closing the fourth.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-679sch50px, 19px.50px6px19px—×5

StatesOf its first variant, default.

Loading…

rest

Loading…

focus

Loading…

disabled · set by the capture

card

Reviewed

GOV.UK draws few boxes. Panels are flat colored blocks (the green confirmation), related content hangs under a 2px blue top rule, and the summary card is a 1px #cecece box with a grey title band. No card has a shadow or radius.

Variants4 found, 1 named by the product

Loading…

confirmationclass×1govuk-panel: the green block with a big date, The next bank holiday is 25 December.

Loading…

related contentnamed by AI×6A 2px #1d70b8 rule over a heading and links.

Loading…

feedbacknamed by AI×5Is this page useful?: the pale blue #f4f8fb band with a 1px #8eb8dc top rule.

No copy

summary cardtheir docs×3A 1px #cecece box with a #f3f3f3 title band (Lead tenant).

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-15zhf5————×16

StatesOf its first variant, confirmation.

Loading…

rest

Left outLooks the capture put here that are not this component.

  • v-dzjbaithe next-page link block at the end of a guide: see pagination

Still missing

  • The notification banner (a 5px blue frame) wasn't placed in the grid.

separator

Reviewed

Variants1 found, 0 named by the product

Loading…

footer rulenamed by AI×51px #8eb8dc across the pale blue footer.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-15zhf5————×5

StatesOf its first variant, footer rule.

Loading…

rest

breadcrumbs

Reviewed

govuk-breadcrumbs: 16px black underlined links split by chevrons.

Variants1 found, 0 named by the product

Loading…

defaulttheir docs×10Home › Working, jobs and pensions.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-f5wwx119px0px16px—×10

StatesOf its first variant, default.

Loading…

rest

Loading…

focus

pagination

Reviewed

govuk-pagination: numbered pages as 19px underlined blue links, Previous and Next in bold with an arrow. Long guides use the block form: Previous or Next over the page's title.

Variants3 found, 0 named by the product

Loading…

blocktheir docs×3Previous over the page's title: Warnings and insurance.

Loading…

previoustheir docs×2Bold, an arrow: Previous page.

Loading…

page numbernamed by AI×21, 2, 3: underlined blue at 400.

Sizes2 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-4dl5fr19px with a 15px arrow.25px0px19px15x13×4
blocknamed by AITwo lines, 30px padding.50px30px19px15x13×3

StatesOf its first variant, block · block.

Loading…

rest

Loading…

hover

Loading…

pressed

Loading…

focus

Still missing

  • The current page (a blue box with white numerals) reads only as selected.

field

Reviewed

Variants2 found, 0 named by the product

Loading…

option labelnamed by AI×9A checkbox or radio label: 19px at 400.

Loading…

questionnamed by AI×2A label that is the page's question: bold.

Sizes2 found, 1 named by the product

SizeHeightPaddingTextIconSeen
lclassgovuk-label--l: 36px on a 40px line.——36px—×2
defaultnamed by AI19px on a 25px line.——19px—×9

StatesOf its first variant, option label · default.

Loading…

rest