Home
Hero, practice areas, process, results, fee models, team, articles and FAQ.
src/pages/index.astro 1 GitHub star = 1 new component. We’re at 0 stars — help us unlock the next one.
Law firm site with practice areas, team, fee models and consultation booking, plus a client portal with cases and timelines, documents with e-signature, secure messages, appointments and invoices.
Complete template for a law firm or professional services practice. 9 page types: home with a case-file hero, practice areas, process, results, fee models, team, articles and FAQ; interactive practice areas; team with area filter; free-consultation booking; plus client sign-in, a portal home (what needs your attention, appointments, invoices), a case explorer with timeline, a document vault with upload and e-signature, and secure messaging.
Every page is a real, interactive preview: links, forms and state work across pages.
Hero, practice areas, process, results, fee models, team, articles and FAQ.
src/pages/index.astro Interactive practice areas (?area= opens one), fee models and FAQ.
src/pages/areas.astro Book area, day, time and format, then confirm; pre-selects the area from ?area=.
src/pages/consulta.astro Split sign-in with scales illustration, testimonial and figures.
src/pages/acceso.astro Overview, what needs your attention, appointments and invoices.
src/pages/portal/index.astro Cases with status filter, progress, next step and timeline.
src/pages/portal/expedientes.astro npm install astro-component-kit npm install astro-component-kit src/pages/index.astro
---
import { LawHomePage } from 'astro-component-kit/templates/law-firm';
---
<LawHomePage /> ---
import { LawHomePage } from 'astro-component-kit/templates/law-firm';
---
<LawHomePage /> src/pages/areas.astro
---
import { LawAreasPage } from 'astro-component-kit/templates/law-firm';
---
<LawAreasPage /> ---
import { LawAreasPage } from 'astro-component-kit/templates/law-firm';
---
<LawAreasPage /> src/pages/equipo.astro
---
import { LawTeamPage } from 'astro-component-kit/templates/law-firm';
---
<LawTeamPage /> ---
import { LawTeamPage } from 'astro-component-kit/templates/law-firm';
---
<LawTeamPage /> src/pages/consulta.astro
---
import { LawConsultPage } from 'astro-component-kit/templates/law-firm';
---
<LawConsultPage action="/api/consulta" /> ---
import { LawConsultPage } from 'astro-component-kit/templates/law-firm';
---
<LawConsultPage action="/api/consulta" /> src/pages/acceso.astro
---
import { LawSignInPage } from 'astro-component-kit/templates/law-firm';
---
<LawSignInPage /> ---
import { LawSignInPage } from 'astro-component-kit/templates/law-firm';
---
<LawSignInPage /> src/pages/portal/index.astro
---
import { LawDashboardPage } from 'astro-component-kit/templates/law-firm';
---
<LawDashboardPage /> ---
import { LawDashboardPage } from 'astro-component-kit/templates/law-firm';
---
<LawDashboardPage /> src/pages/portal/expedientes.astro
---
import { LawCasesPage } from 'astro-component-kit/templates/law-firm';
---
<LawCasesPage /> ---
import { LawCasesPage } from 'astro-component-kit/templates/law-firm';
---
<LawCasesPage /> src/pages/portal/documentos.astro
---
import { LawDocumentsPage } from 'astro-component-kit/templates/law-firm';
---
<LawDocumentsPage /> ---
import { LawDocumentsPage } from 'astro-component-kit/templates/law-firm';
---
<LawDocumentsPage /> src/pages/portal/mensajes.astro
---
import { LawMessagesPage } from 'astro-component-kit/templates/law-firm';
---
<LawMessagesPage /> ---
import { LawMessagesPage } from 'astro-component-kit/templates/law-firm';
---
<LawMessagesPage /> Spread the demo store and replace what you need. Products accept a real image or one of 16 built-in illustrations.
---
// Pass your own data and routes to every page (e.g. from your case-management system)
import { LawHomePage, lawData, lawRoutes } from 'astro-component-kit/templates/law-firm';
const data = {
...lawData,
brand: { ...lawData.brand, name: 'Mora Abogados', phone: '+34 900 000 000' },
cases: await fetch('https://api.example.com/cases').then((r) => r.json()),
};
const routes = { ...lawRoutes, areas: '/practice', consult: '/book' };
---
<LawHomePage data={data} routes={routes} /> ---
// Pass your own data and routes to every page (e.g. from your case-management system)
import { LawHomePage, lawData, lawRoutes } from 'astro-component-kit/templates/law-firm';
const data = {
...lawData,
brand: { ...lawData.brand, name: 'Mora Abogados', phone: '+34 900 000 000' },
cases: await fetch('https://api.example.com/cases').then((r) => r.json()),
};
const routes = { ...lawRoutes, areas: '/practice', consult: '/book' };
---
<LawHomePage data={data} routes={routes} /> Full-width blocks of this template, available in Sections. Open any of them to see it on its own page with code.
Law firm hero with a serif headline, free-consultation and areas CTAs, direct phone line, key figures and a "case file" card that shows how clients follow their case.
Practice areas as accessible tabs: pick an area and read its summary, typical matters and a consultation link. Opens the area from ?area=.
Lawyers team with initials portraits, role, years of practice, languages and bio, with an optional filter by practice area.
"How we work" in numbered steps along a vertical line with large serif numerals.
Track record: a row of result figures and client testimonials with the matter type and outcome as a chip.
Transparent fee models side by side (fixed fee, success fee, monthly retainer) with price, explanation and the matters each suits best.
Free consultation booking: choose area, one of the next business days, a time slot and format, then leave your details. Includes a confirmation summary.
Legal articles as three cards with area, date, reading time, title and excerpt; the first one is featured.
Law firm footer with a consultation call-to-action band, link columns, contact and the bar-association and professional-secrecy legal block.
Built for this template and available on their own in the library.
Portal home overview: active cases, next appointment, documents awaiting signature and pending balance, plus a "needs your attention" list with links to act.
Case browser: list with status filters and, for the selected case, lawyer, progress bar, highlighted next step and a vertical timeline of done and upcoming milestones.
Client document vault with search, type and case filters, a table of files, electronic-signature action and an upload area that accepts click or drag & drop.
Secure messaging with your lawyer: conversation log grouped by day with firm and client bubbles and a composer (Enter sends, Shift+Enter adds a line).
Upcoming appointments with date block, place or video link and lawyer, a month calendar with marked days and an add-to-calendar .ics download.
Fees and invoices: pending balance, list with concept, due date, amount and status, and a pay button that marks invoices as paid and updates the balance (demo).
Client-portal navigation: vertical rail with brand and case-progress meter on desktop, fixed bottom tab bar on phones. No JavaScript.
Client-portal top bar with today’s date, a secure-connection chip, theme toggle, notifications and user menu (native popovers).
Page heading for the client portal with kicker, description, back link and action buttons.
Split sign-in with a scales illustration, testimonial, figures, password show/hide and a demo quick-access link.
Existing components the template is assembled from.