Components Search Box Glassmorphism Search Box

Glassmorphism Search Box

A simple, responsive glassmorphism search box component with grayscale colors, suitable for a dashboard. Supports dark mode.

Preview

HTML Code

<div class="flex items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900">
  <div class="relative w-full max-w-md">
    <input type="text" placeholder="Search..." class="w-full py-3 px-5 pr-12 rounded-lg backdrop-filter backdrop-blur-lg bg-white bg-opacity-20 dark:bg-gray-800 dark:bg-opacity-20 border border-gray-200 dark:border-gray-700 text-gray-800 dark:text-gray-200 placeholder-gray-600 dark:placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-gray-300 dark:focus:ring-gray-600 transition duration-300 ease-in-out"
    />
    <div class="absolute inset-y-0 right-0 flex items-center pr-4 pointer-events-none">
      <svg class="h-5 w-5 text-gray-600 dark:text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
      </svg>
    </div>
  </div>
</div>

Related Components

Brutalist_Weather_Search_Box

A complex, high-contrast, brutalist-style search box component for weather and climate data, featuring multiple input elements and responsive design with dark mode support.

Open

3D_Candy_SearchBox_Manufacturing

A responsive 3D-inspired search box component with candy/sweet colors, suitable for manufacturing/industrial applications, featuring a subtle shadow effect and interactive elements.

Open

Search Box Component

A responsive search box component with a minimalist/flat design, vibrant color scheme, and complex interactions, suitable for business/corporate websites. It supports dark mode and is built with Tailwind CSS.

Open