The house
Built by a sea captain in 1870, rebuilt by hand over three winters. Every room you can book is somewhere on this wall.
Loungers, one big parasol and the best sunset seat on the island.
A room of its own on top, with a fireplace for October nights.
Arched windows, linen, stone floors that stay cool all day.
Under the old dome, warm marble and steam from ten until eight.
Dinner under the vine pergola, one sitting, everyone together.
A section that introduces a small hotel through a line drawing of its front: the house, the roof suite, the domed hammam, the vine pergola and an olive tree draw themselves in, numbered markers sit on each part, and hovering a marker or its ruled note below lights that part of the drawing in the accent color.
A line drawing of the front of the house (rooms, roof suite, roof terrace, domed hammam, vine pergola and an olive tree) draws itself in, numbered markers settle on each part, and hovering a marker or its ruled note lights that part in the accent color.
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/hotel48?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://beste.dev/r-base/hotel48?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/hotel48.tsx plus the text1 word stagger it uses for the heading.
The installed file exports hotel48Demo alongside the block: the exact props behind the preview above. Spread it to get a working section in one line.
import { Hotel48, hotel48Demo } from "@/components/beste/block/hotel48";
export default function Page() {
return <Hotel48 {...hotel48Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Hotel48 } from "@/components/beste/block/hotel48";
export default function Page() {
return (
<Hotel48
eyebrow="The house"
heading="One old house, read from the outside"
description="Built by a sea captain in 1870, rebuilt by hand over three winters."
parts={[
{ part: "rooms", title: "Seven sea rooms", note: "Arched windows, linen, stone floors that stay cool all day." },
{ part: "suite", title: "The Roof Suite", note: "A room of its own on top, with a fireplace for October nights." },
{ part: "hammam", title: "The hammam", note: "Under the old dome, warm marble and steam from ten until eight." },
]}
labels={{ drawing: "Line drawing of the front of the house" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | – | Small line above the heading |
heading | string | – | Section heading, through Text1 |
description | string | – | Paragraph to the right of the heading on desktop |
parts | Part[] | [] | Numbered markers and notes, each tied to one part of the drawing |
labels | Labels | {} | Accessible name for the drawing |
className | string | – | Extra classes for the outer <section> |
type PartName = "roof" | "suite" | "rooms" | "hammam" | "terrace";
type Part = {
part: PartName;
title: string;
note: string;
};
type Labels = {
drawing?: string;
};parts contains. parts only decides which markers and notes appear, their order and their numbers.pathLength in a set order (rooms, suite, roof, hammam, terrace), then the scenery and the sun circle; markers scale in after about two seconds.part and keeps its position as the drawing scales, so marker numbers follow the order of the parts array.