Header Component
A Neumorphism styled header component for a portfolio with a dark theme, responsive design, and contains multiple interactive elements.
HTML Code
<header class="bg-gray-100 dark:bg-gray-800 shadow-lg rounded-lg p-6 flex flex-col md:flex-row items-center justify-between space-y-4 md:space-y-0">
<div class="flex items-center space-x-4">
<img src="https://picsum.photos/60" alt="Logo" class="h-10 w-10 rounded-full shadow-lg">
<h1 class="text-2xl font-bold text-gray-900 dark:text-white">My Portfolio</h1>
</div>
<nav class="flex space-x-4">
<a href="#" class="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition duration-200">Home</a>
<a href="#" class="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition duration-200">About</a>
<a href="#" class="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition duration-200">Projects</a>
<a href="#" class="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition duration-200">Contact</a>
</nav>
<div class="flex items-center space-x-2">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="h-10 w-10 rounded-full shadow-lg">
<button class="bg-blue-500 dark:bg-blue-700 text-white font-semibold py-2 px-4 rounded-lg transition duration-200 hover:bg-blue-600 dark:hover:bg-blue-800">Get In Touch</button>
</div>
</header>
Related Components
Complex Dashboard Header
A complex, responsive header component with 3D design elements, earth tone color scheme, designed for dashboards. Includes dark theme support using Tailwind CSS and uses picsum.photos and randomuser.me for demo images/avatars.
Header Component
A responsive header component designed in a Brutalism style with a pastel color scheme for a blog or content site, incorporating dark theme support.
Retro Vintage Header Component
A responsive header component with a retro/vintage design style, featuring support for dark mode and nostalgic aesthetics inspired by the 80s and 90s.