SocialMediaHeader
A responsive header component for social media interfaces, designed with a dark mode UI using a triadic color scheme and minimal elements. It includes a site title, a search bar, and user profile link, with styles adapted for dark mode using Tailwind CSS.
HTML Code
<header class="bg-gray-900 text-gray-200 py-4 px-6 shadow-md">
<div class="container mx-auto flex flex-wrap items-center justify-between">
<div class="text-xl font-bold">SocialNet</div>
<div class="flex-grow mx-4 max-w-md">
<input type="text" placeholder="Search..." class="w-full px-3 py-2 bg-gray-800 text-gray-200 rounded-md focus:outline-none focus:ring focus:border-blue-300 dark:bg-gray-700 dark:text-gray-100 dark:focus:border-blue-600">
</div>
<nav>
<a href="#" class="px-3 py-2 hover:text-blue-400 dark:hover:text-blue-500">Profile</a>
</nav>
</div>
</header>
Related Components
E-commerce Header Component
A responsive e-commerce header component built using Tailwind CSS with Material Design principles. Features a monochromatic color scheme (shades of blue), search functionality, navigation menu, shopping cart, and user profile. The header includes depth effects like shadows and supports dark mode. The component is fully responsive with a mobile hamburger menu.
Header Component
A responsive header component with dark mode support, featuring a logo, navigation links, and a call-to-action button. The design uses a dark background to reduce eye strain.
SkeuoHeaderComponent
A responsive header component with Skeuomorphism design, dark theme support, and a navigation bar.