hmrc / design-patterns

Documenting HMRC design patterns
http://hmrc.github.io/assets-frontend/
MIT License
32 stars 4 forks source link

Addresses #178

Open BenSpears1 opened 1 year ago

BenSpears1 commented 1 year ago

Addresses

Address Lookup

Overview

The HMRC address lookup microservice is used to request a user's home or business address. This can be used with UK addresses as well as international addresses.

Many different services across HMRC use address lookup and there is lots of variation in journey, style and content. HMRC address design guidance could keep the address lookup service consistent for the user and ensure all services follow the same proven template.

This pattern is planned to be supplementary to the existing GDS Addresses guidance.

Some considerations

Examples of other services using address lookup

Address lookup staging

https://www.staging.tax.service.gov.uk/lookup-address/test-only/v2/test-setup

Existing patterns

GOV.UK Design System: Addresses

https://design-system.service.gov.uk/patterns/addresses/

DWP Design System: Find an address

https://design-system.dwp.gov.uk/patterns/find-an-address

Office for National Statistics: Ask users for addresses

https://service-manual.ons.gov.uk/design-system/patterns/addresses

Relevant discussions

GitHub:

Issue #23

API discussion

Screenshots of variation across current address lookup services

Screenshot 2023-09-28 at 10 33 08 Screenshot 2023-09-28 at 10 21 13

HMRC address lookup - prototype

Screenshot 2023-09-28 at 10 32 49 Screenshot 2023-09-28 at 10 20 56

Postcode search - Search for land and property information