# Law firm website

A free law firm and solicitors website template built with Astro and TypeScript that publishes as a static site, for firms of solicitors in England and Wales. It has practice area pages for conveyancing, wills and probate, family law and employment law, fees pages laid out for the SRA Transparency Rules, the team, a complaints procedure, regulatory information and an enquiry form, with every legal and regulatory statement labelled as placeholder text.

- Framework: Astro (JavaScript)
- Category: Websites / Professional services
- Creates: a static site
- Plan: Free
- Price: Free
- Author: Light Cloud
- Page: https://templates.light-cloud.com/websites/professional-services/law-firm-website-template
- Updated: 2026-11-21

## Features

- Practice areas as Markdown files for conveyancing, wills and probate, family law and employment law, each with its services and questions
- Fees pages for the services the SRA Transparency Rules cover, with price, VAT, disbursements, inclusions, stages, timescales and who does the work
- Fixed fees for wills, lasting powers of attorney, divorce and settlement agreements, and hourly rates by grade with VAT
- The team with roles, qualifications, year qualified and SRA IDs, and the supervising partner for staff who are not solicitors
- A complaints procedure with the Legal Ombudsman's details, regulatory information and a slot for the SRA digital badge
- An enquiry form that asks who else is involved for your conflict check, posting to any endpoint or opening the email app
- Placeholder badges on every zero registration number and notices on regulatory text, removed with one setting
- LegalService JSON-LD, build-time Open Graph images, sitemap.xml and /llms.txt, and WCAG 2.2 AA in light and dark

## What you need

- Free plan: it builds to a static site, which the Free plan hosts with no limit on sites
- To run it locally: Node.js 22.23.4 or later and npm
- Optional: PUBLIC_FORM_ENDPOINT, a form service URL; without it the enquiry form opens the visitor's email app
- Optional: PUBLIC_BOOKING_URL for Book a free call, and SITE_URL, your public address for canonical links and the sitemap

## About

Every firm detail lives in content/: firm.yaml for the name, address, hours and regulatory details, one Markdown file per practice area and fees page, a file per team member, and YAML for hourly rates, the complaints procedure, photos, privacy and the FAQ. At build time Astro checks that every fees page names a real practice area and real people. Every legal and regulatory statement, fee, timescale and time limit is placeholder text that no solicitor has reviewed, and registration numbers are zeros, so have your compliance officer check every page before setting placeholders: false in content/firm.yaml. Posting the enquiry form to an endpoint has not been tested.

## Questions

### How do I make a website for my law firm?

Deploy this template, then edit the files in content/: your firm's details, practice areas, fees, team, complaints procedure and regulatory information. Each file is plain text with comments, and the site rebuilds from them; every legal and regulatory statement in the template is a placeholder to replace.

### What does the SRA require solicitors to publish on their website?

The SRA Transparency Rules ask firms to publish price and service information for certain services, including residential conveyancing, uncontested probate and employment tribunal claims for unfair or wrongful dismissal, plus their complaints procedure and SRA details and badge. This template has a page for each; check the current rules with your COLP.

### How should solicitors show conveyancing fees?

Show the legal fee, VAT, disbursements such as searches and Land Registry fees, what is and is not included, what could increase the cost, the key stages and typical timescales, and who does the work. The fees pages in this template follow that layout, with example figures to replace.

### Can a law firm website take enquiries without a server?

Yes. The enquiry form posts to any form service you set in PUBLIC_FORM_ENDPOINT, or opens the visitor's email app with the enquiry filled in. It asks who else is involved, for your conflict check, and tells people not to send documents yet.

### Can I host this solicitors' website without Light Cloud?

Yes. Run npm run build and upload dist/ to any static host; every page is a real HTML file, such as dist/fees/probate/index.html.
