Templates /

Lawyer website template

$39
Lawyer website template: first screen on a phone

What comes with the lawyer website template

  • index.html: the pure HTML and CSS version, one single HTML file, 104 KB.
  • index.gsap.html: the same design built with GSAP, ScrollTrigger and Lenis, for scroll motion in every browser, Firefox included.
  • AGENTS.md: what a coding agent must keep and what to replace, so Claude Code, Codex or Cursor edit it without breaking the scenes.
  • DESIGN.md: every colour, font, spacing and motion rule of this lawyer website design.
  • PROMPTS.md: the agent prompt and the design prompt below.
  • CREDITS.md and LICENSE.md: the photos and fonts with their licenses, and the 8B license.
  • Updates to this template, at no extra cost.

Yours to edit: one index.html with no build step, so you or a coding agent can change the words, prices 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.

Premium template · $39, one-time license · Made by 8B, an AI website builder · Updated December 2026 · Plain text: novak-zelic.md

About this lawyer website template

Lawyer website template for a law firm or a small partnership that wants its first page to give the answer: one HTML file with eight practice areas, three client questions each answered by one heavy word, five closed matters, a fee ledger, four lead lawyers, a five-step plan for founding a company, six questions, a visit card and a question form. It opens on a red poster with a giant N that turns a quarter into a Z, the firm's two initials as one shape, and ends on a form framed by the same two letters. It is a single HTML file in pure HTML and CSS, and a GSAP version of the same page comes with it.

At a glance, December 2026. One 104 KB index.html: a single HTML file in pure HTML and CSS with a few lines of built-in JavaScript, 13 sections, 6 Unsplash photos, Gabarito. A GSAP build of the same page, 96 KB, comes with it.

It suits a law firm, a solo lawyer, a notary or a legal consultancy that serves companies, founders and families and wants to be read as direct and exact. Lawyer websites mostly need five things on one scroll: what you handle, how you answer, what it costs, who will do the work and a way to ask a first question, and this page gives each its own section. A lawyer website built from it also gets what sets a small firm apart from a directory: an answer in the first line of every reply, a fee named before the work starts, and closed matters told with the question, the work and the result. A partnership with offices in three cities has a commercial law firm's site that lays out partners, matters and fee types for each.

The demo business is Novak Zelić, an invented Zagreb firm of eleven lawyers. Every name, quote, matter, fee, address and legal statement is demo copy to replace, and the legal lines are written to be plausible, so check each one against the law of your own country. The practice areas, the plan for founding a company and the fee ledger are plain blocks of text, so a firm in another city or market changes the words, the currency and the VAT line and keeps the design. Founders often need a tax advisor next to their lawyer, and those firms run an accounting firm's site with client tabs and a deadline calendar.

If you would rather not edit HTML at all, 8B, the AI website builder designs a site from one sentence about your firm, with more pages when you need them. This template is for people who want this exact design in their own hands: one index.html with its CSS and its motion inside, which you or a coding agent can edit and host anywhere, next to the case pages, blog or booking tool you already use.

Good for:

Law firm or attorneys' office for companies, founders and familiesSolo lawyer or small partnership with a few practice areas and fixed feesNotary, tax adviser or legal consultancy with a written-answer promiseFirm that serves foreign clients and wants a clear company setup plan on the page

What a lawyer website needs

People who look for a lawyer want to know quickly whether you handle their kind of matter, what it will cost and who will answer. Here is how this template covers each of them.

  • What you handle. Eight practice areas in an index with a short line each, from arbitration and tax to family and immigration, right after the first screen.
  • A straight answer, not a brochure. Three client questions, each answered by one large word and then its conditions, so the visitor sees how the firm writes before the first call.
  • Proof of results. Five closed matters as sheets with the question, what was done and the outcome, with client names left out.
  • What it costs. A ledger of four ways to pay, with a first call at no charge, a fixed fee, a retainer and hourly rates, and a line on VAT and pass-through fees.
  • Who will do the work. Four lead lawyers, three partners and a senior associate, with their fields, a line naming seven more lawyers, and the promise of one partner who answers for each matter.
  • A clear path for foreign clients. A five-step plan for founding a company, each step with what the client sends, and the time for the steps that take one.
  • An easy first question. A form with name, email, kind of matter and question, the office address and hours, an email line and a phone line.

What it does not have is a booking calendar, a client portal, a case library or a blog: it is built for a firm that wants one strong page and handles the rest by email, phone and the tools it already uses.

Lawyer website design and motion

Palette

#e4e6e9 the cool grey ground behind every panel#f3f4f6 the pale panels and the fill of the form fields#1d1b1c near-black: text, the dark panels and the giant ink letters#cc2a22 red: the opening, matters, company plan and contact panels, the method's one-word answers, the practice initials, the giant letters on pale and dark panels, the prices and the button knobs#5b5f66 slate grey for secondary text and conditions#ffffff the white cards, and text on the red and dark panels

Fonts

  • Gabarito: the only family: its heaviest weight for verdict words, giant letters and prices, its regular weight for everything that qualifies them

A cool grey grain ground carries a stack of large rounded panels in red, near-black and pale grey, and white cards with soft shadows rest on them. Every heading speaks in two weights, with the verdict word heavy and the rest regular. Giant cropped letters are the architecture: an N and a Z in the opening and the contact, a euro sign beside the fees, a question mark beside the questions, the lawyers' surname initials behind their portraits. The practice areas are a two-column index under a specimen alphabet, the matters are white sheets, the fees a ledger, the plan for a company five numbered cards. Buttons are pills with a round knob that carries an arrow. On phones the menu becomes a full-screen overlay, the index drops to one column, the people to two and the plan runs along a rule at the left edge.

The idea behind the page is the plain word first. A firm's work is written, so the page is built from letters, and it speaks the way a good opinion opens: the answer, then what it depends on. The method section makes it literal, with a client's question, the one-word answer landing in red at the heaviest weight, then its conditions in a narrow justified column. Reference-poster scale and footnote scale sit next to each other and nothing sits between them.

What is on the lawyer website page

  • Navigation
    Floating white bar with the firm's name, five links and a Book a call button, and a full-screen menu on phones

    A floating white bar that hides as you scroll down and comes back when you scroll up; on phones it becomes the firm's name and a menu button that opens a full-screen red overlay with the same links.

  • Straight answers in Croatian law.
    A red poster with a giant N that turns into a Z, then a white card with the promise One page. The answer comes first. and three working rules, beside a photo of a pen on a signed letter

    On load the giant N rises from a slight tilt and settles, the heading, lead and buttons shift up into place, and the N then slowly swells and settles in a loop that pauses off screen. On scroll across the two screens the N turns ninety degrees into a Z and travels right, while the red field and the ink letter cross-fade into each other's colours, and the white promise card rises onto the panel.

  • Eight fields, one desk.
    A specimen alphabet from A to Z with ampersand and section signs, and an index of eight practice areas with big red initials

    The heading lands from regular to the heaviest weight. As the section scrolls, the eight letters that begin a practice area leave the specimen alphabet, whose cells stay behind as red outlines, fall down the page and grow into the big initials of the index while the other letters grey out.

  • Answer first, conditions after.
    Three client questions, each answered by one large word, then the conditions in a narrow justified column

    Each answer comes in from the right while its conditions rise behind it; when the row reaches the middle the answer lands from regular grey to the heaviest red weight and the conditions come up to full strength after it.

  • Done. Five files we closed last year.
    Five closed matters as white sheets on a red panel, each with a question, what was done and the outcome, stacked like files

    The five sheets stick one under another as you scroll; each new sheet slides over the last, which sinks back, smaller and darker, with its top edge still showing.

  • Priced before we start.
    A ledger of four ways to pay with prices, beside a giant cropped euro sign, and a quote button

    The heading lands in its heavy weight, the euro sign slides in from the panel edge that cuts it and locks, and the ledger card rises onto the panel.

  • Eleven lawyers. You meet the one doing the work.
    Four lead lawyers (three partners and a senior associate) as portrait cards over their giant surname initials, and a line naming seven more lawyers

    The heading lands in its heavy weight; the giant initials and the portrait cards travel at different speeds while the section passes and settle together, so each lawyer stands out of their letter in layers.

  • Founded in three weeks: your company in Croatia.
    Five numbered steps for founding a company, each with what the client sends, along a rule that runs down the panel

    A white rule runs down the plan as you scroll, and each of the five steps is set when the rule reaches it: its number fills white and its card comes forward into place.

  • Asked before the first call.
    Six questions as native disclosures on a white card, beside a giant cropped question mark

    The heading lands in its heavy weight, the question mark slides in from the right edge and the white card of six disclosures rises onto the panel.

  • Zagreb, two minutes from the main square.
    A photo of the Upper Town in Zagreb that opens to fill the panel, with a visit card of address, hours, how to arrive and a maps link

    The photo of Zagreb starts as a small rounded card in the middle of the dark panel and opens to fill the whole panel while the image settles from close to wide; the visit card rises over it.

  • Heard from the other side of the desk.
    Five client quotes in a slow continuous row

    The heading lands in its heavy weight and the five quotes move in a slow continuous row that pauses on hover, on focus and when it is off screen.

  • Ask before you sign.
    Email and phone lines and a question form with name, email, matter, question and a send button, between a giant N and a giant Z

    The giant N and Z arrive from opposite edges lying on their sides and turn upright as they close in on the form, which rises onto the panel.

  • Footer
    The firm's name set to the panel width, the legal line, a LinkedIn link and a back to the top link

    The firm's name, set to the width of the panel, slides in from the edge that cuts it and locks in place.

Before you publish the lawyer website site

  • Replace social preview image, favicon, map, email address, phone number, contact form (sends nothing yet) and social media links and the invented demo facts (names, prices, areas, quotes). AGENTS.md lists them.
  • Book a call in the header and the menu, Book a first call, Ask for a quote, Plan your company lead to #contact now; point them to keep them once the question form is connected, or point them to your booking page.
  • See what we handle in the opening lead to #practice now; point them to keep it.
  • Navigation links and Back to the top lead to #practice, #matters, #fees, #people, #office and #opening now; point them to keep them.
  • Open the route in maps in the office card lead to a Google Maps search for the demo address now; point them to your own address in the search, or your map link.
  • LinkedIn link in the footer lead to LinkedIn's home page now; point them to your firm's page, or remove it.
  • Email and phone lines in the contact section lead to mailto: and tel: links with demo contacts now; point them to your own email and phone.
  • Scroll-driven animation runs when the browser supports it (Chrome, Edge and Safari today; Firefox does not yet) and the visitor has not asked for reduced motion. Otherwise each section shows its finished layout; the GSAP build, index.gsap.html, also plays the scroll motion in Firefox.
  • The question form sends nothing. The pure HTML and CSS version shows no thank-you or missing-field line (the browser still checks the required fields); the GSAP version shows both lines but sends nothing either. Connect it to a form service, your email or your CRM and point it to a thank-you page.
  • It is one page: every link goes to a section of the same page, apart from the maps and LinkedIn links. There is no case library, blog or booking calendar; link to the ones you already use.
  • The alphabet scene is built for eight practice areas, each tied to its own cell in the specimen alphabet, and the stack for five matters: a different count needs the scene adjusted. The people grid has four columns, so four portraits fill it.
  • The legal statements in the demo (consent for non-EU buyers, the minimum capital of a d.o.o., VAT, the court register) are plausible and general: check every one against current law before you publish.

Questions about this lawyer website template

What do I get for $39?

The lawyer website template as a single HTML file, index.html, in pure HTML and CSS, a GSAP build of the same page as index.gsap.html, a DESIGN.md with every colour, font and motion rule, an AGENTS.md for coding agents, the agent prompt and the design prompt from this page, and CREDITS.md for the photos and fonts. Updates to this template are included.

Can I use this lawyer template for client sites?

Yes. One purchase lets you build as many sites as you like with it, for your own firm or for clients, and change anything. What it does not allow is selling or giving away the template itself, as a template, theme or kit, or putting its source in a public repository. Web designers who also serve funeral directors can build a funeral home's site the same way, with a price list and a call-back form.

How do I change the practice areas, fees and matters?

Each practice area, matter, fee line and step of the company plan is one block of HTML with its own text, so by hand you change the words, and with Claude Code, Codex or Cursor you say it in a sentence, such as replace the eight areas with criminal defence, insolvency and maritime law, and the agent edits the blocks. Each initial in the index is tied to its cell in the specimen alphabet, so keep eight areas and five matters unless you also adjust their scenes, and four portraits fill the four-column people grid. There is no case library or blog: if you publish many opinions, keep them on their own pages and link to them. If you want a site with more pages that you edit without code, 8B's AI website builder makes one from a sentence about your firm.

Does the question form send anything?

Not yet. The form asks for a name, an email, the kind of matter and the question, but it sends nothing until you connect a form service such as Formspree or Netlify Forms, your email or your CRM. The pure HTML and CSS version shows no thank-you line after sending (the browser still checks the required fields); the GSAP version shows a thank-you line and a missing-field line, but sends nothing either. Point the form at a thank-you page or add one. Ask for as little as the first message needs: client details do not belong in a contact form.

Will it work with Claude Code, Codex or Cursor?

Yes. Put index.html and AGENTS.md in your project and give the agent the prompt that comes with the template. AGENTS.md says which attributes the scroll motion reads, what to keep and what to replace, so the agent swaps names, fees, matters and photos without breaking the scenes.

What do visitors see in Firefox or with reduced motion?

Firefox does not support scroll-driven animations yet, so it shows every section in its finished layout, as does any browser when the visitor asks for reduced motion. If the scroll motion must also play in Firefox, use the GSAP build, index.gsap.html, which loads GSAP, ScrollTrigger and Lenis from a CDN. Pages that move on scroll in the same way are gathered under animated plain HTML designs.

More templates for law, accounting and advice

Other designs for firms that sell expertise.

Law firm: first screen

Commercial law firm: three offices, four practice areas, recent matters, six partners and fee types.

Accounting firm: first screen

Accounting firm: services, a month of work, fixed fees, reviews and a booking form.

Real estate: first screen

Real estate agency or realtor: homes for sale, how a sale works, neighbourhoods with prices and a valuation form.

Accountant: first screen

Local accountancy: a sample monthly report, services, a tax-year calendar and fixed fees.

Mortgage broker: first screen

Mortgage broker for whole-market advisers.

Tax advisor: first screen

Tax advisor or accounting firm: services, client tabs, a deadline calendar, a fee builder, partners and a form.

Genealogy: first screen

Genealogy for family history researchers: sample family tree, fixed fees.

Counseling: first screen

Counseling practice: approach, rooms, counselors, couples sessions, fees and a contact form.

All templates

Get 8B premium templates

Every plan includes all template files, AGENTS.md, DESIGN.md, the prompts and updates, for unlimited own and client sites.