On this page:

Search Input

Preview

index.tsx

Preview

index.tsx

Preview

index.tsx

Preview

index.tsx

Auxiliary

Preview

index.tsx

Preview

index.tsx

Preview

index.tsx

Preview

index.tsx

ShortCut Indicator

Preview

index.tsx

Preview

index.tsx

States

Preview

index.tsx
Error message

Preview

index.tsx
Error message

Preview

index.tsx

Preview

index.tsx

Preview

index.tsx

Preview

index.tsx

Preview

index.tsx
Error message

Preview

index.tsx
Error message

Preview

index.tsx

Preview

index.tsx

Preview

index.tsx

Floating label

Preview

index.tsx

Preview

index.tsx

Preview

index.tsx
Error message

Preview

index.tsx
Error message

Preview

index.tsx

Preview

index.tsx

Size Medium

Preview

index.tsx

Preview

index.tsx

Preview

index.tsx

Preview

index.tsx

Preview

index.tsx

Preview

index.tsx

Preview

index.tsx

Preview

index.tsx

Auxiliary (Alternative)

Preview

index.tsx

Preview

index.tsx

Preview

index.tsx

States (Alternative)

Preview

index.tsx
Error message

Preview

index.tsx
Error message

Preview

index.tsx

Preview

index.tsx

Preview

index.tsx

Floating label (Alternative)

Preview

index.tsx

Preview

index.tsx

Preview

index.tsx
Error message

Preview

index.tsx
Error message

Preview

index.tsx

Preview

index.tsx

Design Tokens for SearchInput

Note: SearchInput uses the same design tokens as the Input component. See Input documentation for available tokens.


SearchInput API Reference

<SearchInput />

PropTypeDefaultDescription
isPendingbooleanfalseShow loading spinner in place of search icon
searchButtonbooleanfalseShow a clickable search button
searchButtonPropsobjectProps for the search button
auxiliaryIconReactNodeIcon/button displayed on the right side
auxiliaryActivebooleanfalseIf true, auxiliary action uses styled Button
auxiliaryActionPropsobjectProps for the auxiliary action button
shortCutstringKeyboard shortcut indicator (e.g. "Ctrl+K")
shortCutButtonPropsobjectProps for the shortcut button
onSearchfunction ()Callback when search is triggered
onAuxiliaryActionfunction ()Callback when auxiliary action is triggered
...InputPropsSee InputInherits all props from Input and native input

Note: SearchInput inherits all props from Input and the native input element. See Input documentation for full details on available props and tokens.