Civic / public service
GOV.UK-style public service: plain words, one thing per page, big type, black and white with one link blue, usable by everyone.
Try it
Ground
#ffffff
Surface
#f3f2f1
Text
#0b0c0c
Accent
#1d70b8
- Type
- sans
- Radius
- 0px
- Material
- border-left:10px solid #1d70b8
This screen uses only the look's tokens. Click, type and toggle it. The libraries below are what your agent installs to build the real thing.
What your agent builds it with
Component kits
GOV.UK FrontendThe GOV.UK Design System's HTML, Sass and JS: plain, accessible form and content components for public services.a UK government or public sector service built to the GOV.UK Service Standard
a US federal, state or local government site: use uswds
Primitives
React Aria ComponentsAdobe's unstyled React components with the deepest accessibility, i18n and touch handling.an app that must pass a formal accessibility audit (government, health, finance, enterprise procurement)
a marketing landing page: the extra semantics buy nothing, use shadcn-ui with magic-ui
Feedback
SonnerOpinionated toast component with stacking, swipe to dismiss and promise toasts; ports for Vue, Svelte, Solid and Angular.confirming a background action finished away from where it started (Saved, Invite sent)
form validation errors: show them inline next to the field
Command menus
cmdkFast, unstyled React command menu with built-in fuzzy filtering.a Cmd+K palette in a SaaS app: jump to page, run action, switch workspace
you want nested scopes, breadcrumbs and tuned motion out of the box: use kobra's command-menu
Icons
LucideClean 24px stroke icons, one component per icon, the default set for shadcn/ui.app UI icons in a shadcn/ui or Base UI project (buttons, menus, sidebars)
brand or company logos: Lucide 1.x ships no brand icons, use simple-icons
Charts
RechartsComposable SVG charts for React; the engine behind shadcn/ui charts.standard line, area, bar and pie charts in a React dashboard
more than ~5,000 points or real-time streams: SVG slows down, use uplot or echarts
Tables
TanStack TableHeadless table logic: sorting, filtering, pagination, selection and grouping, rendered with your own markup.a sortable, filterable data table styled by your own kit (shadcn-ui's Data Table is built on it)
a spreadsheet-like grid with cell editing and keyboard navigation out of the box: use ag-grid
Editors
TiptapHeadless rich-text editor framework on ProseMirror, with 100+ MIT extensions.a rich text editor for comments, posts or descriptions with bold, lists, links and mentions
a flowchart or node editor: use xyflow
The plan your agent reads
For “landing page with a signup form, a pricing table and toasts” in Civic / public service: the plan tool's answer, word for word
look: Civic / public service (civic, corporate family)
framework: react (assumed; pass framework)
build with every line below: run its install, build its part with it (usage under it), then adapt it to the rules below. A hand-written stand-in for a listed part (a <details> for an Accordion) is a miss
component-kit (its parts for this page) -> govuk-frontend: The GOV.UK Design System's HTML, Sass and JS: plain, accessible form and content components for public services. (look's own kit) | npm i govuk-frontend | use its Button, Table, Text input | else: mantine, boardui
feedback (toasts) -> sonner: progress of an async task the user can walk away from (toast.promise) | npm i sonner | else: skullet, shadcn-ui
import { Toaster, toast } from 'sonner'
<Toaster position="bottom-right" />
<button onClick={() => toast('Invite sent', { action: { label: 'Undo', onClick: undoInvite } })}>Invite</button>
icons (every icon on the page: one size and stroke, set once) -> lucide: Clean 24px stroke icons, one component per icon, the default set for shadcn/ui. (look's pick) | npm i lucide-react
import { LucideProvider, Search } from 'lucide-react'
<LucideProvider size={16} strokeWidth={1.5}>
<Search aria-hidden />
</LucideProvider>
done when: every package above is imported where its part is, and no listed part is hand-written
vs: Not healthcare: no brand warmth, only the service. Not corporate dashboard: for one-time users finishing a task, not daily experts. Not minimal: deliberately plain and heavy-handed in its clarity, with thick focus states.
type: One plain sans (GDS Transport on GOV.UK, falling back to Arial; Public Sans for USWDS): body 19px, page heading 48px bold, subheads 36 and 24px. One question per page, labels above inputs, hint text under the label, content in a two-thirds column.
colour: White ground, near-black text (#0b0c0c), links blue (#1d70b8) and underlined, visited purple (#4c2c92), green (#00703c) only for the primary button, red (#d4351c) for errors. Focus is a thick yellow (#ffdd00) block with a black underline.
motion: None. Pages change by full navigation; no animation beyond the browser's own.
avoid: icons standing in for words; placeholder text instead of labels; several questions on one page; links without underlines; custom form controls that break with assistive tech
refs: name a real one first: the user's, else search Mobbin, Refero or Inspo (free) if connected, else GOV.UK gov.uk, GOV.UK Design System design-system.service.gov.uk or a DESIGN.md from styles.refero.design or devault.design, and say how to connect one (get references)
brief first: build every part it names before styling; the first screen shows the main content working, not an empty hero; at desktop width fill it (columns, a side panel), never a phone-width column in empty space
never, whatever the look: text under 4.5:1 contrast (on glass, over its lightest backdrop); a headline clipped or split mid-word at 390px; a font named, not loadedRules
- Type
- One plain sans (GDS Transport on GOV.UK, falling back to Arial; Public Sans for USWDS): body 19px, page heading 48px bold, subheads 36 and 24px. One question per page, labels above inputs, hint text under the label, content in a two-thirds column.
- Colour
- White ground, near-black text (#0b0c0c), links blue (#1d70b8) and underlined, visited purple (#4c2c92), green (#00703c) only for the primary button, red (#d4351c) for errors. Focus is a thick yellow (#ffdd00) block with a black underline.
- Motion
- None. Pages change by full navigation; no animation beyond the browser's own.
Goes wrong when
- icons standing in for words
- placeholder text instead of labels
- several questions on one page
- links without underlines
- custom form controls that break with assistive tech
Not to be confused with
- Healthcareno brand warmth, only the service.
- corporate dashboardfor one-time users finishing a task, not daily experts.
- Minimaldeliberately plain and heavy-handed in its clarity, with thick focus states.
Also in Corporate / dashboard
Brief words that land here
government · gov.uk · govuk · government service · public service · public sector · civic · council · municipal · citizen · uswds · permit application · benefits application







