Skip to content

Morph Select

Pro

A select whose button grows into its list as one shape. One highlight glides from option to option as you move.

  • Base UI
  • Motion
  • React 19
  • Tailwind CSS 4

Added Nov 9, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

Morph Select needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
29
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

Pass items (value to label), so the trigger shows the label and not the raw value.

time-zone-select.tsx

MorphSelect

PropTypeDefaultDescription
size"default""lg""sm""xs""default"The field size of the trigger and of its copy in the open surface. Default default (32px).
From Base UISelect.RootBase UI docs
childrenReactNode—
inputRefRef<HTMLInputElement>—A ref to access the hidden input element.
namestring—Identifies the field when a form is submitted.

MorphSelectTrigger

<button>
PropTypeDefaultDescription
classNamestring—
From Base UISelect.TriggerBase UI docs
childrenReactNode—
disabledboolean—Whether the component should ignore user interaction.
render—Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render.
...props<button> attributes—Every other attribute goes to the <button>, with a ref.

MorphSelectValue

<span>
PropTypeDefaultDescription
classNamestring—
From Base UISelect.ValueBase UI docs
children((value: any) => ReactNode) | ReactNode—Accepts a function that returns a ReactNode to format the selected value. Treat the value as read-only: in multiple mode it may be a shared frozen array when nothing is selected.
placeholderReactNode—The placeholder value to display when no value is selected. This is overridden by children if specified, or by a null item's label in items.
render—Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render.
...props<span> attributes—Every other attribute goes to the <span>, with a ref.

MorphSelectContent

<div>
PropTypeDefaultDescription
classNamestring—The classes of the popup box. Its width is the open width (default 256px, never under the trigger).
align"end""start""start"The edge of the trigger that stays put while the surface grows. Default start.
portalProps—Other Base UI props of the inner parts. A className here adds to the component classes.
positionerProps—
listProps—
From Base UISelect.PopupBase UI docs
childrenReactNode—
finalFocus—Determines the element to focus when the select popup is closed. - false: Do not move focus. - true: Move focus based on the default behavior (trigger or previously focused element). - RefObject: Move focus to the ref element. - function: Called with the interaction type (mouse, touch, pen, or keyboard). Return an element to focus, true to use the default behavior, or false/undefined to do nothing.
anchor—An element to position the popup against. By default, the popup will be positioned against the trigger.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

MorphSelectItem

<div>
PropTypeDefaultDescription
classNamestring—
From Base UISelect.ItemBase UI docs
childrenReactNode—
valueanynullA unique value that identifies this select item.
disabledbooleanfalseWhether the component should ignore user interaction.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

MorphSelectItemText

<div>
PropTypeDefaultDescription
classNamestring—
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

MorphSelectItemMeta

<span>
PropTypeDefaultDescription
...props<span> attributes—Every other attribute goes to the <span>, with a ref.
  • Use it for a value people change now and then: a setting, a property, a chart range.
  • Use MorphSelectItemMeta for a short detail after each name: an offset, a count, a key.
  • Use align="end" for a trigger at the end of a row: the surface grows toward the start.
  • For a long list that people search by typing, use a Combobox.
  • For a plain form field with no motion, use a Select.
  • For two to five choices that all show at once, use a Segmented Control.
EnterorSpaceOn the trigger, opens the list. In the list, picks the highlighted option and closes it.
Down ArroworUp ArrowOpens the list, then moves the highlight.
LettersMoves the highlight to the option that starts with the letters.
EscapeCloses the list and keeps the focus on the trigger.

It is a Base UI Select. The trigger is a combobox, and the open list is a listbox.

MorphSelectLabel names the trigger. Without it, give the trigger an aria-label.

The copy of the trigger in the open surface is hidden from screen readers and out of the tab order.

Open and close
glide · a spring with no bounce, about 150ms · the surface grows from the trigger box to the list, and back
List content
glide · comes in out of a 4px blur at 96% scale, on the same spring
Highlight
glide · one highlight slides to the option under the pointer
Value
fade · 150ms · the new value rises 6px out of a 2px blur

Built with

Installs with Morph Select

Components
Select
  1. AddedMorph Select, with Select.
Open the release