Inputs and textarea
Text inputs
These are just inputs that allow multiple types of inputs such as numbers, characters and strings.
States | Emotive Type: body-emotive Height: 48px padding: 11px 16px |
Productive Type: body-productive Height: 40px Padding: 8px 12px |
Inline Type: body-inline Height: 32px Padding: 8px 4px |
---|---|---|---|
:enabled | |||
:hover | |||
:active | |||
:focus | |||
:disabled | |||
:skeleton | |||
:valid | |||
:invalid | |||
:password | |||
:icon | |||
:helper | |||
:filled |
Text areas
When there is a time where there are multiple options that are selectable, a combobox is used. You can see the examples below shows the searchable option when the user slects the dropdown.
States | Emotive Type: body-emotive Height: 104px padding: 11px 16px |
Productive Type: body-productive Height: 104px Padding: 8px 12px |
---|---|---|
:enabled | ||
:hover | ||
:active | ||
:focus | ||
:disabled | ||
:skeleton | ||
:valid | ||
:invalid | ||
:helper | ||
:filled | ||
:filled-limit |
Usage
There are instances where users require to enter both short and long form content. Text inputs and text areas enable users to interact with the page and input content and data.
Type | Use |
---|---|
Text | When the expected input is a single line of text. |
Textarea | When the expected input is more than one sentence and requires line breaks. |