API Reference > ui-core > SearchBox > SearchBoxProps SearchBoxProps Interface Properties for SearchBox component Extends CommonProps Properties Name Type Description initialValue undefined | string value to set SearchBox to initially onClear undefined | () => void listens for onClick event for Clear (x) icon onEnterPressed undefined | () => void listens for keypress onEscPressed undefined | () => void listens for keypress onValueChanged (value: string) => void triggered when the content of SearchBox is changed placeholder undefined | string placeholder value to show in gray before anything is entered in valueChangedDelay undefined | number frequency to poll for changes in value Inherited properties Name Type Inherited from Description className undefined | string ClassNameProps Custom CSS class name style undefined | React.CSSProperties CommonProps Custom CSS style properties Defined in ui/core/src/ui-core/searchbox/SearchBox.tsx Line 19 Last Updated: 13 June, 2024