Skip to content
Codex DesignBETA

Real estate website design template.

A complete real estate website design for a local agency: a home page with property search, property listings with a map, a property detail page and an agent profile, for a sample agency called Fieldstone. This real estate website template is a React project with shadcn/ui and Tailwind CSS v4, and every listing count, price range and monthly cost comes from one data file, so Codex or Claude Code can clone it, swap in your listings, and keep building.

Updated November 21, 2026

Website · 4 pages · Free and open source

  • Real estate website: Home page
    01Home page
  • Real estate website: Property listings
    02Property listings
  • Real estate website: Property detail page
    03Property detail page
  • Real estate website: Agent profile
    04Agent profile

Clone it

npx degit ummydev/ui-templates/shadcn/real-estate my-app

Copies just this template into a new folder, without the rest of the repository.

Make it yours

This is the Real estate website template from codexdesign.io. Rename it to [your product], replace the sample data with [your features], and keep every screen on the design system in DESIGN.md.

Paste this into Codex or Claude Code in the new folder.

What’s in the template

PageWhat’s on itComponents used
Home pageA full-bleed hero photo with a three-field property search, three new listings, neighbourhood tiles with counts, a valuation band and reviewsshadcn/ui Button, Tailwind search bar, listing cards and neighbourhood tiles, Lucide icons
Property listingsFilter pills, sorting, all seven listings in two columns, a saved-search tile and an illustrated map with a price pin for every homeshadcn/ui Button in the header, Tailwind filter pills, listing cards and SVG map, Lucide icons
Property detail pageA five-photo mosaic, a fact strip, the description and features, a monthly cost estimate, a viewing booking card, the listing agent and similarshadcn/ui Button, Tailwind photo mosaic, fact strip, cost estimate and booking card, Lucide icons
Agent profileA large portrait, bio and areas, a stat strip, contact buttons, the agent’s listings with their total, and reviewsshadcn/ui Button, Tailwind stat strip, listing cards and review cards, Lucide icons

Every page shares the same frame: a header with the Fieldstone logo, Buy, Sell, Neighbourhoods, Agents, and Journal in the middle, and the office phone number and a Book a valuation button on the right (on the home page it sits over the hero photo, in white), and a deep pine footer with the agency’s line (“An independent agency selling homes around Ashford Bay since 2011. Two agents, one office, and the phone always gets answered.”), Buy, Sell, and Company links, and a licensed-broker and fair housing line.

Home page

The home page opens with a full-bleed photo of a cedar house among pines at golden hour, “Homes for sale around Ashford Bay”, and the headline “Find the house that feels like home.” Over the photo floats a white search bar with Location (Anywhere in the bay), Type (Houses, townhouses, condos), Price ($485k – $1.29M), and a Search 7 homes button. New on the market shows three listing cards, the cedar house at 14 Larkspur Lane ($1,285,000, New), a farmhouse at 208 Orchard Road ($940,000, Open house Sat), and a blue cottage at 5 Dune Path ($1,090,000), each with its photo, a save heart, price, type, address, area, agent, and beds, baths, and square feet, next to a link to all 7 property listings. Neighbourhoods has four photo tiles with the number of homes for sale in each: Millbrook 1, Old Town 2, Ridgeview 1, and Shoreline 1. Then comes a valuation band for sellers (“Know what your home is worth in two days.”) with a Book a free valuation button and cards for the two agents, Elena Ruiz and Jonah Reid, with their rating and homes sold last year, and What clients say, three five-star reviews that each name the neighbourhood and the agent.

Property listings

The property listings page, Homes for sale, starts with filter pills (Anywhere in the bay, Any type, $485k – $1.29M, 2+ beds, More filters) and a Map on toggle, then the title, “7 property listings around the bay, from $485k to $1.29M.”, and Sort: Price, high to low. All seven listings sit in two columns, from the $1,285,000 cedar house down to a $485,000 corner condo, with a house, a townhouse, a cabin with a Price cut badge, and a condo among them; the eighth tile is a deep pine saved-search card, “Hear about new homes first.”, with a Save this search button. Beside the list is a 520-pixel map: an illustrated SVG with a coastline, roads, green areas, and the six neighbourhood names, and a white price pin for each listing at the position set in the data, with the cedar house’s $1.29M pin dark and slightly larger, and zoom buttons in the corner. It’s a drawing, not a real map, and the filters and sort are a static layout: ask your agent to connect them, and a map provider, to your listings.

Property detail page

The property detail page is the cedar house at 14 Larkspur Lane in Northwood. A breadcrumb with Share and Save sits above a five-photo mosaic: the house, the living room with its stone fireplace, the kitchen, and the main bedroom, with an All 24 photos button. Below are a New badge, “Cedar house in the pines”, the address, and a fact strip (4 bedrooms, 3 bathrooms, 2,850 sq ft of living area, a 0.42-acre lot, built in 2019), then About this home and six features in chips, such as 8 kW of solar panels, heat pump heating, and a two-car garage with an EV charger. The monthly cost estimate comes to $7,826 a month: principal and interest of $6,498 with 20% down ($257,000) on a 30-year loan fixed at 6.5%, $1,178 of property tax, and $150 of home insurance, drawn as a stacked bar, with a Change assumptions link. On the right, a booking card shows the asking price of $1,285,000, days from Saturday 22 to Tuesday 25 and three times, a Request Sat 22 Nov at 11:30 button, and the Saturday open house; under it is the listing agent, Elena Ruiz, with Call and Message. Similar houses nearby suggests three more houses.

Agent profile

The agent profile is Elena Ruiz, the principal agent: a large 4:5 portrait, her name in 88-pixel type, a short bio, and her areas (Northwood, Ridgeview, and Shoreline). A stat strip shows 12 years in the bay, 38 homes sold last year, 3 active listings, and a 4.9 client rating from 87 reviews, followed by Message Elena, her phone number, and Email. Elena’s listings shows her three homes, “3 homes, $2,990,000 in total, from $615k”, as listing cards, and Reviews has her 4.9 rating and the two reviews from her clients.

How it’s built

The sample data is one made-up agency in a made-up bay. Every page reads from src/data.ts, and the numbers that can be computed are computed from it, so the pages agree: the 7 in “Search 7 homes” and “7 property listings” is the length of the listings array, the $485k to $1.29M range is its lowest and highest price, each neighbourhood tile counts the listings in that area, every map pin and its price come from the listing, and the agent profile’s active listings, $2,990,000 total, and $615k “from” price add up that agent’s listings. The monthly cost estimate is a function in the same file: principal and interest on the price less 20% down at 6.5% over 30 years, plus 1.1% a year in property tax and $150 a month for insurance. Other figures are fixed values in the data, such as each agent’s years, homes sold last year, rating, and number of reviews, and a few labels are written into the pages, such as All 24 photos and the viewing days and times. All names, addresses, people, prices, and reviews are fictional.

The photos are original. The houses, the interiors, and the agent portraits were made for this template with AI image generation, so they show fictional homes and people, not real listings or real agents, and they are free to use with the template. They live in public/images; replace them with your own listing photos (the house and room photos are 3:2, the portraits square).

Each page is a React component (src/home.tsx, src/listings.tsx, src/property.tsx, and src/agent.tsx) inside a shared layout in src/layout.tsx, which holds the header, the footer, the listing card, and the beds, baths, and square feet line. The pages are laid out 1440 pixels wide for a desktop screen; open /?page=home, /?page=listings, /?page=property, or /?page=agent to switch between them. The only shadcn/ui component it imports is Button, used in the header on every page and on the home page, property detail page, and agent profile: the search bar, filters, map, mosaic, and booking card are plain Tailwind, and the icons are Lucide. The Fieldstone theme is shadcn’s CSS variables in src/index.css, plus a pine and a brass color of its own, with Bricolage Grotesque and Geist installed from Fontsource. It runs with Vite: npm install, then npm run dev.

Use it with Codex or Claude Code

Copy just this template from the ui-templates repository:

npx degit ummydev/ui-templates/shadcn/real-estate my-agency
cd my-agency && npm install && npm run dev

Then ask your agent to make it yours:

Make the template yours
This folder is a real estate website template in React, shadcn/ui and Tailwind. Turn it into the website for [your agency], selling homes in [your area]. Keep DESIGN.md and the theme in src/index.css as the design system, replace the listings, agents and reviews in src/data.ts with [your listings and agents], replace the photos in public/images with your own listing photos, and keep every count, price range and monthly cost computed from the data. Then make the search and filters work, replace the illustrated map with [your map provider], and load the listings from [your listings feed or API].

Because the design system is written down in DESIGN.md, the pages your agent adds next, such as a sell page, neighbourhood guides, or the journal linked in the header, will match the four it starts with.

Built on the Fieldstone design system

The template uses Fieldstone, a design system for real estate websites: limestone white, deep pine ink, one brass accent, Bricolage Grotesque headlines and prices with Geist for everything else, photo corners from 14 to 24px, and pill buttons, with one soft shadow kept for things that float over photos. Its page has a live preview, the full DESIGN.md, and a shadcn theme with light and dark colors.

Frequently asked questions

Is this real estate template free?

Yes. It’s open source under the MIT license, for personal and commercial projects, and the photos, made for the template with AI image generation, are free to use with it.

Can I connect it to MLS / IDX listings?

Not out of the box. It’s a front-end template with sample data in src/data.ts: no MLS or IDX feed, map provider, or booking backend is connected. You or your agent would connect a listings feed or API yourself, for example through an IDX provider your brokerage has access to, map the fields onto the listing shape in src/data.ts, and add a map provider in place of the illustrated map. The viewing requests, valuation bookings, and saved searches would also need a backend or CRM of your own.

Do the search, filters, map, and booking work?

Not yet. The pages are a static layout: the search bar, filter pills, and sort don’t change the list, the map is an illustration with pins placed from the data rather than a real map, and Book a valuation, the viewing request button, Save this search, and the save hearts don’t send or store anything. Ask your agent to add the state, or to connect them to your listings and CRM.

How do I use it with Codex or Claude Code?

Copy it with npx degit ummydev/ui-templates/shadcn/real-estate my-agency, open the folder in Codex or Claude Code, and paste the prompt above with your agency filled in. The agent reads DESIGN.md for the design system and src/data.ts for the sample listings and agents, so it can swap in yours and add new pages that match the four it starts with.

Can I use it with Next.js?

Yes. It’s a Vite project, but the parts are standard React, shadcn/ui, and Tailwind CSS v4, so your agent can move the pages, src/layout.tsx, the Button in src/components/ui, and the theme in src/index.css into a Next.js app. Ask it to keep DESIGN.md so the design survives the move.

Does it work on a phone?

Not yet. The four pages are laid out for a 1440-pixel desktop screen. Ask your agent to add a phone layout before you launch the site.

Is there a dark theme?

Not in the template, which is designed in light mode. The Fieldstone shadcn theme on the design system page includes dark colors to start from.

Keep reading

An independent plugin for Codex. Not affiliated with or endorsed by OpenAI.