Drop Down
Live preview and documentation for the Drop Down component.
Preview
componentPreview.loading
About
Design-system dropdown (HeroUI "Select"). Single selection by default; use KasyDropDown.multiple to pick several values (the panel stays open, each selected row shows a check, and the trigger summarizes the choices).
items: list ofKasyDropDownItem<T>(value,label, optionalicon, optionalsubtitle,enabled).value/onChanged: single selection (default mode).values/onSelectionChanged/multiSummary: multiple selection (KasyDropDown.multiple);multiSummarycustomizes the summarized text shown on the trigger.label/hint/showRequiredIndicator: label above the field, placeholder, and required asterisk.description/errorText/isInvalid: helper text, error message (replacesdescription), and forces the invalid style.enabled: disables and dims the trigger.leadingIcon: icon inside the field.variant: the trigger's fill style (mirrorsKasyTextFieldVariant).focusBorder: whether the trigger paints the "active" border while the panel is open.showSelectedCheck: shows the check to the right of the selected item in the panel.searchable/searchHint: adds a search field at the top of the panel that filters by label and subtitle.closeOnSelect: closes the panel on selection (defaults totruefor single-select,falsefor multi-select).maxPanelHeight: maximum panel height before it scrolls internally.- The trigger reuses
KasyTextFieldin read-only mode (inheriting the kit's label, border, shadow, and focus behavior); the panel is anOverlayPortalanchored to the trigger, not a MaterialPopupMenuButton— this avoids the classic white menu in dark mode.
Last updated on 08/23/2026

