ComponentsSelection List

SelectionList

Allows the user to select one or more items from a list of choices. Although it supports multi-selection, DS recommends the use of a selection list when it’s clear that the user can only select just one option from the range provided.

GitHub LogoSource Code
  • πŸ₯‘ Avocado
  • 🍌 Banana
  • πŸ₯• Carrot
  • πŸ‰ Dragonfruit
  • πŸ† Eggplant

If you need single selection, consider using HvRadioGroup or HvSelect instead.

Controlled

The value of HvSelectionList can be controlled by using the value/onChange. Status is controlled via the status and statusMessage props.

  • πŸ₯‘ Avocado
  • 🍌 Banana
  • πŸ₯• Carrot
  • πŸ‰ Dragon
  • πŸ† Eggplant