ZBMui

Select

View markdown

A common form component for choosing a predefined value in a dropdown menu.

Installation

components/ui/select.tsx

Usage

Examples

Sizes

Three sizes are available: sm, md (default) and lg.

Disabled

Align item with trigger

With groups

Multiple selection

Enable multiple selection by passing the multiple prop to the Select component.

With icon

With options icon

With object values

With scrolling

By default, the Select component uses built-in scrollbars. You can also enable native scrolling by passing nativeScroll prop to the SelectPopup component.

Built-in scrollbars (default):
Native scrollbars:

Controlled

Selected value: null
ZBMui

Built by the ZBM.

© 2026 ZBM ui. All rights reserved.