Skip to content

Select

An exposed dropdown menu: a field that opens a menu of options. One or several choices, sections, a search for long lists, a sheet on phones.

import { Select, SelectItem, SelectSection, OptionPopover } from '@windmorph/react';

Playground

Code

import { Select, SelectItem } from '@windmorph/react'; <Select  label="Sort by">  <SelectItem key="newest">Newest first</SelectItem>  <SelectItem key="low">Price, low to high</SelectItem>  <SelectItem key="high">Price, high to low</SelectItem>  <SelectItem key="near">Nearest to you</SelectItem></Select>

Examples

One choice

Filled and outlined, with states

Several choices

A long list, with a search

Density