A centred hotel hero with a serif headline, a short line and two pills above a panoramic photograph that begins as a framed picture with soft corners and, as it scrolls towards the middle of the screen, widens edge to edge while the view eases back from a slight zoom, finished with two quiet captions.
A centered serif headline and two pills sit above a panoramic photograph that starts inset with rounded corners and, as you scroll it toward the middle of the screen, widens to the full page width while easing back from a slight zoom.
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://beste.dev/r/hotel22?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://beste.dev/r-base/hotel22?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/hotel22.tsx plus the button22 sliding-marker pill for the buttons and the text1 word stagger for the headline.
The installed file exports hotel22Demo alongside the block: the exact props behind the preview above. Spread it to get a working section in one line.
import { Hotel22, hotel22Demo } from "@/components/beste/block/hotel22";
export default function Page() {
return <Hotel22 {...hotel22Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Hotel22 } from "@/components/beste/block/hotel22";
export default function Page() {
return (
<Hotel22
eyebrow="Twelve rooms on Paros"
heading="A horizon you can keep for a week."
description="Come for the light at the edge of the pool, stay for how slowly everything else moves."
buttons={[
{ label: "Book a stay", href: "/book", tone: "dark" },
{ label: "See the rooms", href: "/rooms", tone: "outline" },
]}
image={{
src: "https://oud.pics/b/hotel/ostria-pool-dusk.webp",
alt: "An infinity pool meeting the sea at dusk",
}}
captions={{ left: "The sea pool, a little after eight", right: "Ostria Cove, Paros" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | – | Small line above the heading |
heading | string | – | Serif <h1>, staggered word by word through Text1 |
description | string | – | Paragraph under the heading |
buttons | ActionButton[] | [] | Pill actions under the copy |
image | Image | – | The panoramic photograph; the whole band is omitted without it |
captions | Captions | – | Two small captions under the photograph |
className | string | – | Extra classes for the outer <section> |
type ActionButton = {
label: string;
href: string;
tone?: "primary" | "light" | "dark" | "outline";
};
type Image = {
src: string;
alt: string;
};
type Captions = {
left?: string;
right?: string;
};clip-path: from when the band's top enters the viewport until its center reaches the viewport center, the side insets go from 12 percent to 0 and the corner radius from 6px to 0, while the image scales from 1.18 to 1.max-w-7xl container.