Go Main page
Go Main page

Web components

cover

components

Input Dropdown

v.1.0.0 | Saturn

Field that allow users to choose from a list of options in a limited space.

Components

Play with the component with our playground.

Anatomy

Foo

NameDescription

1

Label
Required
Indicates the information requested from the user.

2

Tooltip
Required
Opens a tooltip component.

3

Input container
Required
Background color may vary according to design needs.
width
and
height
fluid (content) - _min height_ 48px - _border_ _border_50_.

4

Error icon
Required
The error icon is used to alert the user about an error.

5

Chevron
Required
By clicking on the button a dropdown with options will be display.

6

Placeholder text
Helps the user understand the information that is requested. It can be hidded when the input is empty, in order to avoid confussion to the user.

Desktop

Foo

NameDescription

1

Selected
Shows which content has been selected by the user.

2

Disabled
Shows which information can’t be selected by the user.

3

Default
Shows which information can’t be selected by the user.

4

Scroll bar
When more than 3 options are displayed, the scroll bar is used to navigate through the options.

Tablet and mobile

Foo

NameDescription

1

Container
Required
Container that shows the text label of the input and the possibility of closing.

2

Selected
Shows which content has been selected by the user.

3

Disabled
Shows which information can’t be selected by the user.

4

Default
Shows which information can’t be selected by the user.

Foo

NameDescription

1

Selected
Shows which content has been selected by the user.

2

Disabled
Shows which information can’t be selected by the user.

3

Default
Shows which information can’t be selected by the user.

4

Scroll bar
When more than 3 options are displayed, the scroll bar is used to navigate through the options.

States

Desktop, tablet and mobile

Default empty

  • A default state communicates an interactive component or element.
  • Default filled

  • The component with user information already entered.
  • Active empty

  • If we click or tap on the input, which will enter an active state allowing us to edit the placeholder information.
  • Active filled

  • If we click or tap on the input, which will enter an active state allowing us to edit the placeholder information.
  • Loading

  • This state communicates a noninteractive component. An animated loader is displayed at the right of the imput container in order to inform the user that the text he had typed is being processed or saved.
  • Error empty

  • The error state communicates that something is not right. In the case of input, it can usually be due to formatting errors or that the field is empty and must be completed.
  • Error filled

  • The error state communicates that something is not right. In the case of input, it can usually be due to formatting errors or that the field is empty and must be completed.
  • Keyboard focus empty

  • When the user looks for the focus through the keyboard it will put the input in this state, so that he can start typing.
  • Keyboard focus filled

  • When the user looks for the focus through the keyboard it will put the input in this state, so that he can start typing.
  • Disabled empty

  • When the user looks for the focus through the keyboard it will put the input in this state, so that he can start typing.
  • Disabled filled / Disabled filled with related info

  • A default state communicates an interactive component or element.
  • Desktop

    Expanded

  • If we click or tap on the input, which will enter an active state allowing us to edit the placeholder information, and will display the dropdown just below the input with the different options to select.
  • Selected

  • User selected an option.
  • Loading first

  • When the database does not find results within 2 seconds, this loading status appears.
  • Loading second

  • When the user scrolls and the database does not find results within 2 seconds, this loading status appears.
  • Empty results

  • When the system didn’t found results for the conditions inserted by the user.
  • Keyboard focus

  • When the user looks for the focus through the keyboard it will put the input in this state, so that he can start typing.
  • Tablet and mobile

    Expanded

  • If we click or tap on the input, which will enter an active state allowing us to edit the placeholder information, and will display the dropdown just below the input with the different options to select.
  • Selected

  • User selected an option.
  • Loading first

  • When the database does not find results within 2 seconds, this loading status appears.
  • Loading second

  • When the user scrolls and the database does not find results within 2 seconds, this loading status appears.
  • With autocomplete search input

  • Users can search and it will show up an autocomplete result.
  • Keyboard focus

  • When the user looks for the focus through the keyboard it will put the input in this state, so that he can start typing.
  • Options

    Mandatory information

  • The asterisk only appears with mandatory information. When the input is optional, this mark will be hidden and the optional prompt will appear.
  • With a tooltip

  • To explain the label, it is possible to add a Tooltip.
  • With an action

  • When the label needs more space for extra information than the tooltip has, we use the Button in the Action version. When the user click on it, a modal window will open.
  • Layout

    Flexible width and text growth

  • The component is flexible, being able to adapt to any width of grid or device that is needed. The help text can grow in a liquid way adapting to their containers.
  • Vertical grouping

  • In vertical groupings, the inputs must keep a distance between them of 24px.
  • Horizontal grouping

  • You can associate other elements to the input horizontally leaving 16px of separation like it shows in the input with action. If they are elements not directly associated to the input you must use the grid.
  • Behaviour

    The dropdown will grow according to the content. When the dropdown is full screen a scroll will show up.

    Foo

    Do's and dont's

    Foo

    Do’s

    Input text can show more than one line in label, placeholder or help text.

    Foo

    Don’t

    It is not allowed to show a placeholder or text in two lines in the input.

    Foo

    Caution

    Be carefull about using long labels in order to correctly display the requested information, as it can make the message difficult to understand.