These components are used for forms, tools, and applications; they typically are not used on the static USPS.com® website, though some are used on the Postal Store and other ecommerce and marketing sites.
Checkboxes
Checkboxes are used when the customer can make one or multiple selections from the available options. Checkboxes should be vertically aligned unless there is a specific business or use case for horizontal alignment.
Like Radio Buttons, the use of a visible Input Field title is not required, but semantic grouping is. Unlike Radio Buttons, checkboxes can be arranged in columns when there are a larger number of options.
Make a Selection:
Input Field
Width: 20px
Height: 20px
Padding: 0px
Margin: 0px, 5px, 0px, 0px
Background: White #FFFFFF
Checked Box
Background: White #FFFFFF
Content: “\2714”
Font: Fontello
Style: 29px
Make a Selection:
Field Label
(if used)
Font: Helvetica Neue Roman
Style: 12px, Title Case
color: Text Gray #595959
Margin: Bottom 5px
Text Field
Font: Helvetica Neue Roman
Style: 14px, Title Case
color: USPS Digital Blue #333366
Padding-left: 7px
Error State
(if used)
Font: Helvetica Neue Roman
Style: 13px, Sentence Case
color: USPS Digital Red #E71921
Margin: Top 5px
Dropdowns
Use Dropdowns when a customer has multiple options to choose from, for instance when selecting a state. They’re especially useful when space is limited.
Most Dropdowns across USPS.com only allow a single dropdown list option; however, there are a few exceptions (e.g., the Missing Mail Color Dropdown).
Input Field
Width: Variable
Height: 44px
Padding: 5px 10px 5px 10px
Border: 1px, USPS Digital Blue #333366
Border-radius: 3px
Clear Space: Left/Right 15px
Background: White #FFFFFF
Chevron: /assets/images/default/blue-caretdown.svg
Field Label
Font: Helvetica Neue Roman
Style: 12px, Title Case
Color: Text Gray #595959
Margin: Bottom 5px
Field Text
Font: Helvetica Neue RomanStyle: 14px, Title Case
Color: USPS Digital Blue #333366; Text Hover/Form Field Rules Gray #999999 for ‘ghost text’
Input Field
Background: White #FFFFFF
Border: 1px, USPS Digital Red #E71921
Font: Helvetica Neue Roman
Style: 12px, Sentence Case
Color: USPS Digital Red #E71921
Input Fields
There are diverse uses of Input Fields including single-line discrete free-text form fields (e.g., First Name), multi-line comment or description fields (e.g., Special Instructions), and search.
Input Fields may include features such as spellcheck, blocking special characters, auto complete/auto suggest, and remaining character counters.
Input Field
Width: Variable
Height: 44px
Padding: 5px 10px 5px 10px
Border: 1px, USPS Digital Blue #333366
Border-radius: 3px
Clear Space: Left/Right 15px
Background: White #FFFFFF
Field Label
Font: Helvetica Neue Roman
Style: 12px, Title Case
Color: Text Gray #595959
Margin: Bottom 5px
Field Text
Font: Helvetica Neue RomanStyle: 14px, Title Case
Color: USPS Digital Blue #333366; Text Hover/Form Field Rules Gray #999999 for 'ghost text'
Input Field
Background: White #FFFFFF
Border: 1px, USPS Digital Red #E71921
Font: Helvetica Neue Roman
Style: 12px, Sentence Case
Color: USPS Digital Red #E71921