Youtap Tech Indonesia
Breadcrumbs

Select fields (Dropdown)

Note

Only use preset selection fields when you are sure that all options can be covered with the options presented in the dropdown.

Use a text input otherwise.


Introduction

Selection fields provide the user with a preset list to choose from. It makes it easier for them to find the right option for the field required as it limits the answers a user can choose from.

 Figma component - Selection field


This section includes the following:


01. Specifications

Default states

Default
SelectDefault+.png

Variant A - No Value

select-noValue

Specifications

Size

width - 327px

height - 56px

Radius

corner-rad - see radius

Outline

outline colour - tertiary-black-60

outline-weight - 1pt, inside

Background

background - tertiary-white

Label

label colour - primary

label size - label1

margin-left - SP_2

alignment - left

Mandatory indicator

asterisk colour - primary

Input

input type - list selection

value - null

End adornment (req.)

icon - 24x24px

icon - arrow down

margin - SP_2

padding to text - SP_1

icon colour - primary

Variant B - Value

select-value

Specifications

Size

width - 327px

height - 56px

Radius

corner-rad - see radius

Outline

outline colour - tertiary-black-60

outline-weight - 1pt, inside

Background

background - tertiary-white

Label

label colour - primary

label size - label2

position - center to outline

margin-left - SP_1

padding inside field - 4px each side

background - tertiary-white

alignment - left

Mandatory indicator

asterisk colour - primary

Input

input type - list selection

value - not null

input colour - primary

input size - body1

margin - SP_2

alignment - left

End adornment (req.)

icon - 24x24px

icon - arrow down

margin - SP_2

padding to text - SP_1

icon colour - primary


Error
SelectDefaultError+.png

Variant A - No Value

select-noValue-error

Specifications

Size

width - 327px

height - 56px

Radius

corner-rad - see radius

Outline

outline colour - secondary2

outline-weight - 1pt, inside

Background

background - tertiary-white

Label

label colour - primary

label size - label1

margin - SP_2

alignment - left

Mandatory indicator

asterisk colour - primary

Input

input type - list selection

value - null

End adornment (req.)

icon - 24x24px

icon - arrow down

margin - SP_2

padding to text - SP_1

icon colour - primary

Variant B - Value

select-value-error

Specifications

Size

width - 327px

height - 56px

Radius

corner-rad - see radius

Outline

outline colour - secondary2

outline-weight - 1pt, inside

Background

background - tertiary-white

Label

label colour - primary

label size - label2

position - center on outline

margin - SP_1

padding inside field - 4px each side

background - tertiary-white

Mandatory indicator

asterisk colour - primary

Input

input type - list selection

value - not null

input colour - secondary2

input size - body1

margin - SP_2

alignment - left

End adornment (req.)

icon - 24x24px

icon - arrow down

margin - SP_2

padding to text - SP_1

icon colour - primary



Hover states (Desktop ONLY)

Default
SelectHover+.png

Variant A - No Value

select-noValue-hover

Specifications

Size

width - 327px

height - 56px

Radius

corner-rad - see radius

Outline

outline colour - tertiary-black-80

outline-weight - 1pt, inside

Background

background - tertiary-white

Label

label colour - primary

label size - label1

margin-left - SP_2

alignment - left

Mandatory indicator

asterisk colour - primary

Input

input type - list selection

value - null

End adornment (req.)

icon - 24x24px

icon - arrow down

margin - SP_2

padding to text - SP_1

icon colour - primary

Variant B - Value

select-value-hover

Specifications

Size

width - 327px

height - 56px

Radius

corner-rad - see radius

Outline

outline colour - tertiary-black-80

outline-weight - 1pt, inside

Background

background - tertiary-white

Label

label colour - primary

label size - label2

position - center to outline

margin-left - SP_1

padding inside field - 4px each side

background - tertiary-white

alignment - left

Mandatory indicator

asterisk colour - primary

Input

input type - list selection

value - not null

input colour - primary

input size - body1

margin - SP_2

alignment - left

End adornment (req.)

icon - 24x24px

icon - arrow down

margin - SP_2

padding to text - SP_1

icon colour - primary


Error
SelectHoverError+.png

Variant A - No Value

select-noValue-hover-error

Specifications

Size

width - 327px

height - 56px

Radius

corner-rad - see radius

Outline

outline colour - secondary2

outline-weight - 1pt, inside

Background

background - tertiary-white

Label

label colour - primary

label size - label1

margin - SP_2

alignment - left

Mandatory indicator

asterisk colour - primary

Input

input type - list selection

value - null

End adornment (req.)

icon - 24x24px

icon - arrow down

margin - SP_2

padding to text - SP_1

icon colour - primary

Variant B - Value

select-value-hover-error

Specifications

Size

width - 327px

height - 56px

Radius

corner-rad - see radius

Outline

outline colour - secondary2

outline-weight - 1pt, inside

Background

background - tertiary-white

Label

label colour - primary

label size - label2

position - center on outline

margin - SP_1

padding inside field - 4px each side

background - tertiary-white

Mandatory indicator

asterisk colour - primary

Input

input type - list selection

value - not null

input colour - primary

input size - body1

margin - SP_2

alignment - left

End adornment (req.)

icon - 24x24px

icon - arrow down

margin - SP_2

padding to text - SP_1

icon colour - primary


Focused states

Default
SelectFocus+.png

Variant A - No Value

select-noValue-focused

Specifications

Size

width - 327px

height - 56px

Radius

corner-rad - see radius

Outline

outline colour - secondary1

outline-weight - 2pt, inside

Background

background - tertiary-white

Label

label colour - primary

label size - label2

position - center to outline

margin-left - SP_1

padding inside field - 4px each side

background - tertiary-white

alignment - left

Mandatory indicator

asterisk colour - primary

Input

input type - list selection

value - null

End adornment (req.)

icon - 24x24px

icon - arrow down

margin - SP_2

padding to text - SP_1

icon colour - primary

Variant B - Value

select-value-focused

Specifications

Size

width - 327px

height - 56px

Radius

corner-rad - see radius

Outline

outline colour - secondary1

outline-weight - 2pt, inside

Background

background - tertiary-white

Label

label colour - primary

label size - label2

position - center to outline

margin-left - SP_1

padding inside field - 4px each side

background - tertiary-white

alignment - left

Mandatory indicator

asterisk colour - primary

Input

input type - list selection

value - not null

input colour - primary

input size - body1

margin - SP_2

alignment - left

End adornment (req.)

icon - 24x24px

icon - arrow down

margin - SP_2

padding to text - SP_1

icon colour - primary


List selection for open selection (Focused state)

Selected list item

Unselected list item

Screenshot 2023-04-19 at 12.25.19 PM.png

list-selected

Screenshot 2023-04-19 at 12.25.28 PM.png

list-unselected

Specifications

Screenshot 2023-04-27 at 4.19.19 PM.png

background - secondary2-20

text-colour - primary

text-size - body2

background - tertiary-white

text-colour - primary

text-size - body2

Use when

  • Customer hovers over a selection (Desktop ONLY)

  • Customer has selected an element in the list and opens it back up.

Use when

  • The list item was/is not selected by the customer.

Don’t use when

  • The list item was/is not selected by the customer.

Don’t use when

  • Customer has selected the list item.


Error
SelectFocusError+.png

Variant A - No Value

select-noValue-focused-error

Specifications

Size

width - 327px

height - 56px

Radius

corner-rad - see radius

Outline

outline colour - secondary2

outline-weight - 2pt, inside

Background

background - tertiary-white

Label

label colour - primary

label size - label1

position - center to outline

margin - SP_1

padding inside field - 4px each side

background - tertiary-white

alignment - left

Mandatory indicator

asterisk colour - primary

Input

input type - list selection

value - null

End adornment (req.)

icon - 24x24px

icon - arrow down

margin - SP_2

padding to text - SP_1

icon colour - primary

Variant B - Value

select-value-focused-error

Specifications

Size

width - 32px

height - 56px

Radius

corner-rad - see radius

Outline

outline colour - secondary2

outline-weight - 2pt, inside

Background

background - tertiary-white

Label

label colour - primary

label size - label2

position - center to outline

margin - SP_1

padding inside field - 4px each side

background - tertiary-white

alignment - left

Mandatory indicator

asterisk colour - primary

Input

input type - list selection

value - not null

input colour - primary

input size - body1

margin - SP_2

alignment - left

End adornment (req.)

icon - 24x24px

icon - arrow down

margin - SP_2

padding to text - SP_1

icon colour - tertiary-60


Inactive states

SelectInactive+.png

Variant A - No Value

select-noValue-inactive

Specifications

Size

width - 327px

height - 56px

Radius

corner-rad - see radius

Outline

outline colour - tertiary-black-60

outline-weight - 1pt, inside

Background

background - tertiary-white

Label

label colour - tertiary-black-60

label size - label1

position - center to outline

margin-left - SP_2

padding inside field - 4px each side

background - tertiary-white

alignment - left

Mandatory indicator

asterisk colour - tertiary-black-60

Input

input type - list selection

value - null

End adornment (req.)

icon - 24x24px

icon - arrow down

margin - SP_2

padding to text - SP_1

icon colour - primary

Variant B - Value

select-value-inactive

Specifications

Size

width - 327px

height - 56px

Radius

corner-rad - see radius

Outline

outline colour - tertiary-black-60

outline-weight - 1pt, inside

Background

background - tertiary-white

Label

label colour - tertiary-black-60

label size - label2

position - center to outline

margin-left - SP_1

padding inside field - 4px each side

background - tertiary-white

alignment - left

Mandatory indicator

asterisk colour - tertiary-black-60

Input

input type - list selection

value - not null

input colour - tertiary-black-60

input size - body1

margin - SP_2

alignment - left

End adornment (req.)

icon - 24x24px

icon - arrow down

margin - SP_2

padding to text - SP_1

icon colour - tertiary-60


Options for ALL Selection fields

Option A - Selection field size

Example - Small

Example - Default

Screenshot 2023-04-19 at 11.47.53 AM.png

selectS-value

Screenshot 2023-04-19 at 11.47.08 AM.png

select-value

Use when

  • Screen size is small.

Use when

  • Screen size allows for it.

Don’t use when

  • Default size can be used.

Don’t use when

  • Screen size is small.


Specifications

This smaller size of the textfield input functions the same way a default size would. The only difference is their height:

  • 40px


Possible combinations

This option can be combined with all other options.


How to find variation on Figma
Figma overview
SelectSizeFigma.png

The user can choose between the sizes

  • Small (40px height)

  • Default/ Normal (56px height)


Option B - Input value (mapped out above)

Example - NO

Example - YES

Screenshot 2023-04-19 at 11.52.42 AM.png

select-noValue

Screenshot 2023-04-19 at 11.52.51 AM.png

select-value

Use when

  • User has not selected a value into the input field yet.

Use when

  • User selected a value from the dropdown list.

Don’t use

  • when there is an input value.

Don’t use when

  • There is no value input from the user yet.


Possible combinations

This option can be combined with all other options.


How to find variation on Figma
Figma overview
SelectValueFigma.png


The user can switch between an selection value or not having on when designing the field.

The related switch is called ‘Has value’.


Option C - Mandatory/Required fields

Example - NO

Example - YES

Screenshot 2023-04-19 at 11.58.38 AM.png

select-value-noReq

Screenshot 2023-04-19 at 12.02.15 PM.png

select-value

Use when

  • Selection is not required to complete a process, but is additional information that supports the customer experience.

Use when

  • Selection is essential to completing the process and can’t be skipped.

  • The use of this will trigger an error and keep buttons inactive until information is given.

Don’t use when

  • Selection is essential to completing a process and can’t be skipped.

Don’t use when

  • Selection is optional information that adds to the customer experience, but is not essential.


Specifications

The mandatory/ required state is indicated by an asterisk (*) at the end of the label.

Screenshot 2023-04-27 at 4.22.52 PM.png

Text style - style of the related label (for this instance: label1)

Text colour - style of the related label (for this instance: primary)


Possible combinations

This option can be combined with all other options


How to find variation on Figma
Figma overview
SelectReqFig.png


When a textfield is mandatory or required, the user can switch it on and off in the designs in Figma.

The related switch is called ‘required’.


Option D - Error state

Example - NO

Example - YES

Screenshot 2023-04-19 at 12.02.15 PM.png

select-value

Screenshot 2023-04-27 at 4.50.42 PM.png

select-value-error

Use when

  • There has not been an error check triggered yet.

  • Customer has selected a value from the list selection.

Use when

  • Customer has not selected an input, BUT it is required.

Don’t use when

  • Input is not correct or not given by customer.

Don’t use when

  • Customer selected a list item.

  • No error check has been triggered.


Possible combinations

This option can be combined with all other options.


How to find variation on Figma
Figma overview
SelectErrorFig.png


When the textfield fires an error (in case it is mandatory and does not fit the necessary criteria), the Figma user changes the state to ‘error’ on.

The related field is ‘error’.

The default state is off.


Option E - Start Adornment (sA)

Example - NO

Example - YES

Screenshot 2023-04-28 at 10.37.17 AM.png

select-value

Screenshot 2023-04-28 at 10.34.18 AM.png

select-value-error

Use when

  • there is no extra information needed to convey the purpose of the selection field

Use when

  • there is an extra icon needed to support the purpose of the selection field

Don’t use when

  • it is not clear what the selection field is for.

Don’t use when

  • the icon can’t be clearly identified by the customer


Specifications
Screenshot 2023-04-28 at 10.31.45 AM.png


Icon - see Iconography library

Icon colour - primary (duo tone)

Icon size - default


Possible combinations

This option can be combined with all other options, however, be considerate when to use it as it adds additional information to the screen and could overwhelm the customer.


How to find variation on Figma
Figma overview
SelectErrorFig.png


When the textfield fires an error (in case it is mandatory and does not fit the necessary criteria), the Figma user changes the state to ‘error’ on.

The related field is ‘error’.

The default state is off.


Option F - End Adornment (eA)

This is a requirement for the selection field and won’t change across any selection field.



Option G - Help text

Example - NO

Example - YES

Example - YES-ERROR

Screenshot 2023-04-19 at 12.13.30 PM.png

select-noValue

Screenshot 2023-04-19 at 12.13.50 PM.png

select-noValue-help

Screenshot 2023-04-20 at 4.31.55 PM.png

select-noValue-focused-helpError

Use when

  • There is no additional information to tell to the customer.

  • There is no further action required by the customer.

Use when

  • Customer requires further information for what exactly this selection field relates to.

Use when

  • There is an error that is essential to rectify before moving on.

Don’t use when

  • Customer requires extra information, e.g. the textfield is mandatory.

Don’t use when

  • There is no further information needed by the customer.

  • There is an error that is essential to rectify before moving on.

Don’t use when

  • The information is only additional, not essential to the customer.


Specifications
Screenshot 2023-04-27 at 5.40.02 PM.png

Text size - label2

Text colour - primary


Possible combinations

This option can be combined with all other options EXCEPT ‘Option I - open/closed’ for the open selection.


How to find variation on Figma
Figma overview
HelperFigmaSelect.png

The helper text can be switched on and off for most selection field state.

When ‘helperText’ is switched on, a user can

  • add an icon from the icon library (only allowed when ‘helpIcon’ switched on)

  • add a value to the help text via ‘hT value’ to show more information to the user.



Option H - Active/ Inactive

Example - active

Example - inactive

PICTURE TBC

text-noValue - active

PICTURE TBC

text-noValue-inactive

Use when

  • Customer is required to make a selection.

  • Customer is allowed to select a different list item.

Use when

  • Customer is not allowed to change value of the selection.

Don’t use when

  • Customer is not allowed to change value of the selection field.

Don’t use when

  • Customer is allowed to change the selection.


Possible combinations

This option can be combined with the ALL options EXCEPT:

  • Option D - Error state


How to find variation on Figma
Figma overview
Inactive.png


A field can be made inactive, meaning that the user can’t change its input anymore.


The Figma user can switch this state on and off via ‘inactive’.

The default state is off.


Option I - closed/ open TBD

Example - closed

Example - open

Screenshot 2023-04-19 at 12.21.00 PM.png

text-noValue

Screenshot 2023-04-19 at 12.22.00 PM.png

text-noValue-focused-open

Use when

  • Customer has not selected the field yet.

Use when

  • Customer wants to make a selection for that particular selection field.

Don’t use when

  • Customer is making a selection

Don’t use when

  • Customer has not selected the field.


Possible combinations

This option can be combined with the ALL options EXCEPT:

  • Option D - Error state


How to find variation on Figma
Figma overview
SelectionFig.png


The user can select from a list of options.

With the field ‘SelectionOpen’, the Figma user can decide if the field is shown in an open format or closed.

Closed means that the user either hasn’t selected a value or has already selected a value and moved on to another field.

The default for this field is closed, except for the focused state.


02. Usage and application

Standard states

Default States
Default
SelectDefault.png

Use when

Don’t use when

  • Customer is not interacting with the textfield.

  • Customer has selected the textfield.

  • Customer has entered text input to the textfield.


Error
SelectDefaultError.png

Use when

Don’t use when

  • Customer is not interacting with the textfield.

  • Customer has completed a step and it is a final validation of the input within the text field.

  • Textfield is mandatory/ required.

  • Customer has currently selected the textfield in which the error occurred.



Hover state (Desktop ONLY)
Default
SelectHover.png

Use when

Don’t use

  • Customer hovers their mouse over the textfield.

  • in any other circumstance besides hovering on desktop.


Error
SelectHoverError.png

Use when

Don’t use when

  • Customer hovers their mouse over the textfield that fired an error.

  • in any other circumstance besides hovering over a textfield with an error indication on desktop.



Focused state
Default
SelectFocus.png

Use when

Don’t use

  • Customer is typing within the textfield.

  • The current textfield is selected by the customer.

  • Customer has not selected the textfield.


Error
SelectFocusError.png

Use when

Don’t use when

  • Customer is typing within the textfield that has an error.

  • The current textfield is selected by the customer.

  • The current textfield is selected by the customer, but does not have an error.

  • Customer has not selected the textfield that has an error.



Inactive state
SelectInactive.png

Use when

Don’t use

  • Customer is not allowed to make changes to input.

  • Customer has not yet finished the steps that they’d needed to complete before activating the textfield.

  • Customer is allowed to edit the textfield.

  • Customer is required to enter input to the textfield.



03. Interaction behaviour

Whenever there is a selection follow the following order of states:

Selection field variant

Visual reference

User behaviour

Default behaviour

Default Var A →

Screenshot 2023-04-20 at 4.23.43 PM.png


User has not yet selected the input field and there is no input yet.

→ Focused open →

Screenshot 2023-04-20 at 4.24.44 PM.png

User selects current input field and selects a value from the dropdown list underneath.

→ Focused Var B →

Screenshot 2023-04-20 at 4.26.20 PM.png

User selected a value

→ Default Var B

Screenshot 2023-04-20 at 4.26.51 PM.png

User moved on to another input field.


ERROR IS TRIGGERED

Error Var A

Screenshot 2023-04-20 at 4.35.26 PM.png


User has not yet given input to a required field, but has pressed a CTA to move forward OR started entering value for the next input field. (this usually includes a helptext)

Error Var B

Screenshot 2023-04-20 at 4.36.37 PM.png


User has selected something, however, it is the wrong input. (This usually includes a helptext)

Focused state

Screenshot 2023-04-20 at 4.24.44 PM.png

User has clicked on the selection that fired an error and starts changing the value.


📱

04. Accessibility



05. Resources