InputText

InputText is an extension to an HTML input field with theming and key filtering.

Purpose

The InputText component can be used in fields where the user has full control of what information can be entered. There can also be limitations set for the user to only be able to enter certain information eg. integers.

This component is used within multiple components where users can enter and select data like typeaheads, dropdowns, etc.

Usage

When to use
  • Users can enter information freely
When not to use
  • Users are required to choose from previously created options

Video Recap

Best Practice

Example One

Adding a title to the field so the users know what they are entering.

Example Two

Example Three

Example Four

Winsupply Standards

Testing Demo
Test
testing content here testing content here
Right Aligned Numbers
$21,344.00 |
Numbers in a table like cost, quantity and price are right aligned inside of a table.
Date Format
00/00/2024
Across all domains, the date format should be listed in this way to ensure consistency.
Left Arrow
Right Arrow

Incorrect Usage

Example One

Example Two

Example Three

Example Four

Variants

Default States: Default, Default (Disabled), Error, Error(Disabled)

Hover States: Default, Default (Disabled), Error, Error (Disabled)

Focus States: Default, Default (Disabled), Error, Error (Disabled)

Sizing

Height: 36px

Mobile height: 48px

Applications In Use

No items found.