Hero
Hero with property search
An agency first screen: a full-bleed photo with a slow push-in, a serif headline and a search form in a card — buy or rent, type, district, budget. Three trust figures below. A real form that GETs to the results page.
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
- image, eyebrow, title, lede
- modes, types, districts, budgets, submitLabel, action, stats
- accent and background, tone
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-020?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
<Hero020
image="/photos/hero.webp"
title="A flat you want to come home to"
lede="We match homes to your budget and pace of life."
modes={["Buy", "Rent"]}
districts={["Any district", "Centre", "Riverside"]}
action="/search"
stats={[{ value: "1,240", label: "listings" }, { value: "18 years", label: "on the market" }]}
/>A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Theme
tone· default: auto- Headline
title· default: A flat you want to come home to- Button
submitLabel· default: Find- Accent
accent· default: theme colour- Background
background· default: theme colour
Used in scenarios
- Real estate agencyFirst screen
More in Hero
FAQ
- How do I add Hero with property search 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 Hero with property search depend on?
- No npm packages beyond React and Tailwind CSS. It also installs catalog components: button-001, select-001.
- What can I change in Hero with property search?
- Adapt: image, eyebrow, title, lede; modes, types, districts, budgets, submitLabel, action, stats; accent and background, tone. Keep as installed: the button-001, select-001 imports from @/components/vibeui/ — do not inline their code into the block or swap in your own; the parts receive props only; the slow photo push-in (Ken Burns) and the gradient shade — text reads on any photo; the form as a real <form method=get> with select and radio: the results page gets parameters without JS.
- Is Hero with property search 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-020.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-001, select-001 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. One file, zero npm dependencies, a server component. The photo is an absolutely positioned <img> with object-fit:cover and a drift animation (scale 1.04→1.12 over 24s, alternate); a bottom-up gradient shade on top. The form is <form method="get" action>: modes are radios in a capsule, fields are <select name=type|district|budget>, a submit button. From 52rem (container query) fields go in a row and the screen is 44rem tall. reduced-motion disables the push-in. Palette --vibeui-hero-020-* is neutral: ink and paper via light-dark(), the site colours come through the accent, ink and background props; Cormorant Garamond and Manrope via <link precedence> from Google Fonts with system fallbacks. tone pins the scheme, accent, ink and background override colours.
Tags
- real estate
- realty
- property
- apartment
- agency
- listing
- realty
- composite
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…