Component
Navbar with Announcement — Neo Brutalism
Neo Brutalism navbar: Announcement + navbar.
- Component
- Tailwind
- HTML
- MIT
Preview
Live component
9:41 100%
devsnips.dev/library/tailwind/components/navbar/neo-brutalism/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Components/Navbar/neo-brutalism Tailwind/Components/Navbar/neo-brutalism <!--
Snippet Name: Navbar with Announcement — Neo Brutalism
Description: Neo Brutalism navbar: Announcement + navbar.
Author: DevSnips Contributors
Usage Example: Drop this snippet into any Tailwind CSS page.
-->
<header class="relative w-full text-black" data-navbar="neo-brutalism">
<div class="mx-auto max-w-7xl px-5 sm:px-6 lg:px-8">
<div class="flex items-center justify-center gap-2 py-2 text-sm text-black/60"><span class="inline-flex items-center gap-1.5 border-2 border-black bg-[#FFE600] px-2.5 py-1 f-mono text-[11px] font-bold uppercase tracking-wider"><svg class="h-3.5 w-3.5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M12 3v3M12 18v3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M3 12h3M18 12h3M5.6 18.4l2.1-2.1M16.3 7.7l2.1-2.1"/></svg> New</span>Flowbase 3.0 is live — workflow automations are here. <a href="#" class="font-semibold underline">Read more</a></div><nav class="flex h-16 items-center justify-between"><span class="inline-flex items-center gap-2 h-7" style="color:currentColor"><svg viewBox="0 0 24 24" fill="none" class="h-full w-auto" aria-hidden="true"><path d="M12 2 2 19h20L12 2z" fill="currentColor"/></svg><span class="font-semibold tracking-tight">Flowbase</span></span><div class="hidden md:flex items-center"><a href="#" class="text-sm font-medium text-black/60 px-3 py-2 rounded-md hover:opacity-100">Product</a><a href="#" class="text-sm font-medium text-black/60 px-3 py-2 rounded-md hover:opacity-100">Pricing</a><a href="#" class="text-sm font-medium text-black/60 px-3 py-2 rounded-md hover:opacity-100">Docs</a><a href="#" class="text-sm font-medium text-black/60 px-3 py-2 rounded-md hover:opacity-100">Changelog</a></div><div class="flex items-center gap-2"><a href="#" class="text-sm font-medium text-black/60 px-3 py-2">Sign in</a><a href="#" class="bg-[#FF4FA3] text-black border-2 border-black nb-shadow-sm nb-press font-bold px-4 py-2 text-sm">Start free <svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg></a></div><button type="button" class="md:hidden bg-[#FFFDF5] border-2 border-black nb-shadow-sm p-2" aria-label="Menu"><svg class="h-5 w-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M4 12h16M4 6h16M4 18h16"/></svg></button></nav>
</div>
</header> # Navbar with Announcement — Neo Brutalism
> Neo Brutalism navbar: Announcement + navbar.

## Features
- announcement + navbar
- top promo bar
- new badge
- dismissable-looking
- responsive nav
## Responsive support
- Mobile-first layout
- Breakpoints: `sm` (640px), `md` (768px), `lg` (1024px)
- Stacks gracefully on small screens, expands on large viewports
## Browser support
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
## Usage
1. Copy the markup from `code.html` into your Tailwind CSS project.
2. Include the corresponding Google Fonts in your document `<head>` if the style requires them.
3. The snippet is self-contained and copy-paste ready — no build step or JavaScript required.
## Design language
**Neo Brutalism** — part of the DevSnips Tailwind Sections library. Every section is
original, accessible, and production-ready.
## Files
- `preview.html` — full standalone preview page (Tailwind CDN + fonts)
- `code.html` — copy-paste snippet only (no `<head>` / CDN)
- `metadata.json` — structured metadata
- `README.md` — this file 11 lines UTF-8 · LF · Spaces: 2
Continue browsing