_type naming convention and are auto-discovered by block-registry.ts.
Variants
hero-1
Centered layout: badge link + headline prose + two CTA buttons + full-width image below.
hero-2
Split layout: headline and actions on the left, media on the right.
hero-3
Minimal centered layout with headline and actions, no image.
hero-4
Centered layout with background image fill and overlaid text.
hero-5
Split layout with stacked stat items alongside the headline.
hero-6
Centered layout with logo cloud row beneath the CTA buttons.
hero-7
Split layout with a ratings/social proof item embedded in the content area.
hero-8
Full-bleed video background with centered headline overlay.
hero-9
Centered layout with feature icon tiles below the CTA.
hero-10
Split layout with a feature checklist alongside the prose.
hero-11
Centered layout with a floating card testimonial element.
hero-12
Split layout with avatar group and rating social proof.
hero-13
Minimal split layout with a single prominent CTA button.
hero-14
Centered layout with a marquee/scrolling image strip below.
Sanity _type names
Each variant’s Sanity block type matches the filename exactly:
Props interface
All hero variants derive from the same base pattern.hero-1.astro is the canonical reference:
Additional CSS classes forwarded to the root
<Section> element.HTML
id attribute on the root element, used for anchor links.Badge/pill link rendered above the headline. Accepts
text, href, icon (Lucide/Iconify name), and target.Array of CTA buttons rendered in the section actions row. The first item uses the
default button variant; subsequent items use secondary. Each object accepts text, href, icon, and target.Hero image rendered in
SectionMedia. Requires src (URL or path) and alt (descriptive text). Served with responsive sizes via the fulldev/ui <Image> primitive.<slot /> as rich text, not as props.
Storybook story
Thehero-1 story exports demo args that match the Props interface above:
hero-2 through hero-14) has its own story in the same directory under the Blocks/Hero/ Storybook group.