Breadcrumb
  1. Home
  2. Design System
  3. Components
  4. Map

Map

A map allows a user to select content by state or region.

Where it goes: In page content

Required or optional: Optional

Use: When data is based on location

Don’t use: When you can present the information easier as a list or a table

States, territories, and districts

The map can optionally include U.S. territories or districts such as American Samoa, Federated States of Micronesia, Guam, Marshall Islands, Commonwealth of Northern Mariana Islands, Puerto Rico, and Republic of Palau.

These territories and districts, as well as states that are too small for users to click, tap, or select, show up as their two-letter abbreviation next to the map.

The map will always display states and DC, whereas we’ll only display other territories or districts if we have associated data.

If you don’t have data for every state, the content editor can check the box to “Make Undefined State Inactive” under User Actions. The states without data will appear in gray on the map and users won’t be able to select them. States without data will also not appear in the dropdown.

Additional instructions

Maps don’t display on small screens. They default to a dropdown menu.

Accessibility notes

  • Users can access options through the dropdown menu. It’s not necessary for the map to be accessible to those who use screen readers.
  • Choose colors for states that are easy to distinguish for those who are colorblind. Avoid red/green.

Example

Wide screen

A map of the United States, with two different colors used to differentiate some states. On the right is a list of state abbreviations for the states that are too small to select. Above the map is a dropdown menu with the instructions Select a State.

Medium screen

A dropdown menu with the instructions Select a State, and a Show button next to it.

Note: On a narrow screen, the map is not displayed. Instead, the user can choose a state or territory from a dropdown menu.

Narrow screen

A dropdown menu with the instructions Select a State, and a Show button below it.

Live examples

 A screenshot of a web page with a map titled Virtual Job Fair, with paragraphs of text, and then the dropdown menu and map as described in the previous section.
A screenshot of a web page with a map titled Home Visiting Program: State Fact Sheets. Below that are a few paragraphs of text, a dropdown menu reading Select a State, and then a map of the United States with all the states the same color.
A screenshot of a web page with a map titled National Telehealth Resource Centers. A couple paragraphs of text are followed by a dropdown menu reading Select a Region. Below that is a map of the United States with twelve sections of multiple adjacent states. Each section of states has all the states the same color. Below the map are twelve corresponding colored boxes labeled with text such as Northeast, Mid-Atlantic, and Upper Midwest.
Date Last Reviewed: