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
Search Box Component
A 3D styled search box component designed for business and corporate websites, featuring a complex interface with depth, interactive elements, and dark mode support.
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.
Glassmorphism Search Box Component
A modern search box component with a frosted glass effect (glassmorphism) using pastel colors. The component is simple but elegant, designed for professional business websites. It features a translucent background with subtle blur effects, responsive design, and dark mode support. The search box includes a search icon and a clean input field that fits well in corporate environments.