Dropdown

Overview

Dropdowns present a list of options from which a user can select one option, or several. A selected option can represent a value in a form or can be used as an action to filter or sort existing content.

Example

Properties

PropertyDescriptionTypeValuesDefaultRequired
labelThe label for the dropdownstring
optionsThe options for the dropdown{ field: string; value?: string; selected?: boolean }[]
hideLabelHides the labelbooleanfalse
disabledDisables the dropdownbooleanfalse
requiredMakes the dropdown requiredbooleanfalse
placeholderThe placeholder for the dropdownstring