UX CASE STUDY · LEGAL TECH · May to July 2026

People sign contracts they don't understand. This one reads it back, with the law attached.

ClauseGuard checks rental and employment contracts against BC and Ontario law. Every flagged clause carries the statute, what it could cost you in dollars, and one sentence you can send to push back. A UX case study that became a working product.

$1,500Ontario damage deposit the lease charges, which the law doesn't allow
~$15,400 / yrBC overtime the employment contract tries to waive
46 / 46flagged clauses pinned to the exact contract text
4 of 4province and contract combos, each with its own real dataset
Role
Solo designer and developer, 18 logged decisions
Timeline
May to July 2026
Stack
Next.js 16 · React 19 · Claude
Constraint
Educational, not legal advice
WALKTHROUGH003

See It Run

Forty-five seconds, no sound. One demo lease from paste to report.

VID. 01One demo lease followed from paste to report: the no-pets clause is flagged red, explained with the statute and a push-back line, then lands as finding one in the printable report. Every screen is a real capture of the demo build.
PROBLEM → SOLUTION004

The Problem vs. The Solution

Most people in Canada sign rental and employment contracts without knowing which clauses hold up. The other side wrote it, you have a day to sign it, and no way to tell which parts would survive a dispute.

BEFORE004.A

Signing blind

P-01
Unenforceable terms get signed anywayNo-pet clauses void under the BC RTA. Overtime waivers the ESA does not allow. Nothing flags them at signing time.
P-02
The law lives somewhere elseGovernment resources are real but generic. None point at clause 7 of your lease.
P-03
Advice costs more than the depositA lawyer review can cost more than the damage deposit the clause is about. So most people skip it.
AFTER004.B

The document becomes the interface

S-01
Traffic-light analysis with receiptsGreen, amber or red per clause. Every red flag cites the Act, the section, and links the official source.
S-02
One answer first, then the detailA health score and a summary at the top. Five tabs carry you from analysis to rights, filing, help and a checklist.
S-03
Stakes and a scriptEach flagged clause states its cost, in dollars where that is honest, and offers one sentence you could actually send.
OLD vs NEW WORKFLOW005

The Same Lease, Both Ways

What a renter does with a lease today, against the same lease run through ClauseGuard.

OLD WORKFLOW · LAWYER FEE, OR A GUESS005.A
  1. 01Get the contract, a day to sign
  2. 02Read it alone
  3. 03Search for the law that applies
  4. 04Land on a generic guide
  5. 05Price a lawyer review
  6. 06Skip it, sign and hope
NEW WORKFLOW · FREE, CLAUSE BY CLAUSE005.B
  1. 01Pick province and contract type
  2. 02Run the analysis
  3. 03Read the health score
  4. 04Open a flagged clause on the document
  5. 05Copy the push-back line, or sign knowing
LAWYER FEE, OR A GUESS → FREE, CLAUSE BY CLAUSE

The full path, after

Two dropdowns in, one answer out, then the detail on the document itself. The reader leaves with one of three moves: sign, send the push-back line, or file with the deadline in hand.

FIG. 02The journey, drawn in FigJam. Demo and live share one path after the mode fork.
KEY DECISIONS006

Key Design Decisions

Five calls from the 18-file log shaped the product most. Each is dated, with the rejected options written down.

DEC-01 Demo mode covers all four combos A disclosure next to a lie is still a lie, just a labelled one. What happened

Two sample datasets shipped first; ask for BC employment and you silently got the wrong one. The fix was authoring the two missing datasets, not a banner explaining the swap.

DEC-02 The input stopped pretending Selection is the input, so the UI says so. What happened

The paste box never drove anything; the dropdowns did. It is read-only now and previews the exact sample your selection loads. The one working action is the biggest thing on the page.

DEC-03 The contract became the interface The document is the thing people are anxious about. The analysis only makes sense on it. What happened

The results screen used to discard the contract after analyzing it. Now the Analysis tab is a split pane: contract left, tinted by severity, findings right, a rail between them, and detail opening in place.

DEC-04 Stakes in dollars, then a script A sentence you could send beats a paragraph of advice. What happened

What’s at Stake names the consequence per clause, in dollars only where the contract itself supplies the figure. If You Want to Push Back is one copyable sentence citing the section.

DEC-05 Anchoring is exact-string matching The severity rail only earns trust if it never points at the wrong paragraph. What happened

Every flagged clause locates itself verbatim in the document pane; all 46 anchor, checked before build. A clause that failed would render unhighlighted, never mis-pointed.

BEFORE / AFTER007

One missing viewport meta tag

The whole mobile @media block was dead until decision 007 added the viewport meta. Drag to compare 390px before and after.

After
Before
LIVE PROTOTYPE009

Try it

The production build, embedded. Pick a province and contract type, run the example, hover the findings and watch the document answer back.

clauseguard-eosin-ten.vercel.app clauseguard-eosin-ten.vercel.app ↗
REFLECTION010
The demo stopped pretending, and the product got more convincing

The most useful review note on this project came from watching the demo lie. The paste box implied it read your contract. It never did. Fixing that meant deleting an affordance people liked, then authoring two whole datasets so no selection could return the wrong answer. That work shows up nowhere on a feature list. It shows up everywhere in how the product feels. An honest demo of a small thing beats a staged demo of a big one.

Under the hood

The engineering detail: architecture, the accessibility audit and the design process. Closed until you want it.

How it worksInformation architecture, the analysis pipeline, states and the document map.1 min read · 4 figures
UNDER THE HOOD011

Inner Workings

What is on the page, how two dropdowns become a report, how a finding stays glued to its clause, and the states the app and each clause move through.

FIG. 13Information architecture. One page, one column per screen.1 / 4
Accessibility audit and the aesthetic passWhat a six-pillar audit found, and one pass that re-dressed the layout.1 min read · 2 figures
STANDARDS ALIGNMENT012

Audited, Then Dressed

A six-pillar UI audit ran against the working build with a Playwright walker, then one craft pass re-skinned the layout without moving it.

SIX-PILLAR AUDIT012.A

Fixed at the root, not bannered over

All four combos, five tabs each, mobile, clause detail, every external link. Zero console errors. What it found got fixed and logged.

B1fixed
Clause cards were mouse-only

The core action was a div with an onClick. Keyboard and screen-reader users could not open any clause. Now real buttons.

B2fixed
Demo silently overrode your selection

The data-integrity blocker that started the honesty thread. Resolved by authoring all four datasets.

M1fixed
Five trusted-resource links were dead

The 404s were replaced; the remaining 403s were re-probed in real Chromium and confirmed as anti-bot blocks.

All four combos re-verified on desktop and mobile before anything shipped.
SOLICITOR'S DESK012.B

One pass, no layout changes

Stock skin.
Solicitor's desk.
T-01type
The document pane reads like a document

Newsreader, an optical-size serif, for headings and the contract text. Public Sans for UI. Mono only on spec labels.

T-02access
Accessibility is not aesthetic budget

Focus rings stay loud and the navbar carries an A- A A+ text-size control, for the person reading a contract at 11pm.

The entry screen carries the whole gesture: a document sheet takes its red and amber strokes, the wordmark sets, the file opens. Once per session, skipped for reduced motion.
Design processMoodboard, audit and skin, with the four phases.1 min read · 8 figures
DESIGN PROCESS013

Design Process

The decision log is the process. Moodboard first, then the build, then an audit that found the blockers, then one aesthetic pass that dressed the layout it had earned.

01
DISCOVER
  • ▸Blind signing framed as the problem; scope cut to BC and Ontario, rental and employment; educational, never legal advice.
02
DEFINE
  • ▸Traffic-light tiers, amber for warnings, red only for unenforceable; every red flag cites the Act.
03
DESIGN
  • ▸Gauge and summary lead; the document map; stakes and push-back lines.
04
VERIFY
  • ▸Six-pillar audit, blockers fixed at the root, four combos re-verified.
FIG. 17Discover: the palette that stayed. Cream, teal and amber.1 / 8
Available for Work

Let's build something impactful.

I'm currently open to new opportunities in UX/UI Design, Product Design, and GovTech transformation roles.