GC Design System Components
Home Start to use Page templates overview Basic page Components overview Breadcrumbs Button Card Checkboxes Container Date input Date modified Details Error message Error summary Fieldset File uploader Footer Grid Header Heading Icon Input Language toggle Link Notice Pagination Radios Screenreader-only Search Select Side navigation Signature Stepper Text Textarea Theme and topic menu Top navigation CSS shortcuts overview Reset styles Responsive layout State Box sizing Container sizing Display Overflow Position Visibility Font Font family Font size Font style Font weight Line height Link colour Link size Link text decoration List style Text align Text colour Text overflow Text transform Word break Margin Padding Align content Align items Align self Flex Flex direction Flex grow Flex shrink Flex wrap Gap Grid columns Grid rows Justify content Justify items Justify self Order Place content Place items Place self Background colour Border colour Border radius Border style Border width Icon names Icon size Image Cursor Pointer events Transition Styles overview Design tokens Colour tokens Spacing tokens Typography tokens Contact us Get involved Find a demo

Select
<gcds-select>

Also called: dropdown, select menu.

A select provides a large list of options for single selection.

Select component preview

Select anatomy

  1. The label states the choice the select represents.
  2. The hint text communicates additional context or requirements about the question and expected response.
  3. The default value can be used as a placeholder for the select.
  4. The icon is used as a visual aid to indicate that the field can be expanded.
The select component with numbers pointing to individual parts of the select anatomy.

Design and accessibility for select

Make select options clear

  • Limit text for each option to a few words or a short phrase.
  • Generally, order options alphabetically. In some cases, it can be helpful for you to order them from most to least common.
  • When possible, include an option like "None" or "None of the above".

Help a person understand how to use selects

  • Avoid assuming a person will know how to use a select.
  • Use hint text to include a cue for users unfamiliar with selects so they know they can only make a single selection. For example, "Select the response that best applies".
  • Avoid pre-selecting a select option. This makes it more likely that users will miss a question and submit a wrong answer.
  • When possible, include an option like "None" or "None of the above". Once selected, the option cannot be de-selected, or reversed, except by choosing another option within the group. When this happens, the respondent is forced to choose an incorrect response or abandon the task.

Use other questions to reduce select option size

  • Try asking the users other questions before using the select in order to reduce the amount of options.
  • If the list of items is smaller (6-7 items or less), consider using radio buttons instead.

Help us improve

Have questions or a request? Give feedback on our contact form.

Something's wrong? Raise it through GitHub with an account. You'll have access to the team's direct responses, progress made on your issue, and issues raised by others.

Give feedback Report an issue on GitHub
2024-12-11