WRAPCODERS

Real Estate 3D Hero

Heroes 85

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

    116
  • LoopAI CRM

    LoopAI CRM

    67
  • Creator Community Arc

    Creator Community Arc

    66
  • Isometric Card Stack

    Isometric Card Stack

    55
  • Flash Technologies Crypto Wallet Hero

    Flash Technologies Crypto Wallet Hero

    54
  • Client Management CRM Hub

    Client Management CRM Hub

    45
  • TraceRocket Reports Dashboard

    TraceRocket Reports Dashboard

    43
  • Admin Dashboard Cards

    Admin Dashboard Cards

    41

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • SaaS Template

    SaaS Template

    2.8K
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    32
  • Cabin To Sky Film Hero

    Cabin To Sky Film Hero

  • Hero

    Hero

    1.4K
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • Chroma Sense Hero

    Chroma Sense Hero

    21
  • Modren and Stunning Hero section

    Modren and Stunning Hero section

    185

Explore more

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