A legal AI landing page template for 2027, on pleading paper

How our legal AI landing page template is built: pleading paper as the page's texture, a product dashboard in the hero, workflows as exhibits in a binder, and a closing worded as a clause.

7 min read

The real component. Click the picture to open it live and try it before you read how it was built.

Lawyers distrust anything that looks like a toy. This template is calm, light and exact, and uses the profession's own paper as its texture: ruled pleading paper with line numbers in the margin.

The product at full density

The hero shows the review dashboard on an ordinary busy day: the sidebar, a breadcrumb and search, KPIs, a chart, the queue and the assistant. No floating cards, just the product as it looks.

src/registry/landing-pages/quill/dash-window.tsx

import type { ReactNode } from "react";
import { HelpCircle, Search } from "lucide-react";
import { AskPanel } from "./ask-panel";
import { DashSidebar } from "./dash-sidebar";
import { KpiCards } from "./kpi-cards";
import { QueueTable } from "./queue-table";
import type { QuillApp } from "./types";
import { VolumeChart } from "./volume-chart";

interface DashWindowProps {
  app: QuillApp;
  logo: ReactNode;
}

// The product in the hero: Quill's review dashboard on an ordinary, busy day. The sidebar, a top bar with the
// breadcrumb and search, the page with its KPIs, chart and queue, and the assistant on the right. The sidebar
// folds away below laptop width, the assistant below desktop.
export function DashWindow({ app, logo }: DashWindowProps) {
  const { page } = app;
  return (
    <div className="flex overflow-hidden rounded-2xl border border-zinc-300 bg-white text-left shadow-2xl shadow-zinc-950/15">
      <DashSidebar sidebar={app.sidebar} logo={logo} />
      <div className="min-w-0 flex-1">
        <div className="flex h-11 items-center gap-3 border-b border-zinc-200 px-4 text-xs">
          <p className="flex gap-1.5 text-zinc-500">
            {app.breadcrumb.map((crumb, index) => (
              <span
                key={crumb}
                className={index === app.breadcrumb.length - 1 ? "font-medium text-zinc-900" : undefined}
              >
                {index > 0 && <span className="mr-1.5 text-zinc-300">/</span>}
                {crumb}
              </span>
            ))}
          </p>
          <span className="ml-auto hidden h-7 w-48 items-center gap-2 rounded-md bg-zinc-100 px-2 text-zinc-400 md:flex">
            <Search className="size-3.5" aria-hidden />
            {app.searchHint}
            <kbd className="ml-auto font-sans">⌘K</kbd>
          </span>
          <span className="ml-auto flex items-center gap-1.5 text-zinc-600 md:ml-0">
            <HelpCircle className="size-3.5" aria-hidden />
            {app.helpLabel}
          </span>
        </div>
        <div className="flex flex-col gap-3 p-4">
          <div className="flex items-start justify-between gap-3">
            <div>
              <p className="flex items-center gap-2">
                <span className="text-lg font-semibold tracking-tight text-zinc-950">{page.title}</span>
                <span className="rounded-md bg-zinc-100 px-1.5 py-0.5 text-xs text-zinc-600">{page.tag}</span>
              </p>
              <p className="text-xs text-zinc-500">{page.subtitle}</p>
            </div>
            <span className="rounded-lg border border-zinc-200 px-2.5 py-1 text-xs font-medium text-zinc-700">
              {page.editLabel}
            </span>
          </div>
          <KpiCards kpis={app.kpis} />
          <VolumeChart chart={app.chart} />
          <QueueTable table={app.table} />
        </div>
      </div>
      <AskPanel agent={app.agent} />
    </div>
  );
}
The dashboard in the hero

Workflows as exhibits

Workflows are a binder of exhibits: tabs on the left (EX. A, EX. B) and the open exhibit on ruled paper on the right, with a working piece of the product in a card.

src/registry/landing-pages/quill/exhibit-workflows.tsx

"use client";

import { useState, type ComponentType } from "react";
import { AnimatePresence, motion } from "motion/react";
import { EASE_OUT } from "@/lib/motion";
import { cn } from "@/lib/utils";
import { PlaybookTable, SuggestionFragment } from "./feature-fragments";
import { IntakeFragment } from "./intake-fragment";
import { QuillSection } from "./quill-section";
import type { FeatureSamples, QuillContent, Workflow } from "./types";
import { WordFragment } from "./word-fragment";

const FRAGMENTS: Record<Workflow["visual"], ComponentType<{ samples: FeatureSamples }>> = {
  intake: IntakeFragment,
  playbook: PlaybookTable,
  explain: SuggestionFragment,
  word: WordFragment,
};

const SWAP = { duration: 0.35, ease: EASE_OUT };

function ExhibitFragment({ visual, samples }: { visual: keyof typeof FRAGMENTS; samples: FeatureSamples }) {
  const Fragment = FRAGMENTS[visual];
  return <Fragment samples={samples} />;
}

// The workflows as a binder of exhibits: a tabbed list on the left (EX. A, EX. B…), and on the right the chosen
// exhibit on ruled paper, its working piece of the product in a card. The open exhibit shows its description.
export function ExhibitWorkflows({ workflows }: { workflows: QuillContent["workflows"] }) {
  const [activeIndex, setActiveIndex] = useState(0);
  const active = workflows.items[activeIndex];
  return (
    <QuillSection id="workflows" kicker={workflows.kicker} title={workflows.title} description={workflows.description}>
      <div className="grid overflow-hidden rounded-3xl border border-zinc-200 lg:grid-cols-12">
        <ul className="flex flex-col gap-1 border-b border-zinc-200 p-3 lg:col-span-4 lg:border-r lg:border-b-0">
          {workflows.items.map((item, index) => {
            const isActive = index === activeIndex;
            return (
              <li key={item.code}>
                <button
                  type="button"
                  onClick={() => setActiveIndex(index)}
                  aria-pressed={isActive}
                  className={cn(
                    "flex w-full gap-3 rounded-xl p-3 text-left transition-colors outline-none focus-visible:ring-3 focus-visible:ring-ultramarine-500/40",
                    isActive ? "bg-zinc-100" : "hover:bg-zinc-50",
                  )}
                >
                  <span className="h-fit shrink-0 rounded-md border border-zinc-300 bg-white px-1.5 py-0.5 font-courier text-xs font-bold text-zinc-600">
                    {item.code}
                  </span>
                  <span>
                    <span className="block text-sm font-medium text-zinc-950">{item.title}</span>
                    {isActive && (
                      <span className="mt-1 block text-sm text-pretty text-zinc-600">{item.description}</span>
                    )}
                  </span>
                </button>
              </li>
            );
          })}
        </ul>
        <div className="relative bg-white bg-pleading p-6 sm:p-10 lg:col-span-8">
          <span aria-hidden className="absolute inset-y-0 left-3 w-px bg-red-400/40" />
          <span aria-hidden className="absolute inset-y-0 left-4 w-px bg-red-400/40" />
          <AnimatePresence mode="wait" initial={false}>
            <motion.div
              key={active.code}
              initial={{ opacity: 0, y: 8 }}
              animate={{ opacity: 1, y: 0 }}
              exit={{ opacity: 0, y: -6 }}
              transition={SWAP}
            >
              <p className="font-courier text-xs font-bold text-zinc-500 uppercase">Exhibit {active.code.slice(-1)}</p>
              <h3 className="mt-3 text-2xl leading-10 font-medium tracking-tight text-zinc-950 sm:text-3xl">
                {active.title}
              </h3>
              <div className="mt-6 overflow-hidden rounded-2xl border border-zinc-200 bg-white shadow-xl shadow-zinc-950/10">
                <ExhibitFragment visual={active.visual} samples={workflows.samples} />
              </div>
            </motion.div>
          </AnimatePresence>
        </div>
      </div>
    </QuillSection>
  );
}
The exhibit binder

Ask it a question

An assistant panel asks its first question by itself shortly after it scrolls into view, and writes the answer word by word, so it is never sitting idle. With reduced motion the answer appears at once.

A closing in the right voice

The final call to action is worded like the operative clause of an agreement, "NOW, THEREFORE, the parties agree", centred on the ruled lines.

More articles