Content over a masked background image
A split hero where text and features sit on the left, with a background image fading in from the right using a gradient mask.
- Background image with gradient mask
- Content stays fully readable
- Works in both light and dark mode
- Ideal for atmospheric pages
AM
KL
SV
---
import Hero9Block from "@/components/blocks/hero-9.astro"
import avatarSil from "@/assets/avatar-sil-veltman.webp"
import placeholderImage from "@/assets/placeholder.webp"
---
<Hero9Block
title="Content over a masked background image"
description="A split hero where text and features sit on the left, with a background image fading in from the right using a gradient mask."
features={[
"Background image with gradient mask",
"Content stays fully readable",
"Works in both light and dark mode",
"Ideal for atmospheric pages",
]}
buttons={[
{ label: "Explore", href: "/docs/", variant: "default" },
{ label: "View source", href: "#", variant: "secondary" },
]}
socialProof={{
avatars: [
{ image: avatarSil, initials: "AM", name: "Sil Veltman" },
{ image: avatarSil, initials: "KL", name: "Sil Veltman" },
{ image: avatarSil, initials: "SV", name: "Sil Veltman" },
],
rating: 5,
text: "4.9 from product teams",
}}
image={{ src: placeholderImage, alt: "Atmospheric background" }}
/>