Turning Word Hero

Altair, a practice for slow change

Roomtobreathe.

Whatever you need the room for this season, it is here: a steady hour, a person who listens all the way through, and no hurry to be anywhere else.

Take the room
Parasols and towels across a wide sandy beach
Turquoise shallows and a pebble beach seen from above
Two wooden boats moored off a white sand beach
About this block

Turning Word HeroPRO

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.

Hero179: Turning Word Hero

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.

Upgrade Now

Installation

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

bash
npx shadcn add "https://ui.beste.co/r/hero179?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
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.

Quick start

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.

tsx
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:

tsx
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" },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
eyebrowstringSmall-caps line above the headline
headingStartstringThe fixed first line, printed before the cycling word
wordsstring[][]Words that take turns completing the headline
descriptionstringParagraph beside the headline
buttonActionButtonPill action under the intro
imagesHeroImage[][]Photographs; only the first three are rendered
classNamestringExtra classes for the outer <section>
ts
type HeroImage = {
  src: string;
  alt: string;
};

type ActionButton = {
  label: string;
  href: string;
  tone?: "primary" | "light" | "dark" | "outline";
};

Behavior notes

  • The cycling headline is the 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.
  • The intro waits on 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.
  • Only three photographs are rendered. The third spans two columns on a phone (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.
  • The middle photograph drifts 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.
  • Images enter after the copy, with a 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.

More Hero blocks

View all Hero
PRO

hero184

Figures Hero

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.

PRO

hero185

Logos Hero

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.

PRO

hero194

Turning Request Hero

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.

PRO

hero177

Two Tempos Hero

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.

PRO

hero176

Unveiling Hero

A centred hero: eyebrow, a serif headline settling in word by word, intro and two sliding-marker pills, then a wide photograph that unveils itself from a smaller inset frame and keeps drifting as the page scrolls, closed by a row of dotted facts.

PRO

hero166

Split Headline Hero

An editorial hero that breaks its display heading across two lines and slots a square image tile floating a live payment card into the gap, with the paragraph and action landing under a hairline.