logo

Lumina Design

ComponentsIcons
Installation
AccordionAppHeaderAutoCompleteAvatarBottomNavigationBreadcrumbButtonCarouselCheckboxChipColumnDataTableDatePickerDialogFloatingButtonFloatingMenuInputFieldLinkMenuDropdownNextToastProviderProgressRadioButtonRangeSliderResizablePanelSelectDropDownSideBarTabSelectTabsTagTextTextAreaThemeProviderToastProviderToggleInputToggleSwitchTooltip

SelectDropDown

The SelectDropDown component is a form element that allows users to select one or more options from a dropdown list. It’s highly customizable and can support single or multiple selections, searchable options, and grouped items. SelectDropDowns are commonly used in forms where users need to choose from a predefined set of options, such as selecting a country in an address form, picking a category in a content management system, or filtering products by attributes in an e-commerce site.

Select a city
Mumbai
• Mumbai
• New York
• Tokyo
• Paris
• London

Code

import SelectDropDown from "@lumina-design/core/SelectDropDown";
    
<SelectDropDown
  value={city}
  onChange={(value) => setCity(value)}
  label="Select a city"
>
  <option value="Mumbai">Mumbai</option>
  <option value="NewDelhi">New Delhi</option>
  <option value="Kolkata">Kolkata</option>
  <option value="Chennai">Chennai</option>
  <option value="Bengaluru">Bengaluru</option>
</SelectDropDown>