Components Header Brutalist Header Component

Brutalist Header Component

A raw and bold header component designed with Tailwind CSS, featuring high contrast and unusual layouts suitable for both light and dark themes.

Preview

HTML Code

<header class="bg-gray-900 text-white p-6">
    <div class="flex justify-between items-center">
        <div class="flex items-center space-x-4">
            <img src="https://picsum.photos/50" alt="Logo" class="w-16 h-16 rounded-full border-4 border-yellow-500">
            <h1 class="text-3xl font-bold">Brutalist Header</h1>
        </div>
        <nav class="flex space-x-6">
            <a href="#" class="text-yellow-300 hover:underline">Home</a>
            <a href="#" class="text-yellow-300 hover:underline">About</a>
            <a href="#" class="text-yellow-300 hover:underline">Services</a>
            <a href="#" class="text-yellow-300 hover:underline">Contact</a>
        </nav>
    </div>
    <div class="mt-4 pt-4 border-t border-yellow-500 flex flex-col space-y-2">
        <h2 class="text-xl font-bold">Welcome to the Brutalist World</h2>
        <p class="text-sm">This is a header component that embodies the raw and bold aesthetics of Brutalism.</p>
    </div>
</header>

<style>
    @media (prefers-color-scheme: dark) {
        header {
            background-color: #1c1917;
            color: #f9fafb;
        }
        a {
            color: #fbbf24;
        }
    }
</style>

Related Components

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.

Open

3D Retro Weather Header Component

A complex, retro-themed header component for a weather/climate application, featuring 3D design elements, a muted color palette, and full responsiveness with dark mode support. It displays current weather info, location, date, and navigation.

Open

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.

Open