Skip to Content
🎉Introducing Pumki UI
ComponentsFormSearch Field

Searchfield

Pumki UIPumki UI

Installation

Usage


import { SearchField, SearchFieldClear, SearchFieldInput } from '@/components/pumki-ui/form/searchfield.tsx';

<Searchfield />

Props

PropTypeDefaultDescription
labelstringThe text label displayed above the search field, describing its purpose.
descriptionstringAdditional information or instructions displayed below the label to help users understand the search field.
errorMessagestring | ((validation: ValidationResult) => string)The error message shown when validation fails. Can be a static string or a function that returns a string based on the validation result.
Last updated on