webdevpuneet.com

Navbar Templates

6 sections · Responsive · GSAP animation · HTML, React & Vue

Updated October 20, 2026

About these sections

Navbar Templates

The navbar is on every page, so it has to be clear, fast and work perfectly on phones. These headers handle the hard parts for you: a mobile menu that's accessible, a sticky bar that can get out of the way, and a layout that adapts to any number of links.

The Simple Sticky Navbar is a clean, frosted header with links, log-in and a CTA. The Floating Pill Navbar hovers over the page as a dark glass pill and opens a full-screen menu on phones. The Navbar With Announcement Bar adds a dismissible bar on top for sales, launches and news.

For online stores there are three ecommerce mega menus with a search field, account, wishlist and cart icons and full-width dropdown panels: the Link Columns Mega Menu with three link columns and a featured card, the Image Tiles Mega Menu with large category photos, and the Department Sidebar Mega Menu for big catalogues, with a department list and an All categories button.

Every mobile menu opens with GSAP, closes on Esc, keeps keyboard focus inside while open, announces its state to screen readers and shows the links even without JavaScript. Switch the sticky header and hide-on-scroll options on or off, upload your logo, and export to HTML, React or Vue.

Simple Sticky Navbar: A clean, responsive site header: logo on the left, navigation links, a log-in link and a call-to-action button. It sticks to the top with a frosted blur and a shadow once you scroll, and on small screens the links fold into an accessible hamburger menu that animates open with GSAP.

Floating Pill Navbar: A modern floating header: a dark, frosted-glass pill that hovers a little below the top of the page, with the logo, centred links and a bright CTA. On small screens the hamburger opens a full-screen menu with large links that stagger in, the style made popular by AI and design-tool websites.

Navbar With Announcement Bar: A two-part site header: a slim announcement bar on top for news, launches or offers, with a link and a close button that collapses it smoothly; underneath, a navbar with the logo and links on the left and sign-in plus a CTA on the right. On phones the links fold into an animated menu.

Ecommerce Mega Menu — Link Columns: The classic online-store header: a thin top bar, then the logo, a search field and account, wishlist and cart icons, with the shop categories underneath. Hover or click a category and a full-width mega menu drops down with up to three columns of links and a featured card with an image. Plain links such as Sale work too. On phones everything collapses into a burger menu with tap-to-open category accordions.

Ecommerce Mega Menu — Image Tiles: An editorial store header for shops that sell with pictures. The logo sits on the left, the categories in the centre and the search, account, wishlist and cart icons on the right. Hover or click a category and a panel of up to four large photo tiles drops down, each with its own label and link, plus a heading and a view-all link. On phones the panels become tap-to-open accordions inside the burger menu.

Ecommerce Mega Menu — Department Sidebar: The big-catalogue pattern used by marketplaces and department stores. Under the search header, an All categories button opens one large panel: a vertical list of departments with icons on the left, and on the right the sub-category columns and a featured card of whichever department you point at. Quick links such as Deals and Gift cards sit beside the button. On phones the departments turn into chips above the active panel.

Browse other categories

More Section Categories

CategoryWhat it is forSectionsIncludes
HeroAbove-the-fold hero sections with a headline, supporting text, call-to-action buttons and an image, screenshot or background photo.6SaaS Split Hero, Centred Gradient Hero, Image Background Hero, App Product Hero, Personal Portfolio Hero, Terminal Hero
FeaturesFeature grids, alternating image-and-text rows and benefit lists.5Icon Grid Features, Split Features With Image, Bento Grid Features, Alternating Feature Rows, How It Works Steps
PricingPricing tables and plan cards with highlighted plans and feature lists.5Three-Tier Pricing, Dark Glow Pricing, Single Plan Pricing, Pricing List Rows, Pricing Comparison Table
TestimonialsCustomer quotes, review walls and case-study highlights.6Testimonial Wall, Testimonial Carousel, Testimonial Marquee, Testimonial Spotlight, Case Study Showcase, Reviews Summary & Rating
FAQFrequently asked question sections with expandable answers.3FAQ Accordion, Split FAQ With Contact Card, FAQ Grid
Call to actionClosing call-to-action banners and sign-up blocks.5Gradient CTA Banner, Split CTA With Image, Newsletter Signup CTA, CTA Strip, Loyalty Stamp Card
Stats & logosSocial-proof numbers and customer logo strips.3Animated Stats Counters, Scrolling Logo Cloud, Stats With Logos (Dark)
TeamTeam grids with photos, names and roles.4Team Grid, Team Carousel, Interactive Team Accordion, Team With Hiring CTA
About usAbout us and our story sections: a picture, the story, the founder, key facts and company values.1About Us & Our Story
ContactContact sections with details, maps and forms.6Contact Form With Details, Contact Options Cards, Contact With Map, Booking Request Form, Opening Hours & Location, Service Area Checker
FormsForms for every job: contact, multi-step, quote request, survey, application, RSVP, support, donation, waitlist and code verification, with floating labels, selects, switches, ratings, steppers and file drop areas.13Centered Contact Form, Floating Label Form, Multi-Step Form, Quote Request Form, Feedback Survey Form, Job Application Form, Event RSVP Form, Support Ticket Form, Donation Form, Waitlist Form, Verification Code Form, Profile & Preferences Form, Form With Image
BlogBlog and article grids with cover images.6Blog Post Cards, Featured Post With List, Editorial Post List, Legal & Long-Form Text Page, Blog Post Page (Single Article), Blog Grid with Pagination
Gallery & mediaPhoto galleries with filters and a lightbox, video sections and before-and-after sliders.3Filterable Image Gallery, Video Section with Poster, Before & After Slider
Scroll effectsScroll-driven sections built with GSAP: horizontal scroll galleries, pinned scroll stories and stacking cards.6Horizontal Scroll Gallery, Pinned Scroll Story, Stacking Cards, Scroll Path Timeline, 3D Scroll Carousel, Scroll Zoom Image Stack (Ken Burns)
Menus & listingsIndustry sections: restaurant menus with prices, property listings and class timetables.12Shop the Look, Collection Tiles, Services & Booking List, Restaurant Menu, Property Listings, Product Grid, Product Detail Page, Product Listing with Filters, You Might Also Like (Product Strip), Class Timetable, Project Cards, Price Estimator
MusicSections for bands, artists and labels: a music hero, an audio player with a track list, tour dates with tickets, a discography grid, a release countdown and streaming links.6Music Artist Hero, Audio Player & Track List, Tour Dates & Tickets, Discography Grid, New Release Spotlight, Streaming Links Bar
Login & Sign upLogin and register screens with email and password, social sign-in buttons, show password and a password strength hint.2Login Form (Sign In Page), Register Form (Sign Up Page)
Cart, checkout & ordersThe pages after Add to cart: cart page with promo code and shipping, checkout with order-by-message or payment link, order confirmation, order history and a wishlist.5Cart Page, Checkout Page, Order Confirmation (Thank You), Order History (My Orders), Wishlist Page
PopupsPopups that open after a delay, on exit intent or on scroll, for sign-ups, offers and announcements.1Popup & Promo Modal
AccessibilityFloating accessibility toolbars that let visitors enlarge text, change contrast, hide images, pause animations and more.1Accessibility Toolbar Widget
Cursor & page effectsPage-wide effects that take no space in the layout: cursor followers that invert what is under them, floating back-to-top buttons and a slide-in cart drawer.3Cursor Follower (Blend Mode Circle), Back to Top Button, Cart Drawer (Mini Cart)
TimelinesTimelines for company history, roadmaps and milestones, laid out along a scrollable line.2Vertical Timeline, Horizontal Timeline
Social shareFloating social share bars that take no space in the layout, with share buttons for the popular networks.1Floating Social Share Bar
FooterWebsite footers with link columns, newsletter sign-up and social links.4Multi-Column Footer, Big Wordmark Footer, Footer With Newsletter, Minimal Footer

Real-world uses

Best Uses for Navbar Sections

🚀
SaaS website header (Simple Sticky Navbar)
Link to Product, Features, Pricing and Blog, with "Log in" for customers and "Start free trial" for everyone else.
🏢
Business or agency site (Simple Sticky Navbar)
Use Services, Work, About and Contact as links, and point the button to a booking page.
🤖
AI product website (Floating Pill Navbar)
Float it over a dark gradient hero with links to Product, Features, Pricing and Docs and a "Get started" button.
🎨
Design studio or portfolio (Floating Pill Navbar)
Use Work, Services, About and Contact links, with the full-screen menu showcasing your bold typography on phones.
🏷️
Sale or discount (Navbar With Announcement Bar)
Announce "Free shipping this weekend" or a seasonal sale with a link straight to the offer.
🚀
Product launch (Navbar With Announcement Bar)
Point the bar to your launch post or Product Hunt page while the launch is live.

How it’s different

How These Section Templates Are Different

✎
Editable, not just copyable
Change text, links, images, colours and fonts in the browser before you export, instead of editing someone else’s code by hand.
◐
One theme for every section
Colours, fonts, radius and width are shared CSS variables, so every section you combine looks like one website.
⇲
Responsive by container
Container queries make each section adapt to its own width, in a full page, a column or a page builder.
✦
GSAP animation built in
Every section animates in with GSAP and ScrollTrigger, stays visible without JavaScript and respects reduced motion.
</>
HTML, React and Vue
Export a single HTML file, a ZIP with your images, a React component or a Vue component, or fork the code into My Code.
◍
Free, private, saved
No account and no watermark. Designs, uploaded images and fonts stay in your browser, with a backup file you can restore anywhere.

Step by step

How to Use

  1. 1
    Pick a sectionOpen one of the navbar sections above. Your edits autosave in your browser as you go.
  2. 2
    Edit the contentChange the text, buttons, links and images in the panel, and switch optional parts on or off.
  3. 3
    Add your brandPick colours, fonts, radius and width, or apply your saved brand kit; every section shares the same theme.
  4. 4
    Animate and previewChoose a GSAP entrance effect, press Play animation, and check desktop, tablet and mobile.
  5. 5
    ExportDownload HTML or a ZIP, copy a React or Vue component, or fork it into My Code.

Got questions?

Frequently Asked Questions

A real button for the mobile menu with aria-expanded and a label, keyboard support (Tab, Enter, Esc), focus moving into the menu when it opens and back to the button when it closes, and links that still work without JavaScript. These navbars do all of that.

For most marketing sites, yes: it keeps navigation and the main button in reach. On long reading pages, the hide-on-scroll option gives readers more space and brings the header back when they scroll up.

A mega menu is a large dropdown that shows many links at once, grouped into columns, often with an image. Use one when a shop has more categories than fit in a simple row of links, so shoppers can see every sub-category in one place.

Four to six top-level links is ideal. Put secondary pages in the footer, and keep one clear call-to-action button on the right.

Simple Sticky Navbar: A clean, responsive site header: logo on the left, navigation links, a log-in link and a call-to-action button. It sticks to the top with a frosted blur and a shadow once you scroll, and on small screens the links fold into an accessible hamburger menu that animates open with GSAP. Floating Pill Navbar: A modern floating header: a dark, frosted-glass pill that hovers a little below the top of the page, with the logo, centred links and a bright CTA. On small screens the hamburger opens a full-screen menu with large links that stagger in, the style made popular by AI and design-tool websites. Navbar With Announcement Bar: A two-part site header: a slim announcement bar on top for news, launches or offers, with a link and a close button that collapses it smoothly; underneath, a navbar with the logo and links on the left and sign-in plus a CTA on the right. On phones the links fold into an animated menu. Ecommerce Mega Menu — Link Columns: The classic online-store header: a thin top bar, then the logo, a search field and account, wishlist and cart icons, with the shop categories underneath. Hover or click a category and a full-width mega menu drops down with up to three columns of links and a featured card with an image. Plain links such as Sale work too. On phones everything collapses into a burger menu with tap-to-open category accordions. Ecommerce Mega Menu — Image Tiles: An editorial store header for shops that sell with pictures. The logo sits on the left, the categories in the centre and the search, account, wishlist and cart icons on the right. Hover or click a category and a panel of up to four large photo tiles drops down, each with its own label and link, plus a heading and a view-all link. On phones the panels become tap-to-open accordions inside the burger menu. Ecommerce Mega Menu — Department Sidebar: The big-catalogue pattern used by marketplaces and department stores. Under the search header, an All categories button opens one large panel: a vertical list of departments with icons on the left, and on the right the sub-category columns and a featured card of whichever department you point at. Quick links such as Deals and Gift cards sit beside the button. On phones the departments turn into chips above the active panel.

Yes. Every section is free for personal and commercial work, with no account, no watermark and no attribution: export it on its own as HTML, React, Vue or Next.js from its page, or use it in a website you build and export in the Website Builder.