Header Component
A responsive header component featuring Glassmorphism design with frosted glass-like translucent elements and dark theme support.
HTML Code
<header class="bg-white bg-opacity-30 backdrop-blur-lg dark:bg-gray-800 dark:bg-opacity-60 shadow-lg p-4 flex justify-between items-center">
<div class="flex items-center">
<img src="https://picsum.photos/50/50" alt="Logo" class="rounded-full mr-2">
<h1 class="text-xl font-bold text-gray-900 dark:text-white">My Website</h1>
</div>
<nav class="space-x-4">
<a href="#" class="text-gray-800 dark:text-gray-200 hover:underline">Home</a>
<a href="#" class="text-gray-800 dark:text-gray-200 hover:underline">About</a>
<a href="#" class="text-gray-800 dark:text-gray-200 hover:underline">Services</a>
<a href="#" class="text-gray-800 dark:text-gray-200 hover:underline">Contact</a>
</nav>
<div class="flex items-center">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="rounded-full w-10 h-10">
</div>
</header>
Related Components
Header Component
A responsive header component for a dashboard with microinteractions and vibrant colors, supporting dark theme.
Header Component
A Neumorphism styled header component for a portfolio with a dark theme, responsive design, and contains multiple interactive elements.
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.