Maison Oriel, perfumers in Grasse since 1962
A pinned scroll hero for a perfume house built on the photo-dust component: on the page background a fine cloud of amber dust drifts on a slow wind, and as the reader scrolls the grains settle from the bottom up into a photograph of a glass perfume bottle in low sun, each grain lifting a little before it lands, until the real photo fades in at full detail. The large semibold headline holds over the dust from the start; the intro, an Arrow Pill and an underline link settle in once the picture is whole. The cursor blows the settled grains aside as it passes, and every dust setting passes through the dust prop. Reduced motion shows the photograph and all copy.
A pinned scroll hero built on the photo-dust WebGL component: a cloud of fine dust drifts on a slow wind over the theme background, and as the page scrolls the grains settle from the bottom up into your photograph until the real photo fades in at full detail; the headline holds from the start, and the intro and two buttons settle in once the picture is whole.
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/hero257?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/hero257?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/hero257.tsx plus the photo-dust component and the button23 and button2 buttons it uses.
The installed file exports hero257Demo alongside the block: the exact props behind the preview above. Spread it to get a working hero in one line.
import { Hero257, hero257Demo } from "@/components/beste/block/hero257";
export default function Page() {
return <Hero257 {...hero257Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Hero257 } from "@/components/beste/block/hero257";
export default function Page() {
return (
<Hero257
eyebrow="Perfumers in Grasse since 1962"
heading="Made of almost nothing."
description="Each perfume is built from a handful of rare materials, weighed by the grain."
buttons={[
{ label: "Discover the collection", href: "/collection" },
{ label: "Book a scent consultation", href: "/consultation" },
]}
dust={{
imageSrc: "https://images.unsplash.com/photo-1622618991746-fe6004db3a47?w=1600&q=80",
imageAlt: "A clear glass perfume bottle and two small jars casting amber shadows on warm paper",
groundColor: "var(--background)",
density: 0.6,
focusX: 0.4,
focusY: 0.5,
}}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | – | Small line above the heading |
heading | string | – | Headline, rendered as the page h1 |
description | string | – | Intro that settles in once the picture is whole |
buttons | ActionButton[] | [] | The first renders as a primary Button23 arrow pill, the rest as muted Button2 underline links |
dust | Omit<PhotoDustProps, "className" | "children" | "progress" | "autoplay"> | – | Forwards the PhotoDust component's props: imageSrc, imageAlt, density, wind, grain, groundColor, speed, interactive, focusX, focusY, paused |
className | string | – | Extra classes for the outer <section> |
type ActionButton = {
label: string;
href: string;
};h-[260svh] with a sticky frame, and the grains settle as scroll progress runs from 0.04 to 0.75.dust.groundColor (default var(--background)) paints both the section and the dust surface, so the two never show a seam and the ground follows the theme; the copy uses text-foreground and text-muted-foreground, so it reads on any ground color that follows the theme.aria-hidden, ignore the pointer and the links leave the tab order. On phones the same copy sits under the photograph and follows the same rule.interactive is on; touch is ignored.img stays in the page with its alt, and the canvas covers it once the grains are ready.