KAUSHIK SARKARBlogs
Website Prompts

The Car Dealership Web Playbook: Layout, Copy and Launch

By Kaushik Sarkar · · 24 min read
Browser mockup of the Apex Motors hero section with a black coupe at night, bold headline, and vehicle search bar.

Most local auto dealer sites bury shoppers under pop-ups and hide pricing behind lead forms. When I tested this car dealership website prompt, originally published by Websiteprompts.ai, it solved both problems immediately. It generates Apex Motors, a dark-mode storefront built around the two tools car buyers actually care about: a filterable inventory grid and a real-time monthly payment calculator. You can inspect the finished layout in the live preview before you start building.

In this tutorial, I will walk you through building, verifying, and customizing the entire eleven-section React application using Lovable, Bolt, or v0. Because the full prompt on this page already defines the CSS color tokens, Framer Motion animations, responsive rules, and dealership copy, you can go from a blank workspace to a working site in about 35 minutes. Grab the prompt above and follow along step by step.

What you need

  • An active account on Lovable, Bolt, or v0 (free or paid tiers all support this stack)
  • The full prompt on this page copied from the code block right above Step 1
  • Basic familiarity with reading React state hooks and CSS custom properties
  • Optional: your own dealership name, phone number, APR rate, and sample vehicle specs for customization
  • Around 35 minutes to generate, audit desktop and mobile breakpoints, and refine edge cases

The full prompt

# Apex Motors — Car Dealership Website Prompt

## 1. Goal Statement

Build a high-gloss car dealership website for **Apex Motors**, defined by near-black surfaces, electric blue accents, and cinematic vehicle photography — with the two things buyers actually use up front: a filterable inventory grid and a monthly payment calculator that updates as they drag.
---

## 2. Tech Stack

```
React + Vite + TypeScript + Tailwind CSS + Framer Motion (motion/react) + shadcn/ui + lucide-react
```

---

## 3. Design System — Colors

```css
:root {
  --background: hsl(220, 14%, 8%);        /* #12141a near-black */
  --foreground: hsl(210, 16%, 95%);       /* #eff1f4 */
  --primary: hsl(206, 100%, 52%);         /* #0a90ff electric blue */
  --primary-foreground: hsl(0, 0%, 100%);
  --muted-foreground: hsl(215, 10%, 58%);
  --border: hsl(220, 12%, 20%);
  --card: hsl(220, 13%, 12%);
  --card-elevated: hsl(220, 12%, 16%);
  --success: hsl(152, 62%, 44%);          /* availability badges */
}
```

---

## 4. Typography

```html
<link href="https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet" />
```

- **H1 / hero:** `'Sora', sans-serif;` weight 800, clamp(40px, 5.6vw, 88px), letter-spacing: -0.035em, line-height: 1.0
- **H2:** Sora 700, 32–48px, letter-spacing: -0.025em
- **H3 / vehicle names:** Sora 600, 18–22px
- **Body:** Inter 300–400, 16px, line-height: 1.7
- **Eyebrows / labels:** Inter 600, uppercase, letter-spacing: 0.18em, 11px, blue
- **Prices / payments / specs:** Sora 700, tabular-nums
---

## 5. Visual Effects

### Effect 1 — Inventory Filter Grid

```tsx
const [filters, setFilters] = useState({ type: 'All', make: 'All', maxPrice: 90000 });
const filtered = useMemo(
  () => inventory.filter(v =>
    (filters.type === 'All' || v.type === filters.type) &&
    (filters.make === 'All' || v.make === filters.make) &&
    v.price <= filters.maxPrice
  ),
  [filters]
);
<div className="sticky top-[76px] z-30 border-y border-[var(--border)] bg-[var(--background)]/95 backdrop-blur py-4">
  <div className="flex flex-wrap items-center gap-3">
    {/* Select chips for type and make, plus a price range slider with a live label */}
    <span className="ml-auto text-sm text-[var(--muted-foreground)]">
      {filtered.length} vehicles
    </span>
  </div>
</div>
<motion.div layout className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
  <AnimatePresence mode="popLayout">
    {filtered.map(v => (
      <motion.article
        key={v.id}
        layout
        initial={{ opacity: 0, scale: 0.96 }}
        animate={{ opacity: 1, scale: 1 }}
        exit={{ opacity: 0, scale: 0.96 }}
        transition={{ duration: 0.32, ease: [0.22, 1, 0.36, 1] }}
      >
        {/* vehicle card */}
      </motion.article>
    ))}
  </AnimatePresence>
</motion.div>
```

### Effect 2 — Payment Calculator

```tsx
const [price, setPrice] = useState(42000);
const [down, setDown] = useState(5000);
const [term, setTerm] = useState(60);
const apr = 0.069;
const principal = Math.max(price - down, 0);
const r = apr / 12;
const monthly = Math.round((principal * r) / (1 - Math.pow(1 + r, -term)));
<div className="rounded-2xl border border-[var(--border)] bg-[var(--card-elevated)] p-8">
  {/* Three sliders: vehicle price, down payment, term (36/48/60/72) */}
  <div className="mt-8 text-center">
    <span className="text-xs uppercase tracking-[0.18em] text-[var(--muted-foreground)]">Estimated monthly</span>
    <motion.div key={monthly} initial={{ opacity: 0, y: 8 }} animate={{ opacity: 1, y: 0 }} transition={{ duration: 0.25 }}
      className="font-display text-6xl tabular-nums text-[var(--primary)]">
      ${monthly}
    </motion.div>
    <p className="mt-2 text-sm text-[var(--muted-foreground)]">
      {term} months at {(apr * 100).toFixed(1)}% APR · Estimate only, subject to credit approval
    </p>
  </div>
</div>
```

### Effect 3 — Vehicle Card Hover with Spec Reveal

```jsx
<div className="group overflow-hidden rounded-xl border border-[var(--border)] bg-[var(--card)]">
  <div className="relative aspect-[16/10] overflow-hidden">
    {/* Image: modern car three-quarter front view on a clean dark studio floor, dramatic rim lighting, glossy reflective paint, high contrast automotive photography */}
    <img src="" alt="Vehicle exterior" className="h-full w-full object-cover object-center transition-transform duration-700 group-hover:scale-105" />
    <span className="absolute left-3 top-3 rounded-full px-3 py-1 text-[11px] font-semibold" style={{ background: 'var(--success)', color: '#04180f' }}>
      In stock
    </span>
  </div>
  <div className="p-5">
    <h3 className="font-display text-xl">2024 Aurora GT Line</h3>
    <div className="mt-1 text-sm text-[var(--muted-foreground)]">12,400 mi · AWD · Certified Pre-Owned</div>
    <div className="mt-4 flex items-end justify-between">
      <span className="font-display text-2xl tabular-nums">$42,900</span>
      <span className="text-sm text-[var(--primary)]">or $612/mo</span>
    </div>
  </div>
</div>
```

### Effect 4 — Blue Glow Fade-Up

```
initial={{ opacity: 0, y: 28 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.6, delay: i * 0.06, ease: [0.22, 1, 0.36, 1] }}
```

---

## 6. Component Breakdown

### Section 1 — Navbar

- 76px, `fixed top-0 z-40`, `rgba(18,20,26,0.92)` with blur, 1px bottom border
- Left: "APEX" (Sora 800) + blue chevron mark + "MOTORS" (Inter 600, 9px, letterspaced)
- Center: Inventory · Financing · Trade-In · Service · About
- Right: phone (Inter 600) + `Browse Inventory` (blue filled, rounded-full)
- Mobile: wordmark + hamburger; full-screen dark overlay menu

### Section 2 — Hero (Cinematic, Full-Bleed)

- `h-screen`, content centred-left, `pl-6 md:pl-16`

```jsx
{/* Image: sleek modern car on a wet city street at night, neon and streetlight reflections on the paint, cinematic automotive photography, deep blacks and electric blue highlights */}
<img src="" alt="Vehicle on a wet city street at night" className="absolute inset-0 h-full w-full object-cover object-center" />
<div className="absolute inset-0" style={{ background: 'linear-gradient(to right, rgba(18,20,26,0.95) 0%, rgba(18,20,26,0.6) 45%, rgba(18,20,26,0.25) 100%)' }} />
```

- Eyebrow: `MIAMI, FL · 340 VEHICLES IN STOCK · OPEN 7 DAYS`
- H1: `Find it. Finance it.\nDrive it home\ntoday.`
- Subline: `New and certified pre-owned across twelve makes, with transparent pricing and no four-hour finance office marathon.`
- CTA row: `Browse Inventory` (blue filled) + `Value My Trade` (white ghost)
- Quick-search bar (glassy card): Make · Model · Max payment · `Search` button

### Section 3 — Trust Strip

- `--card`, thin, 4 items with blue icons: `No-haggle pricing` · `7-day return policy` · `172-point inspection` · `4.8★ from 2,100+ reviews`

### Section 4 — Inventory

- `--background`, eyebrow `IN STOCK NOW` + H2 `Browse Inventory`
- **Sticky filter bar** (Effect 1) beneath the section heading
- **3-col vehicle grid** (Effect 3), 9 vehicles shown
- `Load more` button + `View all 340 vehicles →`

### Section 5 — Payment Calculator

- `--card` background, 2-col split
- Left: eyebrow `FINANCING`, H2 `Know the Payment Before You Come In`, short paragraph, 3 bullet trust points
- Right: calculator card (Effect 2)
- Below: `Get Pre-Qualified` button + `Soft credit check only — does not affect your score.`

### Section 6 — Trade-In

- `--background`, 2-col
- Left: full-bleed image

```jsx
{/* Image: car keys being handed across a counter, shallow depth of field, warm interior dealership lighting, candid moment */}
```

- Right: eyebrow `TRADE-IN`, H2 `Your Car Is Worth More Than You Think`, 3-step process, and a compact form — Year / Make / Model / Mileage / Condition → `Get My Offer`
- Note: `Offers are good for 7 days and 500 miles, whether or not you buy from us.`

### Section 7 — How Buying Works

- `--card`, 4-step horizontal timeline with blue connecting line
- Browse · Pre-qualify · Test drive · Sign and go
- Each: blue numbered circle, title, 2-sentence description, typical duration

### Section 8 — Service Department

- `--background`, 3-col cards: Scheduled Maintenance · Repairs & Diagnostics · Parts & Accessories
- Each: icon, title, description, `Schedule Service →`
- Below: service hours block

### Section 9 — Reviews

- `--card`, 3 review cards with star row, quote, name, and a `Purchased 2024 Aurora GT` line

### Section 10 — Final CTA

- Full-bleed blue gradient band (`linear-gradient(120deg, #0a90ff, #0b5ed7)`), white text
- H2 `340 vehicles. One afternoon.` + short line + white filled CTA `Browse Inventory` + large phone number

### Section 11 — Footer

- `hsl(220, 16%, 5%)`, 4 columns: brand + address / Inventory / Financing + Trade-In / Service + Contact
- Hours block, social icons
- Bottom strip: © line, `Dealer License #DL-0448210`, privacy, and financing disclaimer: `Advertised payments are estimates and exclude tax, title, and dealer fees. Subject to credit approval.`
---

## 7. Animations

- **Hero:** H1 lines fade-up staggered 0.1s, 0.75s each; quick-search card scales `0.97 → 1` with a soft blue glow, 0.6s at 0.5s delay
- **Navbar:** background opacity increases from 0.7 to 0.92 after `scrollY > 50`, 0.3s
- **Filter changes:** `motion.div layout` with `AnimatePresence mode="popLayout"` re-flows the grid, 0.32s per card
- **Vehicle cards:** image scales 1 → 1.05 over 0.7s on hover; card border transitions to blue at 30% opacity, 0.25s
- **Calculator:** monthly figure re-mounts with `key={monthly}` and fades up 0.25s on every change; slider tracks fill blue
- **Timeline:** blue connecting line scales from left, 0.9s; step circles pop `scale 0.8 → 1` staggered 0.12s
- **Trust strip icons:** subtle blue glow pulse on entry, once, 0.6s
- **Final CTA:** gradient shifts `background-position` slowly, 8s ease-in-out infinite alternate
---

## 8. Responsive

### Mobile (< 768px)

- Navbar: wordmark + hamburger; tap-to-call button pinned in the overlay menu
- Hero: `h-[85vh]`, H1 clamps to 40px, quick-search collapses to a single `Search inventory` button that opens a sheet
- Trust strip: 2x2 grid
- Filter bar: horizontally scrollable chips, `Filters` button opens a bottom sheet with all options
- Inventory: 1-col cards
- Calculator: sliders full-width, monthly figure sticky at the bottom of the section while dragging
- Trade-in: image above form
- Timeline: vertical with left-side blue line
- Service: 1-col

### Tablet (768–1024px)

- Inventory 2-col · calculator stays 2-col at tighter padding · service 3-col

### Desktop (> 1024px)

- Max width 1320px, `px-16`, `py-24`
---

## 9. Full Copy

### Brand

**APEX MOTORS** — Miami, Florida

### Navbar

Inventory · Financing · Trade-In · Service · About · `(305) 555-0190` · [Button] Browse Inventory

### Hero

- Eyebrow: `MIAMI, FL · 340 VEHICLES IN STOCK · OPEN 7 DAYS`
- H1: `Find it. Finance it. Drive it home today.`
- Subline: `New and certified pre-owned across twelve makes, with transparent pricing and no four-hour finance office marathon.`
- CTA 1: `Browse Inventory` · CTA 2: `Value My Trade`
- Quick search: `Make` · `Model` · `Max monthly payment` · [Button] `Search`

### Trust Strip

`No-haggle pricing` · `7-day return policy` · `172-point inspection` · `4.8★ from 2,100+ reviews`

### Inventory

Eyebrow: `IN STOCK NOW` — H2: `Browse Inventory`
Filters: `Type` (All · SUV · Sedan · Truck · EV · Coupe) · `Make` (All · 12 makes) · `Max price` slider

1. **2024 Aurora GT Line** — 12,400 mi · AWD · Certified Pre-Owned — `$42,900` · *or $612/mo*
2. **2023 Vantage EX SUV** — 21,800 mi · AWD · Certified Pre-Owned — `$36,500` · *or $521/mo*
3. **2025 Nimbus EV Long Range** — 1,200 mi · RWD · New — `$51,200` · *or $731/mo*
4. **2022 Ridgeback 4x4 Crew** — 38,600 mi · 4WD · Certified Pre-Owned — `$39,750` · *or $567/mo*
5. **2024 Corsa Sport Coupe** — 8,900 mi · RWD · Certified Pre-Owned — `$47,300` · *or $675/mo*
6. **2023 Meridian Touring** — 26,100 mi · FWD · Certified Pre-Owned — `$28,400` · *or $405/mo*
7. **2025 Vantage Hybrid** — 400 mi · AWD · New — `$44,900` · *or $641/mo*
8. **2021 Aurora Base** — 52,300 mi · FWD · Pre-Owned — `$21,900` · *or $313/mo*
9. **2024 Ridgeback Trail Edition** — 14,700 mi · 4WD · Certified Pre-Owned — `$48,600` · *or $694/mo*

### Financing

Eyebrow: `FINANCING` — H2: `Know the Payment Before You Come In`
Paragraph: `Nobody enjoys discovering their real payment after three hours in a windowless office. Run the numbers here, get pre-qualified with a soft credit check, and arrive knowing exactly what you are signing.`

- `Soft credit check for pre-qualification — no impact on your score`
- `We work with 22 lenders, including credit unions`
- `Rates from 4.9% APR for qualified buyers`
CTA: `Get Pre-Qualified` · Note: `Soft credit check only — does not affect your score.`

### Trade-In

Eyebrow: `TRADE-IN` — H2: `Your Car Is Worth More Than You Think`

1. **Tell us about it** — Year, make, model, mileage, and honest condition. Two minutes.
2. **Get a real number** — Not a range. An actual offer, backed by our current auction and retail data.
3. **Bring it in** — We verify the condition, and if it matches, the offer stands. Apply it to a purchase or take a cheque.
Form: `Year` / `Make` / `Model` / `Mileage` / `Condition` → [Button] `Get My Offer`
Note: `Offers are good for 7 days and 500 miles, whether or not you buy from us.`

### How Buying Works

Eyebrow: `THE PROCESS` — H2: `How Buying Works Here`

1. **Browse** *(as long as you like)* — Filter by payment rather than sticker price if that is how you actually budget. Every listing shows both.
2. **Pre-qualify** *(2 minutes)* — Soft credit check gives you a real rate and a real budget before anyone shakes your hand.
3. **Test drive** *(30–45 minutes)* — Take it on the highway, not around the block. Bring your car seat and check that it fits.
4. **Sign and go** *(about an hour)* — Paperwork is prepared before you arrive. No surprise add-ons in the finance office, because we do not sell them there.

### Service

Eyebrow: `SERVICE DEPARTMENT` — H2: `We Keep It Running`

1. **Scheduled Maintenance** (icon: `Wrench`) — Factory-interval service by certified technicians, with a loaner car on any job over three hours.
2. **Repairs & Diagnostics** (icon: `Gauge`) — Full diagnostic bay, OEM parts, and a written estimate before any work begins.
3. **Parts & Accessories** (icon: `Package`) — Genuine parts, roof racks, tow packages, and winter sets, fitted while you wait.
Hours: `Service: Mon–Fri 7am–6pm · Sat 8am–4pm · Sun closed`

### Reviews

1. `I filtered by monthly payment instead of price, which is how I actually think about a car. Took twenty minutes to find three options in my range.` — **Andre W.** · Purchased 2024 Aurora GT
2. `The trade-in offer they gave me online was the same number they gave me in person. I had budgeted a whole afternoon for that argument.` — **Sofia D.** · Purchased 2023 Vantage EX
3. `Finance office took fifty minutes and nobody tried to sell me paint protection. I did not know that was possible.` — **Kevin O.** · Purchased 2025 Nimbus EV

### Final CTA

H2: `340 vehicles. One afternoon.`
Subline: `Open seven days. Pre-qualify online, test drive today, and drive home in the same visit if the numbers work.`
CTA: `Browse Inventory` · Phone: `(305) 555-0190`

### Footer

- APEX MOTORS · `New & certified pre-owned · Miami, Florida`
- Address: `8800 Biscayne Boulevard, Miami, FL 33138`
- Sales hours: `Mon–Sat 9am–8pm · Sun 11am–6pm`
- Dealer License #DL-0448210
- © 2026 Apex Motors LLC. All rights reserved. · Privacy Policy · Accessibility
- Disclaimer: `Advertised payments are estimates and exclude tax, title, and dealer fees. Subject to credit approval. Vehicle availability changes daily.`
---

## 10. Key Dependencies

```json
{
  "motion": "^12.0.0",
  "lucide-react": "^0.460.0",
  "@radix-ui/react-slider": "^1.2.0",
  "@radix-ui/react-select": "^2.1.0",
  "clsx": "^2.1.0",
  "tailwind-merge": "^2.5.0"
}
```

**Tailwind config additions:**

```js
module.exports = {
  theme: {
    extend: {
      fontFamily: {
        display: ['Sora', 'system-ui', 'sans-serif'],
        sans: ['Inter', 'system-ui', 'sans-serif'],
      },
      colors: {
        'apex-black': '#12141a',
        'apex-blue': '#0a90ff',
        'apex-green': '#2bb673',
      },
    },
  },
};
```

1Run the car dealership website prompt in your AI builder

Open a new workspace in Lovable, Bolt, or v0. Copy the full prompt on this page from the code block right above Step 1 and paste the entire specification into your builder's first message. Submitting the complete specification in one shot works much better than feeding sections piecemeal because the AI wires shared filter state, design tokens, and component props consistently from the start.

Once the initial build finishes, inspect the generated project files to confirm the core stack:

  • React, Vite, and TypeScript for typed vehicle data
  • Tailwind CSS and shadcn/ui Radix primitives for accessible selects, sheets, and sliders
  • motion/react (Framer Motion) and lucide-react for layout transitions and crisp icons

If your builder scaffolds framer-motion instead of motion/react, align the import path with package.json so animations compile cleanly before you edit anything else.

Pro tip: If v0 puts everything in one large component file, ask it to move the nine-vehicle inventory array into a separate data module so future edits stay clean.

2Verify the dark color tokens and Sora font pairing

Open index.css and index.html to verify the AI used the exact color tokens and fonts from the prompt above instead of default Tailwind grays. Automotive photography looks richer against cool near-black surfaces: pure #000000 flattens dark tire and shadow detail, whereas hsl(220, 14%, 8%) (#12141a) preserves surface depth.

:root {
  --background: hsl(220, 14%, 8%);
  --card: hsl(220, 13%, 12%);
  --card-elevated: hsl(220, 12%, 16%);
  --primary: hsl(206, 100%, 52%);
}

Those four percent lightness steps between --background, --card, and --card-elevated separate sections and modals cleanly without heavy drop shadows, while --primary (#0a90ff) gives interactive controls clear contrast.

Confirm the Google Fonts <link> loads Sora (400, 600, 700, 800) and Inter (300 to 600). Sora brings a wide, engineered look to headlines and pricing, while Inter keeps 16px body copy legible. Check that every price tag applies tabular-nums so digits never shift width during live updates.

Pro tip: Map font-display to Sora in your Tailwind configuration so headings, vehicle titles, and calculator outputs never fall back to system sans-serif.

3Build the sticky navbar and cinematic hero section

Check the top of the preview to confirm the fixed 76px navbar and full-bleed h-screen hero match the visual hierarchy in the prompt above. The header should pair APEX in Sora 800 with a blue chevron and letterspaced MOTORS, centered navigation links, and (305) 555-0190 beside a rounded blue Browse Inventory CTA. Scroll past 50px to verify the navbar background opacity shifts from 0.7 to 0.92 with backdrop-blur.

Over the night-street coupe photo, inspect the left-to-right gradient overlay:

  • Starts at rgba(18,20,26,0.95) on the left so white headline text stays sharp
  • Softens to 0.6 at 45% width
  • Opens to 0.25 on the right so wet-street neon reflections remain visible

Test the staggered fade-up on Find it. Finance it. Drive it home today. and wire the glassy quick-search card (Make, Model, Max payment) directly into your inventory filter state.

Apex Motors dark hero section with top navigation, bold headline over a black coupe at night, and quick search filters.
The hero section pairs transparent-pricing messaging with immediate make, model, and monthly payment search.

Pro tip: Keep hero content left-aligned with pl-6 md:pl-16 rather than centered so headline text never blocks the car photography on wide monitors.

4Implement the trust strip and animated inventory grid

Scroll below the hero to inspect the --card trust strip and main inventory section. Placing No-haggle pricing, 7-day return policy, 172-point inspection, and 4.8★ from 2,100+ reviews right above the listings addresses buyer skepticism before shoppers look at prices. Confirm the blue icons play their one-time 0.6s glow pulse when entering the viewport.

Under Browse Inventory, test the sticky filter bar (sticky top-[76px] z-30). Matching top-[76px] to the exact navbar height docks the filter controls cleanly beneath the header with zero gap. Toggle body-type chips, make chips, and the max-price slider while checking two behaviors:

  • The {filtered.length} vehicles counter updates immediately through useMemo
  • Cards smoothly reflow across the 3-column grid via motion.div layout and AnimatePresence mode="popLayout" in 0.32s

Confirm nine vehicles appear initially above the Load more button and View all 340 vehicles link.

Browse Inventory section with trust badges, filter pills, price slider, and a nine-card grid of available vehicles.
Shoppers can filter in-stock vehicles by body style, make, and budget with upfront monthly estimates.

Pro tip: Always bind each motion.article key to a unique vehicle ID instead of an array index so Framer Motion animates the right cards when filters change.

5Refine the 16:10 vehicle cards and hover states

Inspect an individual listing card from Effect 3 in the prompt above. Dealership grids often break when real lot feeds supply photos with mixed dimensions. Wrapping each exterior photo in a relative aspect-[16/10] overflow-hidden container with object-cover keeps every coupe, SUV, and truck aligned on a strict grid, whether you keep the AI studio shots or connect real photography later.

Verify four card details that drive scannability and accessibility:

  • Stock pill: Placed at left-3 top-3 with --success (hsl(152, 62%, 44%)) background and dark #04180f text for crisp WCAG contrast on green.
  • Spec line: Mileage, drivetrain, and certification (12,400 mi · AWD · Certified Pre-Owned) styled in --muted-foreground.
  • Dual pricing: Cash price ($42,900) in Sora 700 paired with electric blue monthly pricing (or $612/mo).
  • Hover motion: A duration-700 group-hover:scale-105 image zoom paired with a subtle 30 percent blue border transition.

Pro tip: Compute each vehicle card's monthly payment estimate using the exact same default APR and 60-month term constants as the main financing calculator.

6Configure the live payment calculator and trade-in flow

Move to the two-column Financing and Trade-In sections. Letting buyers run numbers privately builds far more trust than gating payments behind an email form. Drag the three Radix sliders (vehicle price, down payment, and 36/48/60/72 month term) on the calculator card to verify the amortization formula:

const principal = Math.max(price - down, 0);
const r = apr / 12;
const monthly = Math.round((principal * r) / (1 - Math.pow(1 + r, -term)));

Wrapping price - down in Math.max(..., 0) prevents negative outputs when someone tests a large down payment. Confirm key={monthly} triggers the 0.25s fade-up on the blue text-6xl monthly figure and keep the Soft credit check only note visible below Get Pre-Qualified.

Directly underneath, inspect the Trade-In split layout. Warm key-handoff photography contrasts nicely against the dark interface while the five-field form (Year, Make, Model, Mileage, Condition) captures appraisal leads cleanly.

Financing section with an interactive payment calculator above a Trade-In section featuring steps and a valuation form.
Interactive payment calculation and instant trade-in valuation tools keep pricing transparent before visiting the dealership.

Pro tip: Set the down payment slider's maximum value dynamically to match the selected vehicle price so users cannot drag down payments past 100 percent.

7Lay out the buying timeline and service department

Review Section 7 (How Buying Works) and Section 8 (Service Department). Together, these sections answer two practical buyer questions: how long the paperwork takes today, and how easy maintenance will be after purchase.

In the horizontal four-step timeline (Browse, Pre-qualify, Test drive, Sign and go), check that the electric blue connecting line scales from the left over 0.9s on scroll while the numbered step circles pop from 0.8 to 1 with a 0.12s stagger. Displaying typical step durations reinforces the hero promise of avoiding a four-hour finance office wait.

Below the timeline, verify the three-column Service Department cards on --background:

  • Scheduled Maintenance, Repairs & Diagnostics, and Parts & Accessories with clean icons
  • Working Schedule Service links connected to your booking drawer or contact section
  • A visible service hours block underneath for quick weekend lookup
Four-step buying timeline above a three-card Service Department section for maintenance, repairs, and parts.
A clear four-step buying timeline and dedicated service cards set expectations from purchase through maintenance.

Pro tip: Add viewport={{ once: true, amount: 0.3 }} to the timeline motion container so the blue progress bar animates once cleanly on scroll.

8Complete the reviews, closing CTA, and compliant footer

Scroll to the final three sections to check social proof, conversion momentum, and legal disclosures. In Reviews, verify each card includes five stars, a specific quote, buyer name, and a purchased vehicle line like Purchased 2024 Aurora GT. Naming the exact car bought makes local testimonials feel concrete and trustworthy.

Next, inspect the full-bleed Final CTA band (linear-gradient(120deg, #0a90ff, #0b5ed7)). After several dark sections, this bright blue banner creates an unmistakable visual focal point for 340 vehicles. One afternoon., the white Browse Inventory button, and the showroom phone number. Confirm its background position shifts gently on an 8s infinite alternate cycle.

Finally, check the four-column Footer (hsl(220, 16%, 5%)). Darker 5% lightness anchors the page bottom while housing the Miami address, department links, hours, Dealer License #DL-0448210, and the required APR tax and title disclaimer.

Buyer review cards, a bright blue call-to-action banner, and the multi-column Apex Motors footer.
Verified buyer reviews, a high-contrast closing banner, and a structured footer complete the dealership page.

Pro tip: Format both the header and closing CTA phone numbers as clickable tel:+13055550190 links so mobile visitors can dial sales in a single tap.

9Test mobile drawers, sticky math, and breakpoints

Switch your preview viewport to mobile (< 768px) and tablet (768px to 1024px). AI builders often polish the desktop view first and skip small-screen rules unless you verify them. Check each responsive rule from Section 8 of the prompt above and send a short follow-up prompt if any breakpoint needs tightening:

  • Navigation and Hero: Mobile header collapses to the wordmark and hamburger overlay with a pinned tap-to-call button; hero adjusts to h-[85vh] with a Search inventory sheet button.
  • Filters and Cards: Filter chips scroll horizontally alongside a Filters bottom-sheet trigger, while cards shift to 1 column on phones and 2 columns on tablets.
  • Sticky Calculator and Timeline: Payment sliders span full width with the monthly figure sticky at the bottom while dragging, and the four-step buying timeline rotates into a vertical left-bordered layout.

Pro tip: Test the sticky monthly payment bar on a narrow 375px viewport to confirm slider labels stay uncovered while dragging with a thumb.

Adapt it to your own brand

  • Swap electric blue (--primary: #0a90ff) for metallic champagne gold or crimson red if you are adapting the layout for an exotic luxury boutique or performance motorsport dealer.
  • Connect the hardcoded nine-vehicle TypeScript array to a live Supabase table, CSV parser, or DMS inventory webhook so stock statuses and mileage update automatically.
  • Add an EV and Hybrid range filter chip alongside fuel/charging specs on the 16:10 cards if you specialize in electric vehicles.
  • Extend the payment calculator with a credit-tier selector (Excellent, Good, Fair) that dynamically adjusts the 6.9% default APR constant.
  • Repurpose the exact filter-and-calculator architecture for powersports, marine boat sales, RV dealerships, or heavy equipment rentals by updating filter categories and hero imagery.
  • Replace the static Trade-In confirmation toast with a webhook to your CRM or appraisal desk so sales managers get instant SMS alerts.

Common mistakes and fixes

  • White text on green stock badges: AI builders sometimes default to white badge text on --success green, which fails contrast checks; enforce dark #04180f text on the In stock pill.
  • Sticky filter bar overlapping the navbar: If top-[76px] is missing or the header height changes, the sticky inventory bar slides behind or covers navigation links during scroll.
  • Re-mounting jitter in the payment calculator: Animating key={monthly} on every raw pixel drag can feel frantic; debounce rapid slider ticks slightly or keep the fade duration crisp at 0.25s.
  • Missing zero-APR guard in loan math: If you customize the calculator to offer 0% promotional financing, r = 0 causes division by zero unless you add a fallback returning principal / term.
  • Desktop quick-search overflowing mobile screens: Leaving three inline inputs visible below 768px crowds the hero; verify it collapses into the mobile sheet trigger specified in the prompt.

Frequently asked questions

What sections are included in this car dealership website prompt?

The prompt generates eleven complete sections: a fixed Navbar, a full-bleed Hero with Quick Search, a four-item Trust Strip, a filterable Inventory Grid, an interactive Payment Calculator, a Trade-In valuation form, a four-step How Buying Works timeline, a Service Department block, customer Reviews, a blue Final CTA banner, and a compliant four-column Footer.

Does this prompt work cleanly in Lovable, Bolt, and v0?

Yes. All three AI builders support the core stack of React, Vite, TypeScript, Tailwind CSS, Framer Motion, and Radix-based shadcn/ui sliders and selects. Even the animated inventory filtering works reliably across Lovable, Bolt, and v0 because Framer Motion layout transitions are standard in their generated component environments.

Do I need my own car photos before running the prompt?

No. The prompt describes the night-street hero shot, nine studio vehicle angles, and the showroom trade-in handoff in plain text so your AI builder generates cohesive imagery automatically. Because every vehicle card uses a fixed 16:10 aspect ratio with object-cover cropping, you can drop in real dealer inventory photos later without breaking the grid.

How hard is it to swap in my own dealership inventory and APR rates?

It takes only a few minutes. The dealership name, Miami location, nine vehicle objects with mileage and pricing, default 6.9% APR, loan terms, trade-in guarantee, and dealer license number are all written explicitly in the code. You can edit those constants directly or connect the inventory array to a live DMS API feed.

Final thoughts

Building a high-converting automotive storefront does not require weeks of custom UI wiring when your specification nails the architecture up front. With near-black surfaces that flatter vehicle photography, Framer Motion filtering that responds instantaneously, and transparent loan math right on the page, this layout gives car buyers clarity instead of friction. Once your base build is running in Lovable, Bolt, or v0, connect the forms to your CRM and swap in live lot inventory. Scroll back up, copy the full prompt on this page, paste it into your favorite AI builder, and launch your own custom version today.

Originally published on PromptGrabber.com — find thousands more AI prompts there.