Hero
Renovation hero: an apartment plan draws itself, rooms highlight with their area
First screen for a construction crew on millimetre paper: on the left a headline whose key word sits inside a dimension line captioned “± 1 mm”, a lede, two buttons and mono facts. On the right an svg apartment plan — walls draw themselves stroke by stroke on load, then doors, windows and overall dimensions appear. The room under the cursor or in focus fills with the accent and shows its area, the caption under the plan changes. A title block at the bottom: object, stage, scale, sheet.
React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.
What you can change
- eyebrow, title (with *asterisks* for the dimension line), measure, lede, facts
- primaryLabel, primaryHref, secondaryLabel, secondaryHref
- rooms: name, area, x, y, w, h, note; doors, windows, stamp, widthLabel, heightLabel
Built from
The install command brings these components too. The block only passes them props: their palette and behaviour stay their own.
A link for your AI agent: preview, code and instructions.
Preview

Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.club/c/hero-037?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
How to use
<Hero037
title="Renovation where *everything is level*"
measure="± 1 mm"
rooms={[{ name: "Living room", area: 24.6, x: 20, y: 140, w: 240, h: 260, note: "two windows" }]}
/>A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Title
title· default: Renovation where *everything is level*- Dimension caption
measure· default: ± 1 mm- Theme
tone· default: auto- Accent
accent· default: theme colour- Ink
ink· default: theme colour- Background
background· default: theme colour
Used in scenarios
- Apartment renovationFirst screen
More in Hero
- Delivery hero: a live “delivered in 28:00” timer, a CSS burger and a marquee
- Language school hero: a flipping word and a live lesson dialogue
- Neobank hero: a 3D card following the cursor and live transactions
- Hero with a 3D shelf of covers that spreads into a grid on scroll
- API hero: the request types itself, the JSON response arrives with a “42 ms” badge
- Gadget hero: a CSS lamp whose light is driven by sliders
FAQ
- How do I add Renovation hero: an apartment plan draws itself, rooms highlight with their area with Cursor or Claude Code?
- Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
- What does Renovation hero: an apartment plan draws itself, rooms highlight with their area depend on?
- No npm packages beyond React and Tailwind CSS. It also installs catalog components: button-016.
- What can I change in Renovation hero: an apartment plan draws itself, rooms highlight with their area?
- Adapt: eyebrow, title (with *asterisks* for the dimension line), measure, lede, facts; primaryLabel, primaryHref, secondaryLabel, secondaryHref; rooms: name, area, x, y, w, h, note; doors, windows, stamp, widthLabel, heightLabel. Keep as installed: the button-016 imports from @/components/vibeui/ — do not inline their code into the block or swap in your own; the parts receive props only; walls are rects with pathLength=1, stroke-dasharray:1 and a stroke-dashoffset 1→0 keyframe, delayed by room index; the *starred* word in title is wrapped in a span data-dim: ::before draws the dimension bracket, ::after the measure caption.
- Is Renovation hero: an apartment plan draws itself, rooms highlight with their area free?
- The preview is open to everyone; the source is available with a PRO subscription.
For developers
npx shadcn@latest add https://vibeui.club/r/pro/hero-037.jsonThis command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options
Technical notes
A composite block: imports button-016 from @/components/vibeui/ — the install command brings them along with the block. The block owns the layout and its own text, passes the parts props only and leaves their --vibeui-<name>-* palettes alone.
Tags
- hero
- renovation
- construction
- apartment
- floor plan
- blueprint
- svg
- draw
- hover
- dimension
- contractor
- composite
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…