Desktop · 1280px · shown at 0% · edit the text, images and colours in the panel
Centred Gradient Hero — Free Website Section Template
Hero · v1.0.0 · Updated 2026-10-20 · Responsive · GSAP animation · HTML, React & Vue
What's included
Features
About this section
Centred Gradient Hero — Free Dark Hero Section Template With Glow
Centred Gradient Hero is a free, dark landing-page hero with soft glowing gradients drawn entirely in CSS. A small pill eyebrow, a large centred headline, supporting text, two buttons and a short reassurance note sit above a wide product screenshot that rises from the bottom edge of the section, the layout made popular by modern developer tools and AI products.
Glow without images
The background is three layered radial gradients (your brand colour at the top, with pink and cyan accents on the sides), so it looks rich without loading a background image and recolours instantly when you change the brand colour. The screenshot frame picks up a matching glow along its top edge.
Built to convert
Centred heroes put all attention on one message and one action. The note under the buttons ("Free forever for small teams · Set up in 2 minutes") answers the two most common sign-up objections, and the screenshot gives visitors a reason to keep scrolling. Turn the screenshot off for a compact text-only hero; the section adds bottom padding automatically.
Theme, motion and exports
Pick a theme preset (the Midnight look is the default) or set exact colours, choose fonts from Google Fonts or upload your own, and set the corner radius and content width shared by every section. The GSAP entrance animation staggers the text and fades the screenshot up once on scroll, with reduced-motion support. Export a single HTML file, a ZIP with your images, a React or Vue component, or fork it into My Code.

Why use it
Why Use the Centred Gradient Hero
How it’s different
How It’s Different From Other Free Section Templates
Step by step
How to Use
- 1Edit the contentFill in the headline & text, buttons and product image in the panel. Switch the product image on or off. Wrap words in *asterisks* to colour them.
- 2Add your imagesUpload your own images (resized in your browser and kept on your device) or paste a hosted image URL.
- 3Match your brandPick a colour preset or exact colours, choose heading and body fonts from Google Fonts or your own uploaded font, set the corner radius and width, or apply your brand kit.
- 4Animate and previewChoose a GSAP entrance effect and speed, press Play animation, and check the section on desktop, tablet and mobile.
- 5Save and exportSave it to My designs, then export a single HTML file, a ZIP with your images, a React or Vue component, or fork it into My Code.
Real-world uses
Common Use Cases
Got questions?
Frequently Asked Questions
With three layered CSS radial gradients behind the content: one in your brand colour at the top and two accent glows on the sides. No background image is loaded, and the glow recolours when you change the brand colour.
Yes. Switch off "Product image" and the hero becomes a compact centred text section, with extra bottom padding added automatically.
Yes. Pick a light preset such as Indigo or Mono, or set the background and text colours yourself. The glow uses your brand colour, so it suits light and dark themes.
Open Export and choose Copy React component or Copy Vue component. The CSS, including the theme variables and the Google Fonts import, comes with the component, and the GSAP animation is included.
Yes. All section templates are free for personal and commercial websites, with no account and no attribution required.
It saves an editable copy of your Centred Gradient Hero in My Code, the UI Snippets code editor: the section markup goes in the HTML panel, its CSS (theme variables, base styles and layout) in the CSS panel, and the GSAP library is added as a CDN link, so you can keep refining the code and save your own versions.
Yes. It is free for personal and commercial websites, with no sign-up, no watermark and no attribution required. Everything runs in your browser and your edits are saved locally.



