Skip to content
nexubDesign System
v2.4.0

Components · Form & Input

Search Input

StableSince v0.0.1

A text input pre-wired with a search icon and a clear button for filtering content.

import { SearchInput } from '@nexub/react';

Examples

Default

Props

Props
PropTypeDefaultDescription
placeholderstring—Placeholder text shown when empty.
valuestring—Controlled value of the search field.
onClear() => void—Called when the user clicks the clear button.
size'sm' | 'md' | 'lg'—Controls font size and padding.