Phone number

Angular

See content

This component consists of a dropdown menu that allows users to quickly find and select their country or region. It displays the country flag alongside the corresponding country. It is also built with a simple text field in order to let the user complete their phone number.

Usage

Its principal function is to assist users in selecting their country code or region while inputting their phone number.

When to use

Use a phone indicator and country selector when you want your users to enter their phone number

Anatomy

  1. Label: Text that indicate the information needed in this field

  2. Input text: The text that type the user.

  3. Input box: The frame that contains the text typed by the user.

  4. The selected option: a default option when the user just displays the content, or the option selected by the user.

  5. The list of options: text must be in one line. And if the user can scroll, it must be indicated. Information on the dropdown must be keep short and clear.

Label

The label must be understandable and short

The selected option

A preselected option should be used in order to encourage selection.

The list of options

The spelling of each country should be right, and the flag also displayed. This list is sort alphabetically and the most use response can also be place in first choice.

Placement

The phone indicator and country selector should be aligned with the rest of the element on the grid. The list of items must be aligned with the element that showed it. The user must be able to open the dropdown with pressing “Enter” and navigate into with the keyboard’s “arrow Up” and “Down” and select an item. The user can also close the dropdown by with “esc(ape)” key.

Sign in

I have a Michelin ID and/or email

In order to connect to the Design System, I need:

  • A Michelin ID (e.g. F012345)
  • A double authentification (with ForgeRock application or SMS)
  • A password associated to a Michelin ID

I don’t have a Michelin ID and/or email

In order to connect to the Design System, I need:

  • A user ID or an email
  • A password

If you never logged into the Design System, you can submit an access request using this link: Request an access