Search

An autocomplete search dropdown with Fuzzy Search feature.

Fuzzy Search Documentation
Example
  • Wrap your search area with .search-box class
  • Add .search-input to input field to trigger dropdown on focus.
  • Add data-bs-toggle="search" in form element to enable dropdown behavior.
  • Add data-dismiss="search" to close dropdown on button click
  • To enable Fuzzy Search on search box add .fuzzy-search class in input field and follow the instruction of Advance Tables
<div class="search-box" data-list='{"valueNames":["title"]}'>
  <form class="position-relative" data-bs-toggle="search" data-bs-display="static"><input class="form-control search-input fuzzy-search" type="search" placeholder="Search..." aria-label="Search" />
    <span class="fas fa-search search-box-icon"></span>
  </form><button class="btn-close position-absolute end-0 top-50 translate-middle shadow-none p-1 me-1 fs--2" type="button" data-bs-dismiss="search"></button>
  <div class="dropdown-menu border font-base start-0 mt-2 py-0 overflow-hidden w-100">
    <div class="scrollbar-overlay list py-3" style="max-height: 24rem;">
      <h6 class="dropdown-header fw-medium text-uppercase px-card fs--2 pt-0 pb-2">Recently Browsed</h6><a class="dropdown-item fs--1 px-card py-1 hover-primary" href="../../app/events/event-detail.html">
        <div class="d-flex align-items-center">
          <span class="fas fa-circle me-2 text-300 fs--2"></span>
          <div class="fw-normal title">Pages <span class="fas fa-chevron-right mx-1 text-500 fs--2" data-fa-transform="shrink-2"></span> Events</div>
        </div>
      </a>
      <a class="dropdown-item fs--1 px-card py-1 hover-primary" href="../../app/e-commerce/customers.html">
        <div class="d-flex align-items-center">
          <span class="fas fa-circle me-2 text-300 fs--2"></span>
          <div class="fw-normal title">E-commerce <span class="fas fa-chevron-right mx-1 text-500 fs--2" data-fa-transform="shrink-2"></span> Customers</div>
        </div>
      </a>
      <hr class="bg-200" />
      <h6 class="dropdown-header fw-medium text-uppercase px-card fs--2 pt-0 pb-2">Suggested Filter</h6><a class="dropdown-item px-card py-1 fs-0" href="../../app/e-commerce/customers.html">
        <div class="d-flex align-items-center"><span class="badge fw-medium text-decoration-none me-2 badge-soft-warning">customers:</span>
          <div class="flex-1 fs--1 title">All customers list</div>
        </div>
      </a>
      <a class="dropdown-item px-card py-1 fs-0" href="../../app/events/event-detail.html">
        <div class="d-flex align-items-center"><span class="badge fw-medium text-decoration-none me-2 badge-soft-success">events:</span>
          <div class="flex-1 fs--1 title">Latest events in current month</div>
        </div>
      </a>
      <a class="dropdown-item px-card py-1 fs-0" href="../../app/e-commerce/product/product-grid.html">
        <div class="d-flex align-items-center"><span class="badge fw-medium text-decoration-none me-2 badge-soft-info">products:</span>
          <div class="flex-1 fs--1 title">Most popular products</div>
        </div>
      </a>
      <hr class="bg-200" />
      <h6 class="dropdown-header fw-medium text-uppercase px-card fs--2 pt-0 pb-2">Files</h6><a class="dropdown-item px-card py-2" href="#!">
        <div class="d-flex align-items-center">
          <div class="file-thumbnail me-2"><img class="border h-100 w-100 fit-cover rounded-3" src="../../assets/img/products/3-thumb.png" alt="" /></div>
          <div class="flex-1">
            <h6 class="mb-0 title">iPhone</h6>
            <p class="fs--2 mb-0"><span class="fw-semi-bold">Antony</span><span class="fw-medium text-600 ms-2">27 Sep at 10:30 AM</span></p>
          </div>
        </div>
      </a>
      <a class="dropdown-item px-card py-2" href="#!">
        <div class="d-flex align-items-center">
          <div class="file-thumbnail me-2"><img class="img-fluid" src="../../assets/img/icons/zip.png" alt="" /></div>
          <div class="flex-1">
            <h6 class="mb-0 title">Falcon v1.8.2</h6>
            <p class="fs--2 mb-0"><span class="fw-semi-bold">John</span><span class="fw-medium text-600 ms-2">30 Sep at 12:30 PM</span></p>
          </div>
        </div>
      </a>
      <hr class="bg-200" />
      <h6 class="dropdown-header fw-medium text-uppercase px-card fs--2 pt-0 pb-2">Members</h6><a class="dropdown-item px-card py-2" href="../../pages/user/profile.html">
        <div class="d-flex align-items-center">
          <div class="avatar avatar-l status-online me-2">
            <img class="rounded-circle" src="../../assets/img/team/1.jpg" alt="" />
          </div>
          <div class="flex-1">
            <h6 class="mb-0 title">Anna Karinina</h6>
            <p class="fs--2 mb-0">Technext Limited</p>
          </div>
        </div>
      </a>
      <a class="dropdown-item px-card py-2" href="../../pages/user/profile.html">
        <div class="d-flex align-items-center">
          <div class="avatar avatar-l me-2">
            <img class="rounded-circle" src="../../assets/img/team/2.jpg" alt="" />
          </div>
          <div class="flex-1">
            <h6 class="mb-0 title">Antony Hopkins</h6>
            <p class="fs--2 mb-0">Brain Trust</p>
          </div>
        </div>
      </a>
      <a class="dropdown-item px-card py-2" href="../../pages/user/profile.html">
        <div class="d-flex align-items-center">
          <div class="avatar avatar-l me-2">
            <img class="rounded-circle" src="../../assets/img/team/3.jpg" alt="" />
          </div>
          <div class="flex-1">
            <h6 class="mb-0 title">Emma Watson</h6>
            <p class="fs--2 mb-0">Google</p>
          </div>
        </div>
      </a>
    </div>
  </div>
</div>

Thank you for creating with Falcon |
2021 © Themewagon

v3.0.0-beta5

customize