Hero Slider
A full-bleed hero carousel with crossfading slides and titled, clickable pagination built from editor content.
What it does
A hero block that rotates through editor-built slides, each its own inner block with a gradient, icon color, and a short pagination title. On the page the slides crossfade, and the pagination renders as clickable, labelled tabs rather than anonymous dots.
Why it exists
The hero is the most valuable and most-improvised area of a landing page. A structured slider lets editors run several messages in the primary slot while keeping every slide inside the same layout, contrast, and interaction rules.
Engineering considerations
The slider is a server-rendered block containing hero-slide inner blocks, so slide content stays real, editable block content. Swiper drives a crossfade loop with previous/next controls; a custom bullet renderer pulls each slide’s pagination title into the control, so the navigation is descriptive rather than decorative, and slide count is managed as a block attribute.