<!-- 搜索组件 -->
<div
  th:fragment="search-button"
  th:if="${pluginFinder.available('PluginSearchWidget')}"
  class="search-btn sidebar-nav-item gradient-card"
  onclick="SearchWidget.open()"
>
  <span class="icon-[ph--magnifying-glass-bold]"></span>
  <span class="nav-text">搜索</span>
  <kbd class="search-shortcut" x-data x-text="navigator.platform.includes('Mac') ? '⌘K' : 'Ctrl+K'"></kbd>
</div>
