House Elevation Drawing

The house

Oneoldhouse,readfromtheoutside

Built by a sea captain in 1870, rebuilt by hand over three winters. Every room you can book is somewhere on this wall.

  1. 1

    Roof terrace

    Loungers, one big parasol and the best sunset seat on the island.

  2. 2

    The Roof Suite

    A room of its own on top, with a fireplace for October nights.

  3. 3

    Seven sea rooms

    Arched windows, linen, stone floors that stay cool all day.

  4. 4

    The hammam

    Under the old dome, warm marble and steam from ten until eight.

  5. 5

    Long table

    Dinner under the vine pergola, one sitting, everyone together.

About this block

House Elevation DrawingPRO

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.

Hotel48: House Elevation Drawing

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.

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://beste.dev/r/hotel48?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

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

Quick start

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.

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

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

Props

PropTypeDefaultDescription
eyebrowstring–Small line above the heading
headingstring–Section heading, through Text1
descriptionstring–Paragraph to the right of the heading on desktop
partsPart[][]Numbered markers and notes, each tied to one part of the drawing
labelsLabels{}Accessible name for the drawing
classNamestring–Extra classes for the outer <section>
ts
type PartName = "roof" | "suite" | "rooms" | "hammam" | "terrace";

type Part = {
  part: PartName;
  title: string;
  note: string;
};

type Labels = {
  drawing?: string;
};

Behavior notes

  • The drawing itself is fixed in the code: all five parts plus the ground line, olive tree and sun always draw, whatever parts contains. parts only decides which markers and notes appear, their order and their numbers.
  • Strokes draw with pathLength in a set order (rooms, suite, roof, hammam, terrace), then the scenery and the sun circle; markers scale in after about two seconds.
  • Each marker is placed at a fixed coordinate for its part and keeps its position as the drawing scales, so marker numbers follow the order of the parts array.
  • Hovering or focusing a marker, or hovering its note, turns that part's strokes, the marker, the note's number and its rule to the primary color; leaving clears it. Clicking a marker also selects it.
  • Notes sit in one column on phones, two from the small breakpoint and five from the large breakpoint.
  • With reduced motion the drawing, markers and notes render in their final state.

More Hotel blocks

View all Hotel
PRO

hotel33

Line Logo Hosts Quote

PRO

hotel27

Seasons to Visit

PRO

hotel25

A Day at the House Timeline

Get Pro