Kinetik UI

Morph Select

.md

A select whose field stretches open into its list; a highlight glides to your pick as it folds back.

v1.0.0Live on webreact-native-reanimatedreact-native-worklets
Component preview

Installation

Kinetik CLI
npx kinetik-ui add morph-select

The CLI copies the source and installs native dependencies with npx expo install, so versions match your Expo SDK. With shadcn: npx shadcn@latest add https://kinetik-ui.dev/r/morph-select.json

Install manually

  1. Install dependencies
    npx expo install react-native-reanimated react-native-worklets
  2. Copy the source files
    • components/kinetik/morph-select.tsx
    View source files

Usage

import { MorphSelect } from '@/components/kinetik/morph-select';

<MorphSelect
  label="Time zone"
  options={[
    { value: 'lis', label: 'Lisbon', description: 'UTC+0' },
    { value: 'ist', label: 'Istanbul', description: 'UTC+3' },
  ]}
  value={zone}
  onValueChange={setZone}
/>;

When to use

  • One choice from a list of about four to twenty options in a form: a country, a time zone, a size.
  • Places where the options need a second line of detail.

When not to use

  • Two to five options people should compare at a glance. Use Choice Cards or a segmented control.
  • Long lists that need search. Use a searchable picker screen.

Notes

  • The trigger is measured and the panel grows out of it in its own modal, so it floats above everything and Back or a tap outside closes it.
  • The panel opens upwards when there is no room below.
  • Past maxVisible rows the list scrolls. Disabled options stay visible but cannot be chosen.
  • With reduced motion the list opens and closes at once.

Props

MorphSelectProps

PropTypeDefaultDescription
optionsrequiredreadonly MorphSelectOption[]—
valuerequiredstring | null—
onValueChangerequired(value: string) => void—
labelrequiredstring—Shown above the trigger and used as its accessible name.
placeholderstring'Choose'Shown in the trigger while nothing is chosen. Defaults to "Choose".
maxVisiblenumber6Rows shown before the list scrolls. Defaults to 6.
hapticsbooleantrueA tick on open and on choosing. Defaults to true.
testIDstring—
styleStyleProp<ViewStyle>—

Performance and accessibility

Performance

Budget
A modal of plain views: the panel height and every row read one shared value, and one more moves the highlight. Nothing runs at rest.
Measured

Pixel 9 emulator, API 35, release build · interaction median 0.94× the system Settings app on the same emulator (indicative only) · no frames drawn at rest · 154 MB app memory. p99 spikes are the first frame of the modal window opening.

Real-device measurement pending.

Accessibility

Reduced motion
The list opens and closes at once and the highlight jumps.
Screen readers
A button that reads the label and the current choice and says whether it is expanded; options are menu items with a selected state.
Touch target
The field is 52 pt tall and each option 48 pt.

Source files

components/kinetik/morph-select.tsx is in the Code tab of the preview above.