OTFotf
All posts
General

AI + Design Systems (New York State)

5 min
AI + Design Systems (New York State)

A real-world case study of AI meeting design systems at scale — lessons from government digital services on governance, consistency, and AI-assisted component development.

The Challenge at Scale

Government design systems face a unique challenge: they must serve dozens of agencies, hundreds of applications, and millions of citizens — all while maintaining strict accessibility compliance and visual consistency.

New York State's digital team has been exploring how AI tools can accelerate design system adoption without sacrificing the governance that makes government design systems trustworthy.

The core tension: AI coding tools make it easy to generate components, but generated components often drift from design system specifications. Without guardrails, AI-assisted development can actually increase inconsistency rather than reduce it.

Where AI Meets Design Systems

Component Generation from Specs

AI tools can generate new components from design system specifications. When the design tokens, spacing rules, and accessibility requirements are clearly documented, AI produces components that conform to the system — faster than hand-coding.

Automated Compliance Checking

AI reviews generated code against design system rules: correct token usage, WCAG compliance, responsive behavior, and naming conventions. This catches drift before it reaches production.

Documentation Generation

When new components are created, AI generates usage documentation, prop descriptions, and accessibility notes. Documentation stays current because it's generated from the source code, not maintained separately.

Pattern Recognition Across Agencies

AI analyzes component usage across multiple agency applications to identify common patterns, redundancies, and opportunities for shared components. This data-driven approach replaces manual auditing.

Governance with AI Assistance

The most interesting insight from the New York State experience: AI doesn't replace governance — it makes governance scalable.

Traditionally, design system governance means manual reviews, style guides that nobody reads, and enforcement through social pressure. AI tools enable automated enforcement:

- Linting rules that check for design system token usage at build time
- AI-powered PR reviews that flag deviations from established patterns
- Automated migration tools that update legacy components when design tokens change

The human governance role shifts from enforcement to strategy: deciding which patterns should exist, how the system should evolve, and when exceptions are warranted.

Practical Takeaways

Document Tokens Before Adding AI

AI tools are only as good as the specifications they work from. Before introducing AI-assisted development, ensure your design tokens, spacing scale, and component APIs are thoroughly documented.

Use AI as a Compliance Layer

The highest-value AI application in design systems isn't generation — it's verification. AI that checks existing code against design system rules catches more issues than AI that generates new code.

Start with One Agency, Scale Gradually

Don't roll out AI-assisted design system development across all agencies simultaneously. Start with one, learn from the friction points, and refine the process before scaling.

More resources

On this page