Skeuomorphic Header Component
A simple and responsive header component designed for e-commerce websites with a skeuomorphic style, using a grayscale color scheme and supporting dark mode.
HTML Code
<header class="bg-white dark:bg-gray-800 shadow-lg border-b border-gray-300 dark:border-gray-700 p-4">
<div class="container mx-auto flex justify-between items-center">
<div class="flex items-center space-x-4">
<img src="https://picsum.photos/50/50" alt="Logo" class="rounded-full shadow-md">
<h1 class="text-2xl font-bold text-gray-900 dark:text-white">ShopName</h1>
</div>
<nav class="flex space-x-4">
<a href="#" class="text-gray-600 dark:text-gray-300 hover:text-gray-800 dark:hover:text-gray-200">Home</a>
<a href="#" class="text-gray-600 dark:text-gray-300 hover:text-gray-800 dark:hover:text-gray-200">Products</a>
<a href="#" class="text-gray-600 dark:text-gray-300 hover:text-gray-800 dark:hover:text-gray-200">About Us</a>
<a href="#" class="text-gray-600 dark:text-gray-300 hover:text-gray-800 dark:hover:text-gray-200">Contact</a>
</nav>
<div class="relative">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-8 h-8 rounded-full shadow-md">
<span class="absolute top-0 right-0 bg-red-500 rounded-full h-2 w-2 border-2 border-white dark:border-gray-800"></span>
</div>
</div>
</header>
Related Components
Social Media Header Component
A complex, dark-mode responsive Header Component with a minimalist design and a complementary color scheme, designed for social media interfaces.
Header Component
A Neumorphism styled header component for a portfolio with a dark theme, responsive design, and contains multiple interactive elements.
E-commerce Header Component
A responsive, vibrant, Material Design-inspired header component for e-commerce websites, featuring navigation, search, and user actions. Supports dark mode.