Description

Inline inputs are components that switch between reading and editing modes on the same page.

They should be used where information needs to be quickly and frequently updated, and when it would be undesirable to change the user’s view.

Where inline inputs are used, changes are persisted every time an input is edited. There is no need for a global Save and Cancel.

Types

Type

Usage

Input

Regular (Reading Mode)

Active (Editing Mode)

Inline Text Inputs

Inline text inputs are variants of the standard Text Field and Text Area components.

Text Field

Text Area

Inline Selection Inputs

Inline selection inputs are variants of standard selection components, such as a Drop-down Menu, Date Picker, or Time Picker.

Drop-down Menu

Date Picker

Usage & Behavior

Structure

Inline text inputs consist of:

Inline selection inputs consist of:

Placement and Positioning

Any content below an inline text area should be pushed down the page when the field is active, so that all content is still visible. For example:

Before

After

Inline selection inputs should overlay any content below when active. For example:

Before

After

Default State

Inline inputs may include assistive placeholder text by default. For example:

Otherwise, any previously-entered content will be displayed. For example:

States

State

Inline Text Inputs

Inline Selection Inputs

Text Area

Text Field

Drop-down menu

Date Picker

Regular (Reading Mode)

Inline Text Area - Filled - Regular.pngInline Text Field - Regular filled.pngInline Dropdown Menu - Filled - Regular.pngInline Date Picker - Filled - Regular.png

Hover

Inline Text Area - Filled - Hover.pngInline Text Field - Hover filled.pngInline Dropdown Menu - Filled - Hover.pngInline Date Picker - Filled - Hover.png

Active (Editing Mode)

Inline Text Area - Filled - Active.pngInline Text Field - Active filled.pngInline Dropdown Menu - Filled - Active Menu.pngInline Date Picker - Filled - Active.png

Saving

Inline Text Area - Filled - Saving.pngInline Text Field - Saving filled.pngInline Dropdown Menu - Filled - Saving.pngInline Date Picker - Filled - Saving.png

Read Only

Inline Text Area - Filled - Read-Only.pngInline Text Field - Read-Only filled.pngInline Dropdown Menu - Filled - Read-Only.pngInline Date Picker - Filled - Read-Only.png

Error

Inline Text Area - Filled - Error.pngInline Text Field - Error filled.pngInline Dropdown Menu - Filled - Error.pngInline Date Picker - Filled - Error.png

Warning

Inline Text Area - Warning.pngInline Text Field - Warning.pngInline Dropdown Menu - Warning.pngInline Date Picker - Filled - Warning.png

Focused

Inline Text Area - Filled - Focused.pngInline Text Field - Focused filled.pngInline Dropdown Menu - Filled - Focused.pngInline Date Picker - Filled - Focused.png

Interaction

Text Inputs

All other interactions should follow the standard Text Area or Text Field components.

Selection Inputs

All other interactions should follow the standard component behavior.

Validations and errors

Please refer to the Field Validation page for more information.

Transitions

Please refer to the Progress Indicator page for more information.

Best practices

Use:

Don’t use:

Accessibility Compliance

Unless otherwise specified, see our general compliance information in Fundamentals - Accessibility.

Focus management

See the individual component pages for more information.

Keyboard

Regular (Reading Mode)

Active (Editing Mode)

Tab

Navigates to the next component

Navigates to the next action, including Cancel and Save

Shift + Tab

Navigates to the previous component

Navigates to the previous action

Enter

Enters editing mode

Saves, and returns input to reading mode

Esc

N/A

Cancels, and returns input to reading mode

Design

Zeplin link

Screen thumbnail

Inline Text Field - https://zpl.io/Q0L0nKn

Verint LUX Inline Text Field - States.png

Inline Text Area - https://zpl.io/O0M0nEl

Verint LUX Inline Text Area - States.png

Inline Date Picker - https://zpl.io/L484no6

Verint LUX Inline Date Picker - States.png

Inline Dropdown Menu - https://zpl.io/9qgqzXw

Verint LUX Inline Dropdown Menu - States.png

Code