Input Field

Input fields are an easily discoverable, efficient, and accessible way for users to input information. They typically appear in forms or dialogue modals.

Types

There are a few different types of input field that the user can interact with:

Input Type Type
text Text Default text input
  
    
  •       
          
            
          
        
      
    Input Type Type
    text Search Used to input one or more terms to conduct a search.
      class="input-text-wrapper is-with-end-button u-width-full-line u-max-width-500"
      style="--amount-of-buttons:1"
    >
      
      
      
        class="button is-text is-only-icon"
        aria-label="Clear search"
        style="--button-size:1.5rem;"
      >
        
      
    Input Type Type
    password Password Used to input passwords or other sensitive data.
    - Input with two buttons Displays up to two trailing icons to provide additional functionality to the text (for example: clear, copy, hide, edit).
      
        
  •       
          
            
            
              
            
          
        
        
  •       
          
            
            
              
                class="options-list-button"
                aria-label="show password / hide password"
                type="button"
              >