Search Box Component
A responsive search box component with a brutalist design, using a complementary color scheme suitable for business websites.
HTML Code
<div class="flex flex-col items-center justify-center min-h-screen p-4 bg-gray-800 dark:bg-gray-900">
<h1 class="text-4xl font-bold text-white mb-4">Find What You Need</h1>
<div class="flex items-center border-b-2 border-yellow-400 dark:border-blue-400">
<input type="text" placeholder="Search..." class="p-2 bg-gray-700 dark:bg-gray-800 text-yellow-400 dark:text-blue-400 placeholder-yellow-300 placeholder-opacity-50 dark:placeholder-blue-300 dark:placeholder-opacity-50 outline-none w-full" />
<button class="bg-yellow-400 dark:bg-blue-400 text-gray-900 dark:text-white font-bold p-2 ml-2 hover:bg-yellow-500 dark:hover:bg-blue-500 transition duration-200">
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Search" class="w-4 h-4 inline-block" />
</button>
</div>
<div class="mt-4">
<img src="https://picsum.photos/300/200" alt="Random Image" class="w-full max-w-md rounded-lg shadow-lg" />
</div>
</div>
Related Components
Skeuomorphic Search Box
A search box component with a skeuomorphic design that mimics real-world elements, featuring responsiveness and dark theme support.
Simple 3D Pastel Search Box
A responsive search box component with a 3D-like design, pastel color scheme, and dark theme support, built with Tailwind CSS for a blog/content website.
Search Box Component
A search box component designed with a skeuomorphic style to mimic a real-world search box, using a triadic color scheme, suitable for a portfolio and responsive with dark mode support.