NavigationSearchButton

Open in Create
Search
astronomic.dev

SearchButton

Free

To open the search from a header or a page: an icon button, or a field with words and the shortcut. A real link to your search page without JavaScript.

File
SearchButton.astro
Group
Navigation
Kind
Static: no JavaScript
Examples
1
import SearchButton from "@astronomic-dev/ui/components/SearchButton.astro";

Examples

Drag the orange handle to set the width. Frames get real breakpoints.

  • Static
  • Interactive
  • Framed

Two looks

An icon button named Search, and openText="Search the kit": a field with the words and the shortcut's key hint. Both open the same SearchClassic dialog on the kit's own index. With JavaScript off each is a link to the search page.

main.astro
Minimal · Light

Waitlist

Be first in line

Join the waitlist and we'll email you the moment it's out.

You'll also get our newsletter: new themes, plugins and guides. Unsubscribe any time.