Saltline Photo Festival
Ten days of travel photography hung in a single 180 meter corridor by the sea. Every print is shot within a day's ferry ride of the building.
A scroll-driven hero where twelve photographs hang along the walls of a CSS 3D corridor and the camera flies through them as you scroll, with a gentle pointer look-around and a quiet scroll cue (a small line with a traveling mark) that fades as soon as the walk begins, before a serif headline, a short intro, an Arrow Pill and an underline link arrive once the last print has passed. Only the corridor container is transformed per frame, and reduced motion shows a single still view of the hallway with the headline in place.
A pinned hero where photographs hang at increasing depth along the walls of a CSS 3D corridor and the camera flies through them as the page scrolls, leaning slightly with the pointer, before a serif headline, intro, Arrow Pill and underline link rise in once the last print has passed.
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/hero207?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/hero207?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/hero207.tsx plus the button23 and button2 buttons it uses.
The installed file exports hero207Demo alongside the block: the exact props behind the preview above. Spread it to get a working hero in one line.
import { Hero207, hero207Demo } from "@/components/beste/block/hero207";
export default function Page() {
return <Hero207 {...hero207Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Hero207 } from "@/components/beste/block/hero207";
export default function Page() {
return (
<Hero207
eyebrow="Saltline Photo Festival"
heading="Walk far enough and the pictures start walking with you."
description="Ten days of travel photography hung in a single 180 meter corridor by the sea."
buttons={[
{ label: "Plan your festival visit", href: "/visit" },
{ label: "Meet the photographers", href: "/photographers" },
]}
scrollHint="Scroll to walk in"
frames={[
{
src: "https://images.unsplash.com/photo-1506744038136-46273834b3fb?w=1200&q=80",
alt: "Pale mountains above a still river and dark pines at dusk",
},
{
src: "https://images.unsplash.com/photo-1579437469180-e31a7aa7273d?w=1200&q=80",
alt: "A pebble beach curving along a turquoise bay",
},
{
src: "https://images.unsplash.com/photo-1688926984205-74eb653edeae?w=1200&q=80",
alt: "A limestone cove with clear green water",
},
]}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | – | Muted line above the headline |
heading | string | – | Serif headline, rendered as the page h1 |
description | string | – | Intro in the right column from md |
buttons | ActionButton[] | [] | The first renders as a square-cornered Arrow Pill (Button23), the rest as underline links (Button2) |
frames | Frame[] | [] | Photographs along the corridor, nearest first |
scrollHint | string | – | Quiet cue with a traveling mark at the bottom of the first view |
className | string | – | Extra classes for the outer <section> |
type Frame = {
src: string;
alt: string;
};
type ActionButton = {
label: string;
href: string;
};260vh tall with a sticky stage; springy scroll progress from 0 to 0.84 moves a single container along the Z axis through count * 640 + 900 pixels, so only that container is transformed per frame.visibility: hidden when fully faded.0.8 and 0.95 of the progress over a gradient from the background color, and only takes pointer events once it is more than 60% visible.0.03 and returns only below 0.01, so it belongs to the first view.2.4 frames in, and the copy, which is otherwise hidden until the end of the flight, is shown at once.img elements with loading="lazy".