Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Image Modified

Image Modified

Text Area

Image Modified

Image Modified

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

Image Modified

Image Modified

Date Picker

Image Modified

Image Modified

Usage & Behavior

Structure

...

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

Image ModifiedImage Modified

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

Before

After

Image ModifiedImage Modified

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)

Image ModifiedImage ModifiedImage Modified

Image Modified

Hover

Image ModifiedImage Modified

Image ModifiedImage Modified

Active (Editing Mode)

Image ModifiedImage Modified

Image Modified

Image Modified

Saving

Image ModifiedImage ModifiedImage Modified

Image Modified

Read Only

Image Removed
Inline Text Area.pngImage Added

Image Removed
Inline Text Field.pngImage Added
Image Removed
Inline Dropdown Menu.pngImage Added
Image Removed
Inline Date Picker.pngImage Added

Error

Image ModifiedImage Modified

Image ModifiedImage Modified

Warning

Image ModifiedImage Modified

Image ModifiedImage Modified

Focused

Image Modified

Image Modified

Image ModifiedImage Modified

Interaction

Text Inputs

  • When the input field is active, Save and Cancel options will be shown.

  • When Save is selected:

    • a spinning progress indicator is shown,

    • the changes are applied, and

    • the input returns to the regular state.

  • When Cancel is selected:

    • unapplied changes are discarded, and

    • the input returns to the regular state.

  • Clicking outside of the text input field:

    • returns it to the regular state, and

    • applies any changes.

...

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

Image Modified

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

Image Modified

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

Image Modified

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

Image Modified

Code

...