Select

A native <select class="form-select">: it opens, picks and submits with JavaScript off. Pass options, or put<option> children inside. onValueChangereceives the value; a multiple select reports through onValuesChange.

Basic usage

Selected: null

Size variants

Source

<BsSelect aria-label="Dish"          value={String(selected?.id ?? '')}          onValueChange={(value) => setSelected(DISHES.find(d => d.id === Number(value)) ?? null)}>  <option value="">Choose a dish</option>  {DISHES.map(d => <option key={d.id} value={String(d.id)}>{d.name}</option>)}</BsSelect>