Clearpath Mortgages: Building a Trust-Building Hero Section with Navy & Gold Aesthetics
In today's fast-paced world, building a professional mortgage broker website can be a daunting task. However, with the help of AI, we can streamline the process and create a website that is both functional and visually appealing. In this tutorial, we will guide you through the steps of building a mortgage broker website using AI with React, Vite, TypeScript, Tailwind CSS, Framer Motion, shadcn/ui, and lucide-react.
What you need
- A computer with a stable internet connection
- Basic knowledge of HTML, CSS, and JavaScript
- A text editor or IDE like Visual Studio Code
- A code hosting service like Vercel or Netlify
- A design tool like Figma or Adobe XD
- Access to one of the AI website builders mentioned in the prompt (Lovable, Bolt, v0, or Claude)
The full prompt
# Mortgage Broker Website Prompt
# websiteprompts.ai
Build a clean, trustworthy mortgage broker and financial advisor website called "Clearpath Mortgages" using React + Vite + TypeScript + Tailwind CSS + Framer Motion (motion/react) + shadcn/ui + lucide-react.
## Design System
### Colors
```css
:root {
--background: 0 0% 100%;
--foreground: 215 30% 12%; /* deep navy near-black */
--primary: 215 52% 28%; /* deep navy #1e3a5f */
--primary-foreground: 0 0% 100%;
--accent: 42 60% 55%; /* warm gold #c9a55a */
--surface: 215 15% 96%; /* light blue-grey */
--surface-navy: 215 30% 92%; /* navy tint */
--muted-foreground: 215 12% 52%;
--border: 215 16% 88%;
}
```
### Typography
- Import: `https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap`
- All text: Plus Jakarta Sans
- Headlines: Plus Jakarta Sans 700–800
- Body: Plus Jakarta Sans 300–400
- Labels: Plus Jakarta Sans 600 uppercase 10px letter-spacing 0.12em
## Sections
### 1. Navbar
- Sticky white bg, thin navy bottom border on scroll
- Left: Plus Jakarta Sans 700 wordmark "Clearpath" + small lucide Home icon in navy
- Right: Services · How It Works · About · Contact + "Get a quote →" navy button
### 2. Hero
- Split layout: left content (55%), right large image (45%, rounded-2xl)
- Left:
- Plus Jakarta Sans 600 uppercase 10px navy label: "Independent Mortgage Broker"
- Plus Jakarta Sans 800 `clamp(38px, 5vw, 70px)`: "Your Mortgage,\nMade Simple."
- Plus Jakarta Sans 300 sub: "Access to over 90 lenders, whole-of-market advice, and a fee-free service — finding you the right deal in days, not weeks"
- CTAs: "Get a free quote →" (navy filled) + "How it works" (ghost navy)
- Trust chips: "CeMAP Qualified · FCA Regulated · Whole of Market"
{/* Image brief: couple at home reviewing documents at kitchen table, warm light, relaxed and happy, homeownership milestone moment */}
### 3. Trust Bar
- Full-width navy `#1e3a5f` background, 72px
- 4 white stats in Plus Jakarta Sans 700: "90+ Lenders" · "£800M+ Arranged" · "4.9★ Google" · "Fee Free Service"
- Framer Motion useSpring count-up on scroll, white dividers
### 4. Services
- "How We Can Help" — Plus Jakarta Sans 800 with navy underline rule
- 6-service 3×2 grid:
- First-Time Buyer (we handle everything, from AIP to completion)
- Home Mover (seamless transition, best rate for your situation)
- Remortgage (save money when your fixed rate ends)
- Buy-to-Let (landlord mortgages for portfolio and first-time landlords)
- Self-Employed (complex income? We find lenders who understand it)
- Protection (life insurance, critical illness, income protection)
- Each card: navy lucide icon, Plus Jakarta Sans 700 service name, Plus Jakarta Sans 300 description, "Learn more →" navy link
- Hover: navy border + navy glow `0 0 20px hsl(215 52% 28% / 0.10)`
### 5. How It Works
- "The Clearpath Process" — Plus Jakarta Sans 800
- 4-step: Free Consultation → Whole Market Search → Mortgage Application → Completion
- Large faded navy number (opacity 0.07) behind each step
- Plus Jakarta Sans 300 muted description per step, stagger fade-up on scroll
### 6. Why Choose Clearpath
- Split: left text, right image
- Plus Jakarta Sans 800: "We Work for You, Not the Lenders"
- Plus Jakarta Sans 300: 2 paragraphs — whole-of-market means no bias, fee-free means our income comes from lenders, not you. CeMAP qualified. FCA regulated.
- 4 check points with lucide Check in navy:
- "Whole of market — 90+ lenders compared"
- "Completely fee-free advice"
- "CeMAP qualified advisors"
- "FCA regulated and fully insured"
{/* Image brief: mortgage advisor at desk with client, professional warm office setting, documents visible, trust and expertise conveyed */}
### 7. Meet the Team
- "Your Advisors" — Plus Jakarta Sans 800
- 3 advisor cards: portrait (square, rounded-xl), Plus Jakarta Sans 700 name, navy specialty chip (CeMAP Qualified / FCA ARN), short bio
- Hover: soft navy glow
{/* Image brief: professional male mortgage advisor, business casual, warm office background, approachable expression */}
{/* Image brief: female financial advisor, professional headshot, modern office, confident and friendly */}
{/* Image brief: male advisor headshot, professional setting, warm smile, trustworthy */}
### 8. Reviews
- Light navy surface section
- 3 cards: 5-star row in gold, Plus Jakarta Sans 300 italic quote, client name + mortgage type in Plus Jakarta Sans 10px muted
- Stagger fade-up on scroll
### 9. FAQ Accordion
- "Common Questions" — Plus Jakarta Sans 800
- 4 items via shadcn/ui:
- "How long does the mortgage process take?"
- "Do I need a big deposit to get a mortgage?"
- "Can I get a mortgage if I'm self-employed?"
- "What documents will I need?"
- Navy left border on open item
### 10. CTA Banner
- Full-width navy `#1e3a5f` background
- Plus Jakarta Sans 800 white: "Find Out How Much You Could Borrow"
- Plus Jakarta Sans 300 white: "Free consultation · No obligation · Whole market comparison in 24 hours"
- "Get a free quote →" white bg navy text button
- "FCA regulated · Fee-free · Available evenings and weekends" muted below
### 11. Footer
- Deep navy background, 3 columns
- "Clearpath Mortgages Ltd is authorised and regulated by the Financial Conduct Authority. FCA No. 123456. Your home may be repossessed if you do not keep up repayments on your mortgage." Plus Jakarta Sans 10px muted
- "© 2026 Clearpath Mortgages · London & Remote"
## Animations
- Trust bar: count-up on scroll
- Service grid: stagger fade-up on scroll
- Process steps: stagger fade-up on scroll
- Navy rules: scaleX 0→1, 0.5s
## Responsive
- Mobile: split hero stacks, single-column service grid, hamburger nav
## Full Copy
- Wordmark: "Clearpath"
- Hero: "Your Mortgage, Made Simple." / "Access to over 90 lenders, whole-of-market advice, and a fee-free service"
- Services: First-Time Buyer · Home Mover · Remortgage · Buy-to-Let · Self-Employed · Protection
- Stats: 90+ Lenders · £800M+ Arranged · 4.9★ Google · Fee Free
- Testimonial: "Clearpath found us a rate 0.4% lower than our bank's best offer. The process was completely stress-free and they handled everything." — James & Priya, first-time buyers
- CTA: "Find Out How Much You Could Borrow" / "Free consultation · No obligation"1Create a new React project
Open your terminal and run npx create-react-app mortgage-broker-website to create a new React project. Navigate into the project directory and install the necessary dependencies by running npm install tailwindcss framer-motion shadcn/ui lucide-react.
Pro tip: Ensure you have Node.js and npm installed on your computer.
2Set up Tailwind CSS
Create a new tailwind.config.js file in the root of your project and add the following code: module.exports = { content: ['./src/**/*.{js,jsx,ts,tsx}'], theme: { extend: {} }, plugins: [] }. Then run npx tailwindcss init -p to generate a new Tailwind CSS configuration file.
Pro tip: Add @tailwind base; @tailwind components; @tailwind utilities; to the top of your src/index.css file.
3Add Framer Motion for animations
Install Framer Motion by running npm install framer-motion. Then import it into your project by adding import { motion } from 'framer-motion' at the top of your src/App.js file.
Pro tip: Framer Motion provides a variety of animation effects and allows you to create complex animations with ease.
4Integrate shadcn/ui and lucide-react for UI components
Install shadcn/ui and lucide-react by running npm install shadcn-ui lucide-react. Then import them into your project by adding import { Button, Card, Text } from 'shadcn-ui' and import { LucideIcon } from 'lucide-react' at the top of your src/App.js file.
Pro tip: shadcn/ui provides a set of reusable UI components that are designed to be accessible and modern.
5Design the website according to the prompt
Open the src/App.js file and design the website according to the prompt. Use the motion component to add animations to your website and the shadcn-ui and lucide-react components to create a modern and visually appealing design.
Pro tip: Ensure that the website is responsive and accessible to all users.
6Customize the design to fit your brand
Once you have a basic design in place, customize it to fit your brand. Replace the placeholder lender names, rates, and contact details with your own business details.
Pro tip: Ensure that the website is consistent with your brand's visual identity.
7Tweak the content to better suit your business needs
Finally, tweak the content to better suit your business needs. Replace the placeholder copy with your own business copy and add any additional pages or sections that you may need.
Pro tip: Ensure that the website is easy to navigate and provides all the information that your potential clients need.
Adapt it to your own brand
- Replace the placeholder lender names, rates, and contact details with your own business details.
- Replace the placeholder copy with your own business copy and add any additional pages or sections that you may need.
- Customize the design to fit your brand's visual identity.
- Add any additional functionality or features that you may need, such as a contact form or email marketing integration.
- Ensure that the website is responsive and accessible to all users.
- Test the website thoroughly to ensure that it works as expected.
Common mistakes and fixes
- Not using the necessary dependencies and tools.
- Not following the instructions in the prompt.
- Not customizing the design to fit your brand.
- Not tweaking the content to better suit your business needs.
- Not testing the website thoroughly.
Frequently asked questions
What does the mortgage broker website prompt include?
A navbar, Hero with a lead-capture CTA, Services breakdown (purchase, refinance, first-time buyer), About, Testimonials or case studies, FAQ, and Footer. The copy is written for trust and clarity, no jargon-heavy filler.
Does this prompt work if I focus on residential rather than commercial mortgages?
Yes, the default copy focuses on residential buyers, first-time buyers, and refinancing. The prompt includes enough layout and design detail that the first generation is usually close to usable.
Which AI website builders work with this prompt?
Lovable, Bolt, v0, and Claude all handle it well. The prompt includes enough layout and design detail that the first generation is usually close to usable.
Can I update the lender names, rates, and contact details?
Yes, all business-specific details are placeholders. Swap them in the prompt before pasting, or edit the generated output directly.
Final thoughts
In this tutorial, we have learned how to build a mortgage broker website using AI with React, Vite, TypeScript, Tailwind CSS, Framer Motion, shadcn/ui, and lucide-react. By following these steps, you can create a professional website that is both functional and visually appealing. Remember to customize the design to fit your brand and tweak the content to better suit your business needs. Don't forget to test the website thoroughly before launching it.