Tailwind hero sections

The first screen of a landing page. Built with React and Tailwind CSS, free to copy.

A hero section is the first screen of a landing page: a headline that says what you offer, a line of supporting text, a call-to-action button and usually an image or product shot. The hero sections below are free to copy with no signup. Each has a live preview, the React and Tailwind CSS code, a plain HTML version and a one-line shadcn install command.

Questions

What should a hero section include?

A headline that names what you offer and who it is for, one sentence that backs it up, one main button with a clear action such as Book a table or Start free, and a visual that shows the product, the place or the work. A second, quieter link is optional. Anything more usually belongs further down the page.

How do I add one of these hero sections to a React, Next.js or Vite project?

Open the hero, copy the React code into a component file and render it at the top of your page; your project needs Tailwind CSS set up. Or run the npx shadcn add command shown on the hero's page to drop the file in for you. Without React, use the HTML version instead.

Do the 3D heroes slow the page down?

They cost more than a photo or a CSS hero, because the ray-marched and other 3D scenes draw in a canvas on the graphics card while they are on screen. Use them where the visual is the point, such as a product or brand launch, and pick a lighter hero for content pages. Every hero here respects the reduced motion setting.

How do I change the text, colours and images?

Edit the words directly in the code, then follow the How to customize it list on each hero's page, which names the classes and values that set the colours, sizes and spacing. Replace the image or product shot with your own file, keeping a similar size so the layout does not shift.

Can I use these hero sections in client and commercial projects?

Yes. Every component in the gallery is free to copy and use in personal and commercial work, and these hero sections are original We.Inc designs. The licences page lists the few pieces elsewhere in the gallery that are adapted from open-source libraries.

Can I get a whole landing page built around a hero?

Yes. Describe your business in the box on this page and We.Inc builds a full site you can keep editing, starting at my.we.inc. Template sites are free; building with AI is part of a paid plan.

All free UI components. Build your site free to have a full site built around them.

More in Components

Product

Who It's For

Features

Resources

Company

View Sitemap