header.liquid

Copy the code above the element {%- liquid assign cart_hash = '’ …

          <ooo-wl-access-button class="ooo-wishlist-header-button">
            <a class="cart-link__icon" href="{%  if routes.root_url != '/' %}{{ routes.root_url }}{% endif %}/pages/[WISHLIST PAGE HANDLE]" style="display: grid;">
              <span aria-label="{{ 'accessibility.open_wishlist' | t }}">
                {%- render 'icon', icon: 'heart' -%}
              </span>
              <ooo-wl-wishlist-count class="cart-link__count" hidden block-start="-1" inline-end="0" hide-count="false">
              </ooo-wl-wishlist-count>
            </a>
          </ooo-wl-access-button>
          <style>            .ooo-wishlist-header-button { margin-inline-end: 20px; }            @media screen and (max-width: 768px) { .ooo-wishlist-header-button { margin-inline-end: 0; margin-inline-start: 5px; } }          </style>

Replace [WISHLIST PAGE HANDLE] with your wishlist’s page handle

en.default.json

You will need to add the text description of the icon. To do that, add this line to the accessibility object:

"open_wishlist": "Open wishlist"

Note: do not forget to add this translation key to your other locale files.