A hero whose serif headline always breaks over two lines, the second one a word that takes turns, each blurring in as the last blurs out over a line kept at a fixed height, beside an intro and a sliding-marker pill, above three photographs that drift at their own pace as the page scrolls, the middle one set a step lower.
A hero whose headline ends in a word that takes turns, each candidate blurring up as the last blurs out, beside an intro and a pill, above three photographs that drift at their own pace with the middle one set a step lower.
Upgrade to Pro
Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.
Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.
Radix flavor
npx shadcn add "https://ui.beste.co/r/hero179?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/hero179?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/hero179.tsx plus the button22 sliding-marker pill and the text4 turning word it uses.
The installed file exports hero179Demo alongside the block: the exact props behind the preview above. Spread it to get a working hero in one line.
import { Hero179, hero179Demo } from "@/components/beste/block/hero179";
export default function Page() {
return <Hero179 {...hero179Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Hero179 } from "@/components/beste/block/hero179";
export default function Page() {
return (
<Hero179
eyebrow="A practice for slow change"
headingStart="Room to"
words={["breathe.", "think.", "rest.", "begin again."]}
description="Whatever you need the room for this season, it is here."
button={{ label: "Take the room", href: "/book" }}
images={[
{ src: "/photos/grass.jpg", alt: "Tall grass in a sunlit field" },
{ src: "/rooms/table.jpg", alt: "A calm room with a long stone table" },
{ src: "/photos/waterfall.jpg", alt: "A waterfall falling through a green gorge" },
]}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | – | Small-caps line above the headline |
headingStart | string | – | The fixed first line, printed before the cycling word |
words | string[] | [] | Words that take turns completing the headline |
description | string | – | Paragraph beside the headline |
button | ActionButton | – | Pill action under the intro |
images | HeroImage[] | [] | Photographs; only the first three are rendered |
className | string | – | Extra classes for the outer <section> |
type HeroImage = {
src: string;
alt: string;
};
type ActionButton = {
label: string;
href: string;
tone?: "primary" | "light" | "dark" | "outline";
};text4 component rather than markup of its own, so the turn logic, the timer and the reduced-motion handling live in one place and this block only supplies the copy and the type styling.wordClassName puts the turning word in the muted tone, which is what makes the change legible: the fixed part holds still in full contrast while the moving part reads as the variable.0.6 + headingStart.split(" ").length * 0.07, so it arrives after the fixed words have settled and the first turning word is already in place.col-span-2) and returns to one from md, so a three-up row never leaves a single narrow image stranded on its own line.12% against the outer two at 7% and is pushed down by md:mt-16, so the row reads as a composed group rather than a strip.0.15s stagger between them.words is what drives the effect: with a single entry the headline simply holds that word, and the timer never starts.hero184
A text hero with an eyebrow and a serif headline that settles in word by word on the left, the intro and two sliding-marker pills on the right, and a ruled row of three serif figures that count up beneath, with no image.
hero185
A centred hero with an eyebrow, a serif headline that settles in word by word, an intro and a sliding-marker pill, closed by a ruled row where greyscale partner logos drift right to left behind soft edge fades, next to a small-caps label.
hero194
A centred install hero whose serif headline ends in a word that keeps changing (a pricing page, a hero, a footer), so the promise reads as a list of things the agent can be asked for. Below it an ink command pill that copies the install command on click sits beside a sliding-marker outline pill, then a quiet note.
hero177
A hero with a serif headline settling in word by word, an intro and a sliding-marker pill on the left, and two offset portrait photographs on the right that drift at different speeds as the page scrolls, one sitting a step lower than the other.