Skip to content

10+ Free Bootstrap & Tailwind Hero Section Templates

Eye-catching top sections with headline and call to action.

17 components

Dark Gradient Hero – free Bootstrap 6 hero section template

Dark Gradient Hero

Dark Bootstrap 6 hero with a blurred gradient mesh, gradient headline, glowing CTA, copyable install command, decorative orb with stats and a row of trust logos.

Split Hero with Stats – free Bootstrap 6 hero section template

Split Hero with Stats

Bootstrap 6 split hero with a highlighted headline, CTAs and avatar social proof beside a bento grid of key stats with a 12-month / all-time toggle.

Hero with Search Bar – free Bootstrap 6 hero section template

Hero with Search Bar

Bootstrap 6 directory hero on a photo background with a large pill search bar, a searchable area Combobox, popular search chips and category tiles.

SaaS Hero with App Screenshot – free Bootstrap 6 hero section template

SaaS Hero with App Screenshot

Bootstrap 6 SaaS hero with a New badge, gradient headline, two CTAs and an app screenshot in a browser frame with switchable tabs and a tour Dialog.

Hero with Background Video Overlay – free Bootstrap 6 hero section template

Hero with Background Video Overlay

Full-width Bootstrap 6 hero with a muted background video or slow-zoom poster photo, dark gradient overlay, headline, two buttons, stats and a pause control.

Centered Hero with Email Signup – free Bootstrap 6 hero section template

Centered Hero with Email Signup

Dark centered Bootstrap 6 newsletter hero with a gradient headline, inline email input group, validation, simulated submit with spinner and social proof avatars.

Hero Section with Image and CTA – free Bootstrap 6 hero section template

Hero Section with Image and CTA

Two-column Bootstrap 6 product hero with a bold headline, two call-to-action buttons, key specs, a product photo with rating badge and a compare Dialog.

Split Hero with Image and Trust Stats – free WordPress hero section template

Split Hero with Image and Trust Stats

Two-column split hero for consulting and agency sites with a headline, two buttons, three trust stats and a tall team photo, built from core Gutenberg blocks.

Full-Width Cover Hero with Photo Background – free WordPress hero section template

Full-Width Cover Hero with Photo Background

Restaurant cover hero with a full-width photo background, dark overlay, Book a table and View the menu buttons and an opening hours row, built only with core blocks.

SaaS Hero with Product Screenshot – free WordPress hero section template

SaaS Hero with Product Screenshot

Centered SaaS hero section for the block editor with a headline, two buttons and a framed product dashboard screenshot, ready to paste as a Gutenberg pattern.

Hero with Photo Collage Grid – free Bootstrap 5 hero section template

Hero with Photo Collage Grid

Bootstrap 5 hero section with a serif headline, call-to-action buttons and stats on the left and a five-photo collage grid with a floating card on the right.

Split Hero with Diagonal Photo Clip – free Pure CSS hero section template

Split Hero with Diagonal Photo Clip

Pure CSS split hero with headline, buttons and stats beside a full-height photo cut on a diagonal with clip-path, plus an accent stripe and rating badge.

Hero with Rotating Words – free Pure CSS hero section template

Hero with Rotating Words

Dark hero section whose headline cycles through words with a slide-and-fade animation, a pause button and decorative stat cards.

Hero with Background Overlay – free Bootstrap 5 hero section template

Hero with Background Overlay

Full-width Bootstrap 5 hero section with a cover background image, dark gradient overlay, fluid headline, two call-to-action buttons and a stats row.

Centered Hero with Announcement Badge – free Tailwind CSS hero section template

Centered Hero with Announcement Badge

Dark Tailwind CSS hero section with an announcement pill, gradient headline, two CTA buttons, glowing grid background and a row of trust logos.

Hero with Signup Form – free Bootstrap 5 hero section template

Hero with Signup Form

Bootstrap 5 two-column hero with value points, social proof and a validated signup card that shows a loading state and a success message.

Split Hero with App Screenshot – free Tailwind CSS hero section template

Split Hero with App Screenshot

Dark Tailwind CSS split hero with gradient headline, two CTA buttons and an animated mock app dashboard built entirely from divs.

What is a hero section?

A hero section is the large block at the top of a page, directly below or behind the navbar. It usually contains the main headline, a short supporting sentence, one or two call-to-action buttons and a visual such as a product screenshot, illustration, photo, video or gradient background. It is the first thing visitors see, so it has to explain what the page is about within a few seconds.

When to use a hero section

Almost every landing page, homepage, product page and campaign page benefits from a hero. Simpler inner pages may only need a compact page header. Choose the layout by content: a centred hero for a single strong message, a split hero with text and image side by side for products, and a full-width background image or video hero for brand and event pages.

Hero section best practices

  • Put the page's single <h1> in the hero and keep the headline short and specific.
  • Use one clear primary button and, if needed, a secondary one with less visual weight.
  • Ensure text over images meets contrast requirements; add an overlay if needed.
  • Do not lazy-load the main hero image, since it is often the largest contentful paint; set width and height to avoid layout shift and serve modern formats.
  • Background videos should be muted, have a pause control and respect prefers-reduced-motion.
  • On mobile, stack content vertically, reduce the headline size and keep the call to action visible without scrolling.
  • Give meaningful images descriptive alt text and decorative ones an empty alt.

Responsive hero section HTML and CSS

Hero snippets come in Bootstrap 6, Bootstrap 5, Tailwind CSS and pure CSS versions. Bootstrap 5 heroes use the grid and display heading classes, while the Bootstrap 6 alpha versions use theme-* colour roles so backgrounds and buttons follow your theme. Tailwind and pure CSS heroes cover split, centred, gradient and image-background layouts. Filter by framework, resize the live preview, then copy the code or download the snippet and replace the headline, image and buttons with your own.