PP
← All work

Insurance UI

Config-driven insurance UI

A configuration-driven UI that adjusts forms, validations, and disclosures from regulatory documents, not code releases.

Client
US health insurance product, California launch
Role
Frontend lead
Timeline
2.5 months
Team
1 FE, 1 BE, 1 PM

Problem

The insurance product team was rolling out in California. Regulations differ per state and the existing product had state-specific logic hardcoded. Every new state took an engineering release and a regression cycle.

I built a configuration-driven UI layer where forms, validations, eligibility rules, and disclosure copy all render from a JSON schema authored by product and compliance from the regulatory documents themselves. Adding a new state became a config commit and a copy review, not a code release.

Constraints

  • California regulations met exactly.
  • Future state launches ship without re-touching the React tree.
  • Disclosure copy reviewable in a non-code format.

Decisions

Chose

JSON Schema as source of truth

Considered

TypeScript-typed config or a custom DSL

Why

JSON Schema is reviewable by non-engineers and has tooling. A custom DSL would have been a new dialect to teach compliance.

Chose

Render forms dynamically from the schema

Considered

Per-state templates with overrides

Why

Templates drift. One schema renderer kept the surface consistent and made compliance review tractable.

Chose

Disclosure copy in the schema, not i18n files

Considered

Standard i18n pipeline

Why

Disclosures are not translations. Living in the schema kept compliance review a single document, not two.

Outcomes

  • California rollout shipped on time.
  • Subsequent state expansions ship as config-only commits.
  • Compliance review cycle cut from weeks to days.

What I would do differently

  • Build a config preview tool earlier so non-engineers can iterate without pulling a dev.

Stack

ReactTypeScriptJSON SchemaDynamic form renderingValidation

Next case study

Chai Edition

A cinematic digital magazine that turns Indian chai culture into a scroll-driven editorial experience.