Komponenten Filter Komponente "Filter"

Komponente "Filter"

Eine minimalistische und reaktionsschnelle Filterkomponente für den E-Commerce mit Unterstützung für dunkle Themen. Es enthält Kategorien, Preisspanne und einen Farbfilter.

Vorschau

HTML-Code

<div class="bg-white dark:bg-gray-900 text-gray-800 dark:text-gray-200 p-4 rounded-lg shadow-md">
  <h3 class="text-lg font-semibold mb-4">Filter Products</h3>
  
  <div class="mb-6">
    <h4 class="text-md font-medium mb-2">Categories</h4>
    <ul class="space-y-2 text-sm">
      <li><a href="#" class="hover:text-gray-600 dark:hover:text-gray-400">Electronics</a></li>
      <li><a href="#" class="hover:text-gray-600 dark:hover:text-gray-400">Apparel</a></li>
      <li><a href="#" class="hover:text-gray-600 dark:hover:text-gray-400">Home Goods</a></li>
      <li><a href="#" class="hover:text-gray-600 dark:hover:text-gray-400">Books</a></li>
    </ul>
  </div>

  <div class="mb-6">
    <h4 class="text-md font-medium mb-2">Price Range</h4>
    <input type="range" min="0" max="1000" value="500" class="w-full h-2 bg-gray-200 dark:bg-gray-700 rounded-lg appearance-none cursor-pointer">
    <div class="flex justify-between text-sm mt-1">
      <span>$0</span>
      <span>$1000+</span>
    </div>
  </div>

  <div class="mb-6">
    <h4 class="text-md font-medium mb-2">Color</h4>
    <div class="flex space-x-2">
      <span class="block w-6 h-6 rounded-full bg-black cursor-pointer border-2 border-gray-300 dark:border-gray-600"></span>
      <span class="block w-6 h-6 rounded-full bg-white cursor-pointer border-2 border-gray-400 dark:border-gray-500"></span>
      <span class="block w-6 h-6 rounded-full bg-gray-500 cursor-pointer border-2 border-gray-300 dark:border-gray-600"></span>
    </div>
  </div>

  <button class="w-full bg-gray-800 dark:bg-gray-700 text-white py-2 px-4 rounded-md hover:bg-gray-700 dark:hover:bg-gray-600 transition-colors duration-300">
    Apply Filters
  </button>
</div>

Verwandte Komponenten

Komponente "Filter"

Eine komplexe und reaktionsschnelle Filterkomponente mit 3D-Designelementen und einem triadischen Farbschema, geeignet für Blog-/Content-Websites. Unterstützt dunkles Design.

Offen

Komponente "Filter"

Eine Filterkomponente, die mit einem skeuomorphen Stil entwickelt wurde, der reale Steuerelemente nachahmt, unter Verwendung eines Graustufen-Farbschemas, perfekt für Dashboards mit komplexen interaktiven Elementen.

Offen

Komponente "Filter"

Eine komplexe, reaktionsschnelle Filterkomponente für ein Dashboard mit einem klaren, minimalistischen Design mit einem Neon-/Elektro-Farbschema, das mehrere interaktive Elemente und den Dunkelmodus unterstützt. Entwickelt für Datenvisualisierung und Bedienfelder.

Offen