3d house website where they buy and sell just frontend
- User
3d house website where they buy and sell just frontend
Assistant
I'll create an impressive 3D house website for buying and selling properties. Let me start by exploring the project structure and installing the necessary packages.
Let me examine the existing configuration files to understand the setup.
The setup is clear: React 19, Vite 7, Tailwind CSS 4, with all my 3D and animation libraries installed. Now let me fetch real estate photography for the property listings since real photos work best for listings.
The setup is clear and packages are installed. I'll build a premium 3D real estate website with an interactive Three.js house model. Let me start with the foundation files: HTML, theme CSS, data, the 3D model, and a count-up hook.
Foundation and 3D components are in place. Let me verify the lucide-react version before building UI that depends on it, since the version number looked unusual.
Let me check the package's entry points and exports to ensure named icon imports resolve correctly.
Confirmed — it's the legitimate recent lucide-react (1.25.0) supporting React 19. Named icon imports will work. Now let me build the top-of-page components: Navbar, Hero (with the 3D viewer), the marquee band, and animated Stats.
The hero and top sections are built. Now let me create the property listings with filtering and the property cards.
Now the centerpiece interactive section — a large 3D viewer with day/night lighting toggle and auto-rotate controls.
Now the sell section with a working instant-valuation calculator that animates a price estimate.
I referenced a non-existent icon module. Let me fix the imports to use lucide-react directly with correct icon names.
Now I need to update the usage of
Rotateccwto the correct nameRotateCcw.The calculator is fixed. Now let me build the remaining sections: Features, Testimonials, CTA, and Footer.
The brand icons (Instagram, Facebook, etc.) were removed from recent lucide versions. Let me replace them with inline SVG social icons in the Footer.
Now let me update the social links map to use the new
socialsarray.All sections are complete. Now let me compose everything in
App.tsxwith a scroll-to-top button.Before building, I need to address a critical styling detail: I used non-standard numeric font-weight classes (
font-700,font-600,font-500) andh-4.5/w-4.5sizes throughout. Tailwind v4 doesn't generate these by default, so let me define them explicitly in the CSS utilities layer to guarantee the design renders correctly.Now let me build the project to confirm everything compiles correctly.
The build succeeded — all 2765 modules transformed and all icon imports resolved correctly. The bundle is large (~375KB gzip) because of Three.js, which is expected for a 3D site.
I noticed one polish issue to fix: the marquee animation won't loop seamlessly with its current structure. Let me fix the keyframe and component for a clean infinite scroll.
Now let me rewrite the Marquee component to use the proper seamless structure (two identical tracks each translating -100%).
Let me rebuild to confirm everything still compiles after the marquee fix.
The build is successful and the site is complete. Here's what I built:
HÄUS — Immersive 3D Real Estate
A premium, fully-frontend website for buying and selling homes, centered on a real interactive 3D experience.
The 3D centerpiece
Built a detailed low-poly house with Three.js + React Three Fiber (no external models, so it's fast and self-contained):
- Stylized house with pitched roof, glowing windows, chimney, door, stone path, trees, bushes, and a floating grass "diorama" platform
- Soft directional + contact shadows, hemisphere fill light, and a gentle idle float
- Orbit controls — drag to rotate, with optional zoom and auto-rotate
Sections
- Navbar — sticky, transparent-to-frosted on scroll, mobile menu
- Hero — the 3D house inside a "viewer" browser-chrome frame with floating "Live 3D Tour", price, and drag-to-explore chips; animated copy with framer-motion
- Marquee — seamless infinite scroll of value props on a dark band
- Stats — numbers that count up when scrolled into view
- Featured listings — filterable property cards (New / Featured / For Sale / Open House) using real estate photography, with like buttons and "3D Tour" badges
- Interactive 3D Tour — a large viewer with a day/night lighting toggle (windows glow, stars + warm interior light at night), auto-rotate switch, hover hotspots, and interior thumbnails
- Sell — a working instant-valuation calculator that computes an estimate from property type/beds/baths/sqft and animates the result with a price range
- Features, Testimonials, CTA (with email capture), and a rich Footer with inline social SVGs
- Scroll-to-top button
Polish
- Custom Tailwind v4 theme (warm cream/clay/espresso palette), Fraunces + Inter fonts, grain textures, gradient glows
- Framer Motion entrance/stagger/hover animations throughout
- Everything is interactive but frontend-only (no backend)
The project builds cleanly with
npm run build. The only large dependency is Three.js itself, which is expected for a genuine 3D site.Files built:
index.html,src/index.css,src/data/properties.ts,src/lib/useCountUp.ts,src/components/Scene3D/House.tsx,src/components/Scene3D/HouseScene.tsx,src/components/Navbar.tsx,src/components/Hero.tsx,src/components/Marquee.tsx,src/components/Stats.tsx,src/components/PropertyCard.tsx,src/components/FeaturedListings.tsx,src/components/Tour3DSection.tsx,src/components/SellSection.tsx,src/components/Features.tsx,src/components/Testimonials.tsx,src/components/CTA.tsx,src/components/Footer.tsx,src/App.tsx