- iOS:
button, the blank front platein govuk-once/govuk-mobile-ios-app/Production/govuk_ios/Views/DVLA/VehicleCheckSectionView.swift at 8f1fe5da - iOS:
headerView, the small platein govuk-once/govuk-mobile-ios-app/Production/govuk_ios/Views/DVLA/VehicleSummaryView.swift at 8f1fe5da - iOS:
the large platein govuk-once/govuk-mobile-ios-app/Production/govuk_ios/Views/DVLA/VehicleDetailView.swift at 8f1fe5da - iOS:
vehicleRegistrationMarkBody, vehicleRegistrationMarkExtraLargein govuk-once/govuk-mobile-ios-app/Production/govuk_ios/Extensions/GovKit/GOVUKFontBuilder+DVLA.swift at 8f1fe5da - iOS:
DVLA-VRM, the typefacein govuk-once/govuk-mobile-ios-app/Production/govuk_ios/Resources/Fonts/DVLA-VRM.ttf at 8f1fe5da - Figma: none linked yet
- The app prototyping system's number plate, which this follows (app-prototyping-system, exploration-2/components/number-plate)
- SIL Open Font License 1.1, the typeface's licence
Number plate
Shows a vehicle's registration number as it looks on the vehicle: on a yellow number plate, in the DVLA's own typeface. Small on a vehicle's card, large on its detail screen. A white front plate, blank, stands for any vehicle, such as on a search for one.
GOV.UK app component
The typeface
Plates are drawn in DVLA-VRM, the app’s own typeface, copied unchanged from the iOS app. It’s copyright Myles Stevens and licensed under the SIL Open Font License 1.1, with “DVLA - VRM” as a Reserved Font Name. The licence is in DVLA-VRM-OFL.txt, beside the font, and must stay with it. It allows the font to be shared with software, but not changed and keep its name, so it isn’t converted or subsetted.
Examples
Small
HTML
<govuk-app-number-plate>AB71 CDE</govuk-app-number-plate>
Large
HTML
<govuk-app-number-plate size="large">AB71 CDE</govuk-app-number-plate>
Front, blank, as on a vehicle search
HTML
<govuk-app-number-plate variant="front">ABC</govuk-app-number-plate>
Inputs
| Attribute | Type | Default | Description |
|---|---|---|---|
size |
"small" | "large" |
small |
small, as on a vehicle's card, growing with the text size; large, as on a vehicle's detail screen. |
variant |
"rear" | "front" |
rear |
rear: yellow, as the app shows a vehicle's registration. front: white, with a thicker stroke, as the app draws the blank ABC plate on its vehicle search. |
Content
The registration number, as it's written on the plate, such as AB71 CDE.
Outputs
None.
Rules
- Use it only for a vehicle's registration number.
- Write the registration as it's shown on the plate, in capitals, with its space, such as AB71 CDE.
- Use small beside a vehicle's name, such as on its card, and large on its own on the vehicle's detail screen.
- Use the rear plate for a vehicle's registration. Use the front plate for a blank one, ABC, that stands for any vehicle, such as on a search for one.
When not to use it
| When | Use instead |
|---|---|
| For any other number or reference, such as a driving licence number | govuk-app-grouped-list-row type="information" |
| For the user to type in a registration | govuk-app-search-box |
| For a vehicle's other facts, such as its year or fuel | govuk-app-labelled-icon |
iOS