Dropdown Selector

The dropdown selector component provides a way to select values from a predefined list of options, supporting custom triggers and alignment.

Usage Examples

Basic Usage

The most basic dropdown selector usage for selecting values from predefined options.

300px

Alignment

Use the alignment property to set the dropdown menu alignment: left (left-aligned), right (right-aligned).

300px

Custom Width

Use the width property to customize the dropdown selector width.

300px

Icon Mode

Icon mode is suitable for mobile devices, showing only icons without text labels.

300px

Properties

PropertyBasic component module for translation keys shared across all component documentation pagesTypeDefault
optionsDropdown options arrayarray[]
alignmentDropdown menu alignmentstringleft
widthDropdown selector widthstringw-48
icon-modeWhether to enable icon modebooleanfalse
iconIcon displayed in icon modestring
display-labelCustom display labelstring
Design Empowers, Innovation Unlimited