Simal UI
Components

SearchInput

Import

import { SearchInput } from '@simal/ui/nativewindui';

Props

PropValuesDefaultDescription
placeholder"Search…"Hint shown while empty. Keep it short — the field is narrow once the cancel affordance appears.
cancelTextiOS only. Label for the cancel button that slides in beside the field while it is focused.
editablebooleantrueFalse renders the field inert but still visible — use it when search is not available yet rather than hiding the control.
valueMakes the input controlled. Pair with onChangeText, or typing will not register.

Examples

With Value

Disabled

On this page