Components Sticky Navigation Brutalism Sticky Navigation

Brutalism Sticky Navigation

A complex Sticky Navigation Component with Brutalism design, monochromatic color scheme, designed for portfolios, featuring responsive design and dark mode support using Tailwind CSS.

Preview

HTML Code

<header class="text-gray-600 dark:text-gray-400 body-font sticky top-0 z-50 bg-white dark:bg-gray-900 border-b-4 border-black dark:border-white">
  <div class="container mx-auto flex flex-wrap p-5 flex-col md:flex-row items-center">
    <a class="flex title-font font-medium items-center text-gray-900 dark:text-white mb-4 md:mb-0">
      <span class="text-xl border-4 border-black dark:border-white p-2 font-bold">BRUTALIST NAV</span>
    </a>
    <nav class="md:ml-auto flex flex-wrap items-center text-base justify-center font-bold">
      <a href="#" class="mr-5 hover:text-gray-900 dark:hover:text-white border-b-4 border-transparent hover:border-black dark:hover:border-white transition duration-300 ease-in-out">Home</a>
      <a href="#" class="mr-5 hover:text-gray-900 dark:hover:text-white border-b-4 border-transparent hover:border-black dark:hover:border-white transition duration-300 ease-in-out">About</a>
      <a href="#" class="mr-5 hover:text-gray-900 dark:hover:text-white border-b-4 border-transparent hover:border-black dark:hover:border-white transition duration-300 ease-in-out">Portfolio</a>
      <a href="#" class="mr-5 hover:text-gray-900 dark:hover:text-white border-b-4 border-transparent hover:border-black dark:hover:border-white transition duration-300 ease-in-out">Contact</a>
    </nav>
    <button class="inline-flex items-center bg-gray-100 dark:bg-gray-800 border-4 border-black dark:border-white py-1 px-3 focus:outline-none hover:bg-gray-200 dark:hover:bg-gray-700 text-base mt-4 md:mt-0 font-bold">
      Hire Me
      <svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-4 h-4 ml-1" viewBox="0 0 24 24">
        <path d="M5 12h14M12 5l7 7-7 7"></path>
      </svg>
    </button>
  </div>
</header>

Related Components

Sticky Navigation (Glassmorphism)

Sticky Navigation Component with Glassmorphism style, responsive, and dark theme support.

Open

Sticky Navigation Component

A responsive, sticky navigation bar with neon/glow effects, suitable for education or learning platforms. Features a purple/violet color scheme, dark mode support, and interactive menu items.

Open

Sticky Navigation Component - Dark Mode Pastel

A sticky navigation bar designed for dark mode, featuring a responsive layout and pastel color accents. The navigation bar remains at the top of the viewport as the user scrolls, improving usability for content-heavy pages. It includes placeholders for a logo or site title and navigation links, styled with Tailwind CSS for a modern, clean look.

Open