Deprecated  in 4.12.0. Use [[iTwinUI SearchBox]] instead.

Input box for entering text to search for. The SearchBox has an icon right-justified and bounded by the box and shows a Search or Clear icon.

Extends

Methods

Name Description
constructor(props: SearchBoxProps): SearchBox    
componentWillUnmount(): void Called immediately before a component is destroyed.  
focus(): void    
render(): React.ReactNode    

Properties

Name Type Description
state Readonly Readonly<SearchBoxState>    

Defined in

Last Updated: 18 June, 2025