WRAPCODERS

Real Estate 3D Hero

Heroes 50

About

Ultra-luxury architectural real-estate 3D hero header featuring photorealistic floating island Italian villa in Three.js WebGL, interactive spatial hotspots with +/- morphing, 3D drag-to-orbit, and cinematic landmark focus.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Real Estate 3D Hero to your project and fits it to your theme.

Code

How Real Estate 3D Hero is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client"

import * as React from "react"
import {
  RealEstate3DHero,
  type RealEstateTheme,
} from "@/components/ui/real-estate-3d-hero"
import { ExternalLink } from "lucide-react"

export default function RealEstate3DDemo() {
  const [activeTheme, setActiveTheme] = React.useState<RealEstateTheme>("stone")

  return (
    <div className="relative min-h-screen w-full bg-background text-foreground p-3 sm:p-6 lg:p-8 flex flex-col items-center justify-center antialiased transition-colors duration-300">
      {/* 3D Real Estate Hero Component */}
      <RealEstate3DHero
        theme={activeTheme}
        brand={{
          name: "AETHER ESTATES",
          href: "https://21st.dev/?ref=mdruhulhasan",
        }}
        navItems={[
          { label: "RESIDENCES", href: "#residences" },
          { label: "VISION", href: "#vision" },
          { label: "CONCIERGE", href: "#concierge" },
        ]}
        navCta={{
          label: "EXPERIENCE",
          href: "https://21st.dev/?ref=mdruhulhasan",
        }}
        eyebrow="EXPERIENCE THE SERENITY"
        title={
          <>
            Living,
            <br />
            elevated
          </>
        }
        description="Discover exclusive retreats that rise above the noise. Uncompromising luxury and absolute privacy for the chosen few."
        allowOrbit={true}
        autoRotate={true}
      />

      {/* 21st.dev Reviewer Toolbar & Referral Callout */}
      <div className="mt-6 flex flex-wrap items-center justify-center gap-3">
        {/* High-visibility Referral Action Pill */}
        <a
          href="https://21st.dev/?ref=mdruhulhasan"
          target="_blank"
          rel="noopener noreferrer"
          className="inline-flex items-center gap-2 rounded-2xl border border-primary/40 bg-primary/10 px-4 py-2 text-xs font-semibold text-primary backdrop-blur-md shadow-sm transition-colors hover:bg-primary/20 hover:border-primary active:scale-95 cursor-pointer"
        >
          <span>Explore Component on 21st.dev</span>
          <ExternalLink className="h-3.5 w-3.5" />
        </a>

        {/* Theme Palette Customizer */}
        <div className="flex flex-wrap items-center justify-center gap-2 rounded-2xl border border-border bg-card/80 text-card-foreground p-2 backdrop-blur-md shadow-sm">
          <span className="px-2 text-xs font-semibold uppercase tracking-wider text-muted-foreground">
            Palette:
          </span>
          <button
            type="button"
            onClick={() => setActiveTheme("stone")}
            className={`rounded-xl px-3 py-1.5 text-xs font-medium transition-colors cursor-pointer ${
              activeTheme === "stone"
                ? "bg-primary text-primary-foreground font-semibold shadow-sm"
                : "text-muted-foreground hover:text-foreground hover:bg-muted"
            }`}
          >
            Stone Atmosphere (Original)
          </button>
          <button
            type="button"
            onClick={() => setActiveTheme("twilight")}
            className={`rounded-xl px-3 py-1.5 text-xs font-medium transition-colors cursor-pointer ${
              activeTheme === "twilight"
                ? "bg-cyan-500 text-slate-950 font-semibold shadow-sm"
                : "text-muted-foreground hover:text-foreground hover:bg-muted"
            }`}
          >
            Twilight Sapphire
          </button>
          <button
            type="button"
            onClick={() => setActiveTheme("emerald")}
            className={`rounded-xl px-3 py-1.5 text-xs font-medium transition-colors cursor-pointer ${
              activeTheme === "emerald"
                ? "bg-emerald-500 text-slate-950 font-semibold shadow-sm"
                : "text-muted-foreground hover:text-foreground hover:bg-muted"
            }`}
          >
            Nordic Emerald
          </button>
          <button
            type="button"
            onClick={() => setActiveTheme("amber")}
            className={`rounded-xl px-3 py-1.5 text-xs font-medium transition-colors cursor-pointer ${
              activeTheme === "amber"
                ? "bg-amber-500 text-slate-950 font-semibold shadow-sm"
                : "text-muted-foreground hover:text-foreground hover:bg-muted"
            }`}
          >
            Tuscan Sunset
          </button>
        </div>
      </div>
    </div>
  )
}

Dependencies

More by WRAPCODERS

View all
  • Product Hover Showcase

    Product Hover Showcase

    87
  • Metric Trend Chart

    Metric Trend Chart

    35
  • LoopAI CRM

    LoopAI CRM

    29
  • Flash Technologies Crypto Wallet Hero

    Flash Technologies Crypto Wallet Hero

    22
  • AI Motion Visual Orb

    AI Motion Visual Orb

    21
  • Interactive 3D Hero Header

    Interactive 3D Hero Header

    19
  • TraceRocket Reports Dashboard

    TraceRocket Reports Dashboard

    18
  • Client Management CRM Hub

    Client Management CRM Hub

    17

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.7K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Hero

    Hero

    1.4K
  • Hero Section 01

    Hero Section 01

    56
  • Split Hero With Image Cards

    Split Hero With Image Cards

    467
  • Facts Hero

    Facts Hero

    6

Explore more

Part of Components — browse the full library on 21st.dev.