Skip to main content
Expand and use one or multiple of the following examples to add a way to open the SearchModal. See overview for a disambiguation of the different search components.
📘 Modal alignment on smaller screensOn short viewports the search modal ignores the element reference passed to the alignerRef property and snaps to the top of the viewport instead — at a viewport height of 790px or less on devices with a fine pointer (mouse/trackpad), and 1000px or less on touch devices. This is to use the available space as efficiently as possible.
You can find the related reference here