Add button to "Search home assistant" / "Quick search"?

How can I add a button/badge to bring up "Search home assistant" on a custom dashboard? This is for easier access from mobile app, where currently search is under a submenu.

I tried searching Google, Home Assistant Forum, ChatGPT, and Claude, and suspect it's impossible without modding? Hopefully I'm missing something simple. It see it's very easy to add a shortcut to "Assist", but can't figure out how to do it for "Search".

I tried a Button with action Navigate and destination /search , but that didn't work. Nor did /?search. The search seems to be a popup, and inaccessible from a URL. I guess explains why "Assist" is not part of the Navigate action, either.

Fwiw I tried swiping down with three fingers, too, but that's also not working. Swiping up with three fingers triggers the server selection (even though I only have one server). But swiping down with three fingers just scrolls.

Use a custom button card with javaScript action.

type: custom:button-card
name: Quick Bar
tap_action:
  action: javascript
  javascript: |
    [[[
      function simulateKeyPressE(){
        window.dispatchEvent(
          new KeyboardEvent("keydown", {
            key: "e",
            code: "KeyE",
            keyCode: 69,
            charCode: 69,
            bubbles: true,
            cancelable: true,
          })
        );
      };
      simulateKeyPressE();
    ]]]

Presumably you're talking about this HACS custom integration? GitHub - custom-cards/button-card: ❇️ Lovelace button-card for home assistant · GitHub