Free law firm website template
Edit it by hand: it is one index.html with no build step, so you can open it in any text editor, change the words and photos, and upload it to any static host. Not a coder? Describe your business in one sentence to 8B's AI website builder and it designs a new site for you, with more pages when you need them. Designing is free; publishing with hosting is $9 a month, billed yearly. It also works inside Claude and ChatGPT.
MIT license · Made by 8B, an AI website builder · Plain text: fellgate.md, data: fellgate.json
About this law firm website template
Law firm website template: one free index.html for a commercial practice advising companies and boards, with four full-screen practice panels, matters, three offices, six partners, a fee scale and a contact form. Most photos are greyscale; one red marks the practice shapes and fee bars. Its scroll motion is CSS, no libraries; AGENTS.md guides Claude Code or Cursor.
At a glance, November 2026. One 106 KB index.html with its CSS and JavaScript inside, 12 sections, 26 Unsplash photos credited in CREDITS.md, Host Grotesk and Source Serif 4 from Google Fonts, no JavaScript libraries: CSS scroll-driven animations and a small inline motion script with built-in smooth wheel scrolling, no script loaded from a CDN.
For commercial lawyers, websites are read by founders and boards who ask the same things: which practices, what the firm has done, where it sits, who leads it, how it bills. The page answers in that order and ends at a form asking the type of matter. It makes a website for lawyers in corporate, disputes, employment or property work, or for barristers' chambers. US attorney web design follows the same order once UK and Irish terms are swapped.
Used as a law firm website template for Claude Code, Cursor or Codex, a vibe coding pass starts with the legal facts: the footer's legal form, registration and regulators, then the six matters, published only with clients' consent. The partners' stock portraits show real people: replace them along with names and direct lines. The fee cap's stop line sits where its bar ends, now 52%. The head count, founding year, team sizes, deal ranges, response times and pro bono figures are invented; the agent asks for each.
Among law firm websites, pick it for a firm that wants to look composed and will explain its fees up front; bookkeeping practices will find more in the template built for accountants. This is the light build: the same look and scroll behaviour with no animation library and no script from a CDN, about 27 KB of code gzipped against 75 KB and four extra requests for the GSAP version. The gap is depth: one page, no page per practice or partner.
Good for:
Turn the law firm website template into your site with an AI agent
With an AI coding agent
Files (PowerShell: curl.exe):
curl -LO https://raw.githubusercontent.com/8bsite/law-firm-website-template/main/index.html
curl -LO https://raw.githubusercontent.com/8bsite/law-firm-website-template/main/AGENTS.md
curl -LO https://raw.githubusercontent.com/8bsite/law-firm-website-template/main/LICENSE
curl -LO https://raw.githubusercontent.com/8bsite/law-firm-website-template/main/CREDITS.mdPrompt for the agent:
Read AGENTS.md, then edit index.html. The site presents <our firm: name and legal form, practice areas, partners and direct lines, office addresses and phones, publishable matters, how we charge, regulator and registration number>. Replace first the firm name, legal line, matters, partners and cities.Keep the ids and classes AGENTS.md lists, each practice panel's data-figure and red pieces, the h1's three short lines, --city-i centred on zero, the gate script and the data-8b attributes; add no animation library. Never invent fees, results, client names, regulators, addresses or contacts; ask me.In a terminal
npx degit 8bsite/law-firm-website-template my-siteGSAP build
Prefer GSAP? The same design built with GSAP, ScrollTrigger and Lenis smooth scroll, loaded from jsDelivr, is in the repository as index.gsap.html: 75 KB of code to download gzipped against 27 KB for this one, and the scroll motion also plays in Firefox.
curl -LO https://raw.githubusercontent.com/8bsite/law-firm-website-template/main/index.gsap.htmlLaw firm website design prompt for any AI tool
Use this to build a commercial law firm site from scratch in Claude Code, Codex, Cursor, Lovable, v0 or Bolt, or to brief a designer. Like the prompts for other firms, it writes this template's design as decisions; with the template itself, the short prompt above is enough.
Build a one-page website for a commercial law firm. Sections in order: opening over a fog photo with a three-line heading, four practice areas as full-screen panels, five written promises, six recent matters, offices, partners, pro bono, fees agreed in writing, questions, new-matter form, footer. Type: Host Grotesk for body, headings, labels and buttons at 400 to 500; Source Serif 4 light, in red, only for the promises and the fee names. Colours: #ffffff ground, #262626 text and dark buttons, #d5d5d5 practice section, #f1f1f1 partners and footer grounds, #d3271d as the one accent, #5c5c5c for small text. Layout: a large heading at the left with a short note at the right; hairlines between rows; no purple gradient, no row of three icon cards, no centred hero with two buttons, no gavel or scales imagery. Motion: one idea, composure; each practice panel slides up over the last while red blocks open into that practice's figure, and the opening statement inks word by word. Build it with CSS scroll-driven animations and a little inline script, no animation library; without support or with reduced motion, show the finished static layout. Copy: plain, specific, no jargon. Ask me for the firm's legal form, registration, regulators, partners, direct lines, fees, case results and client consent; never invent them; leave marked placeholders. One primary action, Book a first call, repeated in the bar and down the page. Mobile: check at 390 px, tap targets of 44 px. Done when: no console errors, keyboard focus visible, every placeholder listed.Law firm website design and motion
Palette
#ffffff page ground, promise cells, the full-screen menu, the fog and mist over the opening photo, button text#262626 text, logo, dark buttons, the cap's stop line on the fee scale, the shade that darkens a covered practice panel#d5d5d5 ground of the practice section and its four panels#d3271d the one accent: logo square, practice shapes, serif promises and fee names, fee bars, the hover fill of buttons and icons#5c5c5c small grey text (notes, addresses, promise and fee lines, the legal line), form labels and underlines, table heads and years, the rules between questions#dcdcdc hairlines (nav edge, table rows, promise cells, fee tracks, footer edge), empty photo frames, the pale start of the ink effect#f1f1f1 ground of the partners, questions and footerFonts
- Host Grotesk: everything except the promises and fee names: body text at 400; headings, the huge h1 and practice titles, uppercase labels, buttons and the letter-spaced logo at 500
- Source Serif 4: light 300 weight in red, only for the five promises and the three fee names
Four sections open alike: a large heading at the left, a short note at the right aligned to its foot. The opening is two full screens over one fog photo. Each practice panel is a three-column grid: a tall photo in the middle over red blocks, a two-line title across the grid at mid-height, text lower left, terms lower right. Hairlines divide table rows, offices, fee rows and questions; the promises stand in a staircase of bordered cells.
This law firm website design rations its red to the logo square, practice shapes, serif promises and fee names, fee bars and hover fills. Only the ten city photos on the ring keep their colour. Most motion follows the scroll, built in plain CSS without libraries.
Every value of this law firm website design, with the type scale, spacing and the motion rules, is in its DESIGN.md file (Google's format), ready for a coding agent or Stitch.
What is on the law firm website page
- NavigationFixed bar: logo, seven section links and a Book a first call button; hides on scroll down; full-screen menu below 1000 px
While you scroll down the bar slides up out of view, and it slides back as soon as you scroll up.
- Hold your ground.Two screens: a monochrome mountain photo in fog with the stepped h1 and a lead, then a statement and a paragraph about the firm inked out of the white
On load the photo settles from a zoom, the three heading words rise in turn and two fog bands drift sideways; scrolling then grows, brightens and (on wide screens with a mouse) blurs the photo, pushes the lines apart until they fade, lifts the mist and inks the statement word by word.
- Four practices, one standard: advice you can act on the same day.Intro and four full-screen practice panels that stack, each with a photo over red shapes, a two-line title, text and key terms
Held on screen while you scroll, each full-screen panel slides up over the one before, which darkens, as its red pieces open out of one small block into the panel's own figure and the title slides in from the left; the index of the four practices stays in view, underlines the current one and fades after the last panel.
- Five promises, written into every engagement letter.Five promises in red serif in a two-column staircase of hairline cells, beside an intro and a link to fees
On wide screens the staircase assembles with the scroll, right-hand cells stepping down from half a cell higher while left-hand cells rise 60 px; on phones every second cell slides in from the left edge to its place on the right.
- Recent matters, told plainly.Table of six recent matters: year, client, matter, outcome
Once, as each of the six rows comes into view, its hairline draws from the left and the year, client, matter and outcome rise into place.
- Three offices, and partner firms in twelve more countries.An arc of ten city photos turning around a paragraph, then three office addresses and phones
Scrolling turns the ring of ten city photos 40 degrees into place as it rises, each photo settling from a closer crop; below it, a hairline draws over each office and its lines rise once.
- Seventy lawyers. Six partners sign the letters.Six partner portraits with practice, city and direct line, carried sideways by the scroll
Held on screen while you scroll, the row of six portraits travels sideways from the first to the last, each photo shifting a little inside its frame; tabbing to an off-screen card scrolls the page to it.
- One working day in ten belongs to people who could never pay for it.A photo beside a large statement and three items of pro bono work
The statement darkens word by word from pale grey as you scroll it up, and the mountain photo drifts slowly inside its frame.
- Fees agreed before the work, in writing.Three fee types on one scale: red bars for fixed, capped and hourly, with their terms
Row by row with the scroll, each red bar grows from a small square to its reach, the cap's dark stop line grows upward, and the fee name and terms fade in from 25% opacity.
- Questions clients ask before the first call.Six questions and answers (native <details>) beside a heading and a Book a first call button
Once, as each question arrives, its hairline draws across and the question rises into place; opening an answer turns its plus into a minus.
- Tell us where you need to stand. A partner will call you back within one working day.Closing statement, four office photos dealt into a row, a contact form (no back end yet) and phone, email and out-of-hours line
The four office photos start as one tilted pile in the middle of the strip and deal out into their row as you scroll (two by two on phones), while the statement above darkens word by word.
- FooterLogo, five policy links, the regulation line and the copyright with the Design: 8B credit
Before you publish the law firm website site
- Replace social preview image, favicon, phone number, contact form (sends nothing yet), email address and social media links and the invented demo facts (prices, dates, addresses). AGENTS.md lists them.
- Book a first call buttons in the nav bar, the phone menu and the questions section lead to
#contactnow; point them to your booking calendar URL (Calendly, Cal.com) if clients book first calls there, or keep #contact once the form is connected. - Talk to the corporate, disputes, employment and property team links in the four practice panels lead to
#contactnow; point them to a page per practice area or the lead partner's contact, or keep #contact. - Privacy notice, Cookies, Complaints, Terms of engagement and Modern slavery statement links in the footer lead to
#footer (nothing)now; point them to the URLs of your own policy pages, or remove the ones you do not publish. - The form sends nothing: with JavaScript it checks the fields and shows the thank-you line; without it the browser posts to #contact on the same page. Connect Formspree, Netlify Forms or your own endpoint.
- The statements with the ink effect (opening, pro bono, contact) start in the pale hairline grey (#dcdcdc on white, about 1.4:1) and reach full ink only when their centre comes to about 58% of the screen.
- On phones a stuck practice panel is taller than the screen: it is lifted so its terms stay in view, and the top of its photo passes under the index row.
- The ten city photos on the ring carry no visible labels; only their alt texts and the paragraph inside the arc name the cities.
Questions about this law firm website template
Is this lawyer website template free for client work?
Yes. MIT covers the code, so a studio doing website design for law firms or law firm website development can hand it to clients. It puts the whole firm on one scroll in one index.html with no build step and no JavaScript library. CREDITS.md credits the 26 Unsplash photos and two Google fonts under the Open Font License.
Can a US attorney use it?
Yes, after a pass over the legal terms. The demo names Scots, English and Irish law, the Court of Session, three UK and Irish regulators, an LLP registered in Scotland, sums in pounds and a Modern slavery statement link. Swap in your state bar, courts and currency and it works as an attorney website template.
Where does the new-matter form send its messages?
Nowhere until you connect it. The browser requires a name and an email; with JavaScript the form shows the thank-you text in data-sent and clears the fields, and without JavaScript it posts to #contact. AGENTS.md gives the Formspree and Netlify Forms steps. The Matter menu lists the four demo practices plus Not sure yet: match it to yours.
What is the quickest way to get an AI agent to adapt it?
Download index.html and AGENTS.md with this page's curl lines, open the folder in your agent and paste the prompt with your firm's facts. A fetched URL reaches the agent only as a summary. Lovable, v0 or Bolt build their own code, so paste the law firm website design prompt into them; a one-click Lovable start also attaches the demo.
Can a law firm get a site like this without editing code?
Yes. 8B's AI website builder designs a new site from one sentence about your firm, in its own design, not this template. Designing and restyling are free; publishing with hosting and SSL, full HTML export and AI edits in chat are on Pro at $9 a month billed yearly. It also runs inside Claude and ChatGPT through the 8B connector.
What does it show in Firefox or with reduced motion?
Without CSS scroll-driven animations (Firefox today) or with reduced motion, the practice panels follow one another as plain screens, the partners sit in a grid, everything else rests in place and scrolling is the browser's own. The fog photo still stays behind the second screen; in Firefox the opening also loads in and its fog drifts.



