Clause
A website theme for law firms that work for people, in Astro and in Next.js with Sanity: a problem search on the first screen, a page per service and per lawyer, a lawyer finder, a costs page with a no-win-no-fee calculator, insights and a call-me-back form. 35 pages, 13 sections, light and dark, WCAG 2.2 AA.


Theme for law firms and solicitors, for Astro and Next.js + Sanity
What Clause is for
The site for a law firm that works for people: can you help, what will it cost and who will I talk to, answered from the first screen, in two editions: Astro, or Next.js with a Sanity Studio. 35 pages, 13 sections and one preset, light and dark, WCAG 2.2 AA.
Home, services, the lawyer finder, costs, insights and about, ready for your firm.
Every page as it ships, with the invented firm Penrose Hale Solicitors: four offices in Leeds, Manchester, Sheffield and Bristol, handling injury, family, wills, employment and housing. Switch to dark to see the other mode, and click a page to see all of it.
As considered on a phone.
Every page is checked at phone width in both modes. On a phone the problem search stays at the top of the first screen, the call-back promise has its own line, and each lawyer’s direct number is one tap away.



Two editions, one license
Static files or a Studio. Same design.
Both editions render the same pages from the same sections and presets, so you choose by who edits the site, not by how it looks. Your license includes both.
- Framework
- AstroAstro 7, static output
- Next.js + SanityNext.js 16, App Router and React Server Components
- Content
- AstroServices and insights as Markdown files, lawyers, reviews and settings as JSON, all with a schema
- Next.js + SanitySanity Studio with documents for services, lawyers, reviews, insights, the firm’s settings and page copy
- Demo content
- AstroIn the repository
- Next.js + SanityA seed script imports every service, lawyer, review and insight into your dataset
- Publishing
- AstroRebuild and deploy
- Next.js + SanityPages generated ahead of time and refreshed when you publish
- Preview
- Astropnpm dev
- Next.js + SanityDrafts beside the form in the Studio
- Forms
- AstroThe call-me-back form posts to the address you set, or to an optional Cloudflare Worker that forwards it and fails closed without a destination
- Next.js + SanityA Route Handler that forwards to your endpoint, fails closed without one and logs no field values
- JavaScript
- AstroSmall scripts: the menu on phones, the light/dark switch, the problem search, the lawyer finder, the search page and the costs calculator
- Next.js + SanityThe same small parts as client components; every page renders on the server
- Lighthouse, mobile
- Astro100
- Next.js + Sanity97–100
- Deploys to
- AstroCloudflare Workers, Netlify, Vercel or any static host
- Next.js + SanityVercel, or Cloudflare Workers through OpenNext
- Repository
- Astrothemesdev/clause-astro
- Next.js + Sanitythemesdev/clause-next
| Aspect | Astro | Next.js + Sanity |
|---|---|---|
| Framework | Astro 7, static output | Next.js 16, App Router and React Server Components |
| Content | Services and insights as Markdown files, lawyers, reviews and settings as JSON, all with a schema | Sanity Studio with documents for services, lawyers, reviews, insights, the firm’s settings and page copy |
| Demo content | In the repository | A seed script imports every service, lawyer, review and insight into your dataset |
| Publishing | Rebuild and deploy | Pages generated ahead of time and refreshed when you publish |
| Preview | pnpm dev | Drafts beside the form in the Studio |
| Forms | The call-me-back form posts to the address you set, or to an optional Cloudflare Worker that forwards it and fails closed without a destination | A Route Handler that forwards to your endpoint, fails closed without one and logs no field values |
| JavaScript | Small scripts: the menu on phones, the light/dark switch, the problem search, the lawyer finder, the search page and the costs calculator | The same small parts as client components; every page renders on the server |
| Lighthouse, mobile | 100 | 97–100 |
| Deploys to | Cloudflare Workers, Netlify, Vercel or any static host | Vercel, or Cloudflare Workers through OpenNext |
| Repository | themesdev/clause-astro | themesdev/clause-next |
What's inside
35 pages from 13 sections.
Each page is a short list of sections: the search, the figures, the situations, the lawyer finder, the steps, the costs, the reviews and the rest. A service is one file with its fees and questions, and a lawyer is one entry with their areas and offices, so the same lawyer shows on the finder, the service pages and their own page.
- Home
- A blue first screen with the problem search, the review score and the call-back promise; the firm’s figures, six situations with a fact each, the lawyer finder, four steps from first call to outcome, what it costs, reviews, insights and a call-back form.
- Legal services
- The areas by situation and by practice, with how many lawyers work in each. A page per area (eight in the demo): where you stand, the steps, a fee table, the lawyers, questions and a review.
- Find a lawyer
- A filter by name, area, office and language that works on a list of every lawyer, kept in the address. A page per lawyer (twelve in the demo) with their areas, offices and a direct line.
- Costs
- Fees by service, a no-win-no-fee calculator and hourly rates by grade, so a client sees what it costs before they call.
- Insights
- A list and four articles, each with a Markdown copy, BlogPosting structured data and the lawyer who wrote it.
- Search
- The page behind the problem search: services by situation and keyword, lawyers by name, area, office and language, and insights.
- About and contact
- The offices, the partners and the complaints procedure; a call-me-back form with a time promise; a sample privacy page, the thank-you page and a 404.
One look, light and dark.
Everything a section draws comes from the preset’s tokens: colours, type, space and corners. Clause is a white page set in Montserrat alone, with a deep teal ink and one blue. Change the tokens in one file and every page follows. Contrast is checked in both modes.

Checked, not promised
Accessible and fast, page by page.
These checks ran on every page of both editions, in light and dark, at desktop and phone widths.
- WCAG 2.2 AA
- Zero axe violations on all 35 pages, in light and dark, at desktop and phone widths, in both editions.
- Fast on a phone
- Lighthouse performance on mobile: 100 for the Astro edition and 97–100 for Next.js, on the home page, a service and the lawyers. Every photo is served at twice its drawn size for sharp screens and at its own size for the rest.
- Checked at 17 widths
- The main pages measured from 320 to 5120 pixels in both modes, and looked over by reviewers in four rounds: no sideways scrolling, no clipped text.
- A search that works without JavaScript
- The problem search is a plain form to the search page and the finder shows every lawyer when scripts are off. With them, suggestions appear as you type and a link to “family lawyers in Leeds” opens that list.
- Costs said up front
- Every service shows its fees in a table, the costs page has a no-win-no-fee calculator and hourly rates by grade, and each fee becomes an Offer in the structured data.
- Structured data for law firms
- The firm as a LegalService with its offices, every service as a Service with its Offers, lawyers as Person, insights as BlogPosting, plus FAQ and breadcrumbs. A sitemap, llms.txt and every insight as Markdown.
- Design rules, checked
- Colours only from the preset, images with alt text and a size: pnpm lint holds every page to it, yours included.
Delivery
A zip, or straight from GitHub.
Download both editions from your account, or connect GitHub and get read access to the private repositories. Each release is one tagged commit, so updating is a pull.
$ git clone git@github.com:themesdev/clause-next.git
$ cd clause-next && pnpm install
$ pnpm dev # the demo content, until you connect Sanity
$ pnpm seed # then import it into your own dataset- 01Buy a licensePay once. The license belongs to your organisation; owners and admins hand out the seats.
- 02Connect GitHubIn your account, sign in with GitHub once. We learn only your username, and invite it read-only to both repositories.
- 03Pull updatesUpdates are free for life. Access follows your license, and the zip stays in your account next to it.
Pay once. Both editions.
Unlimited projects, private, commercial and for clients, with every future update of both editions. Prices exclude VAT; we sell to businesses. License details
A small studio building sites for law firms: everyone gets their own seat.
Choose Team
A registered Dutch company, KvK 01129853. Questions before you buy? Ask me.
Paying
Through Mollie: card, Apple Pay, iDEAL, Bancontact or PayPal. A proper invoice for every order, with EU reverse charge.
Updates
Galley 2.0.0 came out on . 27 releases across our themes in the last 30 days, all free for buyers.
Track record
400+ teams and developers have bought from themes.dev since 2020. Their licenses now live in their accounts here.
What's new
Updates for both editions, free.
v1.0.0
Latest
The first build of Clause, for law firms that work for people.
Astro
- Home: the blue field with a photo, the review score and the problem search (live suggestions over services, lawyers and insights), the figures, six situations with a fact each, the lawyer finder, what happens when you get in touch, what it costs, client reviews with the lawyer who handled each, insights and the call-back band.
- Legal services: every area by situation and by name, and a page per area with where you stand, the four steps, the fee table, the lawyers, questions, a review and insights.
- Find a lawyer: a live filter by name or specialism, area and office, kept in the address; a page per lawyer with the direct line, the profile, details, reviews and colleagues.
- Costs: fixed fees by service, a no-win-no-fee calculator and hourly rates by grade.
Next.js + Sanity
- Every route of the Astro edition: home, legal services and a page per service, the lawyer finder and a page per lawyer, costs, insights and a page per insight (with its Markdown copy), about, the call-back page, search, privacy, the thank-you page and the 404; Open Graph images,
llms.txt,search-index.json, robots.txt and the sitemap. - The problem search with its live suggestions, the lawyer finder's filters (with the choice in the address), the search results and the no-win-no-fee calculator run the Astro edition's scripts on the markup the server draws.
- Sanity Studio: the Site and the page copy (one document each), legal services with fees, steps and questions, lawyers, reviews and insights. The Presentation tool and draft mode (redirects through the library's
safeRedirect). - The demo content in
seed/, written from the Astro edition's content (pnpm seedimports it); without a Sanity project the site reads it directly.
Questions
Do I get both editions?
Yes. Clause is one product: every license includes the Astro theme and the Next.js + Sanity edition, as a zip and as two private GitHub repositories. Use either or both in any project your license covers.
Which edition should I use?
The Astro edition if a developer keeps the site: services and insights are Markdown files and the output is plain static HTML on any host. The Next.js + Sanity edition if the firm’s own people add lawyers, services and articles: a form in the Studio with a live preview, and nobody touches code.
We are a notary, an accountancy practice or a commercial firm. Does it fit?
The demo is a consumer firm with injury, family and wills work, and the layout is built for that: situations, a fee table, a lawyer finder. A notary or an accountancy practice can rename the areas and the situations and keep the rest. A large commercial firm that sells by sector and deal would want a different home page.
Is the demo content legal advice, and what about regulation?
No. Penrose Hale is an invented firm and nothing in it is advice. The footer carries a placeholder where a real firm states its regulator, its registration number and its complaints procedure. Replacing it, and checking your fee and no-win-no-fee wording against your regulator’s rules, is the firm’s job.
What happens to the call-me-back form?
It is a plain form that works without JavaScript, with a hidden field that catches bots. In the Astro edition it posts to the address you set: a form service, your case system, or the optional Cloudflare Worker that forwards it. In the Next.js edition it posts to the site, which forwards the fields to the address you set; without one it accepts nothing. Neither edition stores what people send.
Do I need a paid Sanity plan?
No. Sanity’s free plan is enough for this theme. The README walks you through the project, tokens and the seed script.
How does the GitHub access work?
In your themes.dev account, connect your GitHub account once by signing in with GitHub. You then get a read-only invitation to themesdev/clause-astro and themesdev/clause-next. Every release is a tagged commit there. Access follows your license: a seat you lose or a refund ends it. The zip stays in your account either way.
Can I build sites for clients with it?
Yes, in unlimited projects. A site you build with Clause for a firm is theirs: they may own, host, edit and keep running it without a license of their own. They may not take Clause out of that site to build other sites.
Can I see it before buying?
Yes. The live demo is the Astro edition with every page, and the screenshots on this page show them in light and dark. Penrose Hale Solicitors and everything in it is invented: people, reviews, fees, figures, addresses and phone numbers. The photos are generated and show fictional people.
Do you charge VAT?
We sell to businesses. Dutch businesses pay 21% VAT; businesses elsewhere in the EU with a valid VAT number pay none (reverse charge); outside the EU there is no Dutch VAT. You get a proper invoice by email.
Is Clause an official Astro, Next.js or Sanity product?
No. Clause is made by themes.dev and builds on the open-source Astro, Next.js, Tailwind CSS and Sanity projects; it is not affiliated with them.
Put your firm on Clause.
From €49 for one person to €349 for your whole company. Both editions, pay once, lifetime updates.





















