用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
公寓租赁网站是一个单页住宅物业网站,面向虚构的住宅楼。它专为独立房东、租赁团队和物业经理设计,让他们无需把访客淹没在通用房源门户里,就能展示真实房源。体验从醒目的建筑主视觉开始,依次进入户型发现、具体单元房源、室内空间、配套设施、周边环境,最后落到聚焦的看房请求。
视觉系统将暖白、深墨、牛血红和鼠尾草绿与编辑风格的衬线标题和克制的界面字体相结合。大尺寸、风格统一的物业照片让页面有一种正在运营的住宅的感觉,而代码绘制的户型图和简单的周边示意图让实用信息保持轻量。布局宽敞但不含糊:每个版块都回答租客的下一个问题。
户型查找器按卧室数量、最高租金和期望入住日期筛选四种户型和八套具体单元。户型卡片概括面积、价格和房源状态,并直接链接到房源表中对应的行。访客可以把选中的单元带入看房表单,选择实地看房或视频看房,并在设备端收到确认,无需后端。空状态、移动端房源卡片、键盘控制、减少动态效果以及清晰的演示数据说明都是设计的一部分。
六张生成的建筑图片构成一组风格统一的物业拍摄。品牌、建筑类型、位置、起租价、看房时间和租赁邮箱是变量;物业文案、房源、配套设施和联系方式放在一个内容文件中。调整这些值,即可用于另一栋公寓楼、阁楼住宅或小型租赁社区,同时保留相同的布局和交互。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Apartment Leasing Website
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
Build a polished single-page leasing website for [BRAND], a [PROPERTY_TYPE] in [LOCATION]. Pair generous architectural photography with an interactive inventory of four floor plans and eight units, an amenity and neighborhood story, and a client-side tour request. Homes are advertised from [STARTING_RENT], tours run [TOUR_HOURS], and the leasing contact is [LEASING_EMAIL].
- Audience: Prospective renters comparing layouts, monthly rent, and move-in timing, followed by small property teams who need a clear, adaptable leasing presence.
- Goal: Help a visitor narrow the inventory to a suitable home, understand daily life at the property, and carry a selected unit into a complete tour request with no backend.
- Tone: Warm, assured, precise, and residential rather than corporate. Use specific details and calm calls to action; avoid pressure tactics, superlatives, and vague luxury claims.
## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: motion (MIT), lucide-react (ISC), @fontsource/dm-serif-display (OFL), @fontsource-variable/inter (OFL)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
- Set vite.config.ts to use React, base: './', build.outDir: 'dist', and build.sourcemap: false.
- Configure tailwind.config.ts with content for index.html and src/**/*.{ts,tsx}; define the listed colors and font families as theme tokens.
- Import the self-hosted font packages in src/main.tsx and global Tailwind directives in src/index.css.
- Put every headline, paragraph, label, inventory record, amenity, neighborhood item, contact detail, link, and image path in src/content.ts keyed by section.
- Build small section components and keep filter, selected-unit, accordion, mobile-menu, and tour-form state in React; use Motion for React only for the specified reveals and transitions.
- Store unit availability as non-negative day offsets from the visitor's current local date, format dates in US English, and derive both the move-in filter and tour calendar from that local date.
## Variables
- [BRAND] — Property name (default: "Alder & Row"). Use an invented residential property name.
- [PROPERTY_TYPE] — Building description (default: "modern brick courtyard residences"). A short lowercase description used in the hero and introduction.
- [LOCATION] — Neighborhood and city (default: "Elm Park, Chicago"). Use a plausible location and adapt the surrounding area copy.
- [STARTING_RENT] — Advertised starting rent (default: "$1,875"). Monthly rent including the currency symbol; keep inventory consistent with it.
- [TOUR_HOURS] — Tour availability (default: "Daily, 9 AM–6 PM"). A concise human-readable schedule.
- [LEASING_EMAIL] — Leasing email (default: "[email protected]"). Use an invented address for the fictional property.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/apartment-leasing-website in the footer (default: yes; delete this line to remove it)
The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.Pro 模板
解锁完整提示词和源码
- 完整提示词:设计、版块、动效、素材
- 每个在线演示的源码
- 商用授权
在线演示和 DESIGN.md 仍然免费。
DESIGN.md
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "Apartment Leasing Website"
colors:
chalk: "#F4F1EA"
ink: "#24251F"
oxblood: "#713F35"
sage: "#A8B09B"
linen: "#E7E1D6"
stone_line: "#CFC8BA"
typography:
display: { family: "DM Serif Display", weights: [400] }
body_and_interface: { family: "Inter Variable", weights: [400, 500, 600] }
spacing: "Use an 8px base grid, a 1360px maximum content width, 40px desktop gutters, and 20px mobile gutters. Sections have 112px vertical padding on desktop and 72px on mobile. Use 12-column desktop grids with 24px gaps, 16px form-field gaps, and 64–80px between major headings and content."
radius: "Use 4px corners on photographs, cards, tables, and form panels; 2px on inputs; and fully rounded pill shapes only for compact filters, status chips, and primary buttons. Avoid nested rounded cards and soft bubble containers."
---
# Apartment Leasing Website — Design System
Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.
## Colors
- **Chalk** `#F4F1EA` — Primary page background and light text on dark photographs
- **Ink** `#24251F` — Headlines, body copy, footer background, and primary controls
- **Oxblood** `#713F35` — Calls to action, active filter states, links, and small editorial accents
- **Sage** `#A8B09B` — Availability indicators, map fills, and quiet decorative panels
- **Linen** `#E7E1D6` — Alternating section backgrounds and selected card surfaces
- **Stone Line** `#CFC8BA` — Borders, table rules, input outlines, and floor-plan strokes
## Typography
- **Display** — DM Serif Display (OFL), weights 400. Self-host the font files.
- **Body and interface** — Inter Variable (OFL), weights 400/500/600. Self-host the font files.
## Spacing & shape
- Spacing: Use an 8px base grid, a 1360px maximum content width, 40px desktop gutters, and 20px mobile gutters. Sections have 112px vertical padding on desktop and 72px on mobile. Use 12-column desktop grids with 24px gaps, 16px form-field gaps, and 64–80px between major headings and content.
- Radius: Use 4px corners on photographs, cards, tables, and form panels; 2px on inputs; and fully rounded pill shapes only for compact filters, status chips, and primary buttons. Avoid nested rounded cards and soft bubble containers.
## Motion
- On first load, fade the hero copy upward by 18px over 600ms while the hero photograph settles from scale 1.035 to 1 over 900ms; stagger the eyebrow, heading, paragraph, and actions by 70ms.
- Reveal section headings and image grids with a 20px rise and opacity transition over 500ms when they enter the viewport, once only, with no scroll hijacking.
- Animate floor-plan result changes and accordion expansion with 180–240ms opacity and height transitions; keep inventory updates immediate and readable.
- Give buttons, links, table-row actions, and gallery tiles a 160ms color, underline, or image-scale response on hover and visible keyboard focus.
- Disable nonessential transforms, smooth scrolling, and staggered reveals under prefers-reduced-motion; never animate availability numbers or form errors in a way that delays reading.
## Imagery
Use the six supplied generated images as one coherent warm architectural shoot: a large exterior hero, two apartment interiors, two amenity scenes, and one neighborhood street. Crop with object-fit: cover without distorting straight verticals. Add original code-drawn SVG floor plans and a schematic street map; these are informational diagrams, not decorative substitutes for photography. Do not add recognizable people, branded products, property logos, or landmarks.
## Tone
Warm, assured, precise, and residential rather than corporate. Use specific details and calm calls to action; avoid pressure tactics, superlatives, and vague luxury claims.
---
— Prompt by VibeFather · https://vibefather.ai/t/apartment-leasing-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 小型阁楼改造项目:将 BRAND 和 PROPERTY_TYPE 设为你的建筑,把户型缩减到你实际出租的布局,并将 LEASING_EMAIL 指向管理员的收件箱。
- 学生租赁社区:将 STARTING_RENT 下调为你的按间定价,围绕学期开始时间调整入住日期,并重写周边版块以说明到校园的距离。
- 精品物业管理公司:保留四种户型的房源,但为你管理的每栋建筑替换配套设施和室内文案,然后复用的看房表单用于实地看房。
- 滨水住宅:参考滨水阁楼演示,用你自己的拍摄替换建筑图片,并围绕水景和建筑历史重写主视觉。
公寓租赁网站:常见问题
公寓租赁网站模板的户型查找器是如何筛选单元的?
公寓租赁网站模板按卧室数量、最高租金和期望入住日期筛选四种户型和八套具体单元。户型卡片显示面积、价格和房源状态,每张卡片链接到房源表中对应的行。没有匹配单元时会出现空状态,访客还可以把选中的单元带入看房表单。
怎么用 AI 做一个公寓租赁网站?
复制本页的完整提示词(Pro),或者运行 npx vibefather add apartment-leasing-website,把 [BRAND]、[LOCATION]、[TOUR_HOURS]、[LEASING_EMAIL] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。