React Bootstrap Search Button Component
Search Button with Bootstrap Styling

Bootstrap 5 components designed for React.js
This component is part of the CoreUI for React.js UI components library, which offers all Bootstrap components designed to work seamlessly with React.js.
If you want to use Bootstrap 5 in a React.js environment while also needing advanced components that Bootstrap does not offer and dedicated developer support, then this library is the best solution for you.
Learn how to use the React Bootstrap Search Button component from CoreUI to create keyboard-aware search entry points, command palettes, modals, and offcanvas panels.
Using the React Bootstrap Search Button component#
The React Bootstrap Search Button component provides a keyboard-aware trigger for search interfaces and command-style actions. It keeps native button behavior, shows a platform-appropriate shortcut hint, and uses onTrigger as the shared activation callback.
Custom shortcut#
Pass the shortcut prop to customize the visible key combination and the keyboard trigger behavior.
Launch an offcanvas#
Use the component as the trigger for a controlled React Bootstrap-style offcanvas panel.
Search panel
Use this space for filters, recent searches, or command shortcuts.
API reference#
Check the API documentation below for the full list of props available in the React Bootstrap Search Button component: