Skip to main content

@backstage/plugin-search

Home > @backstage/plugin-search

The Backstage plugin that provides your backstage app with search

Functions

FunctionDescription
useSearchModal(initialState)Use this hook to manage the state of SearchModal and change its visibility. Monitors route changes setting the hidden state to avoid having to call toggleModal on every result click.

Interfaces

InterfaceDescription
SearchModalChildrenProps
SearchModalProps

Variables

VariableDescription
HomePageSearchBar
Router
SearchModal
SearchModalProviderA context provider responsible for storing and managing state related to the search modal.
SearchPage
searchPlugin
SearchType
SidebarSearch
SidebarSearchModal

Type Aliases

Type AliasDescription
HomePageSearchBarPropsProps for HomePageSearchBar.
SearchModalProviderPropsProps for the SearchModalProvider.
SearchModalValueThe state of the search modal, as well as functions for changing the modal's visibility.
SearchTypeAccordionProps
SearchTypePropsProps for SearchType.
SearchTypeTabsProps
SidebarSearchModalPropsProps for SidebarSearchModal.
SidebarSearchPropsProps for SidebarSearch.