Text inputs with modifiers that allow the ability to input data in a structured format.
On this page
This demo lets you preview the formatted text input components and configuration options. Used for collecting user input that requires a specific format, such as dates, currencies, or phone numbers. It provides visual cues and structure to help users enter data correctly.
There are six formatted input variations.
Choose from either an icon or text string shown before or after content to define the format of the input. Icons include country flags. Use for countries, emails with domains for example “@aexp.com”, or “https://” for websites.
Format the correct currency for your locale. The react component formats currency based on page locale.
Date input uses the format labels to give users a persistent example of expected date format. The date input collects numbers for dates format based on local.
Allows users to show or hide input content, this could be used for passwords or other sensitive data. Password input will hide the characters as a user enters them. A user can choose to toggle on the character visibility by clicking the view icon toggle button at the end of the input field. Remember to provide detailed helper text listing any requirements related to the data format, such as types of characters allowed or date structure.
A composite input, containing a select and input. Used to allow users to choose their country calling code, when entering a phone number.
A copy link input is a combo text input with button that automatically copies the text input’s value to the device’s clipboard.
Connect with the DLS Team on Slack or by email.
Check out additional resources.