Information This site is moving

The Pattern Library is moving to its new home on the Summit design system site.

Go to the Summit site
Pattern Library (ver. 1.6)

Note

This page is archived under version 1.6 and is available for reference purposes only. The latest version of Pattern Library is 2.

Forms

Overview

Styles for the form elements in the Pattern Library are based off the Bootstrap 4.0 styles and classes. Some, but not all, of Bootstrap’s styles and classes have been moved into the Pattern Library.

Be sure to use an appropriate type attribute on all inputs (e.g., email for email address, number for numerical information, or tel for telephone numbers) to take advantage of newer input controls available in modern browsers. Additionally, mobile keyboards may switch to the appropriate keyboard layout based on the input type.

Read on for detailed documentation on: