OODS Foundry — Object-Oriented Design System

OODS Foundry turns UI development into trait composition. Instead of hand-coding components, teams assemble objects from reusable capabilities, backed by strict token guardrails, OKLCH color policy, and automated evidence that keeps accessibility and governance in lockstep.

OODS Foundry component library and token architecture

TL;DR

Why Traditional Systems Break Down

Trait-Based Composition

OODS Foundry treats UI as objects composed from traits—statusable, monetary, timestamped, lifecycle-aware—assembled through YAML definitions.

object: Subscription
version: 2.0.0
traits:
  - name: statusable
    parameters:
      states: [incomplete, trialing, active, past_due, canceled, unpaid]
  - name: timestamped
    parameters:
      recordedEvents: [created, renewed, canceled, payment_failed]
  - name: monetary
    parameters:
      currency: usd
  - name: lifecycle
    alias: SubscriptionLifecycle
    parameters:
      initialState: incomplete
      transitions:
        - from: incomplete
          to: [active, canceled]
        - from: active
          to: [past_due, canceled]

That single declaration produces TypeScript definitions, lifecycle validation, status badges, timestamp formatting, monetary display, context-specific layouts, accessibility wiring, and Storybook documentation—without writing React.

The TraitCompositor Engine

The TraitCompositor merges traits through a five-layer cascade (Foundation → Base Object → Traits → Overrides → Context) with provenance tracking for every field.

Token Architecture & Context System

Guardrails keep components brand-agnostic and context-aware.

┌─────────────────────────────────────┐
│  --mod-*   (runtime modifiers)      │  hover, focus, disabled
├─────────────────────────────────────┤
│  --cmp-*   (component slots)        │  what components consume
├─────────────────────────────────────┤
│  --theme-* (brand & theme layer)    │  light/dark, brand overlays
├─────────────────────────────────────┤
│  --ref-*   (reference palette)      │  OKLCH base colors
└─────────────────────────────────────┘

Model Context Protocol (MCP) Integration

OODS Foundry exposes design system operations through MCP so agents can participate safely.

By the Numbers

Real-World Impact

Lessons Learned

What’s Next

Resources

← Back to case studies View repository