Styles for the form elements in the Pattern Library are based off the Bootstrap 4.1 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.,
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: