Skip to content

Select

Open .md
Live preview

Loading example…

Wraps the native <select> (keeps the system picker on mobile) and draws the chevron with an icon.

import { Select } from "@jcsoftdev/ui/forms";

Single-component entry points tree-shake to just this component: @jcsoftdev/ui/forms/select.

<Select aria-label="Barbero">
{options}
</Select>

This component declares no props of its own.

It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).

packages/ui/src/forms/select/select.tsx