What is UDML?
A universal design language for the AI era β built in public, by the community
UDML (Universal Design Markup Language) is an open, semantic design language that describes user interfaces in a way that AI developer agents β like Cursor, Copilot, or Claude β can turn into fully functional applications across platforms and frameworks.
Unlike static design files, UDML is inherently semantic and machine-readable by default. But more importantly, it's meant to evolve with your input.
π‘ Let's see it!
Here's a Figma design based on Airbnb:
Here's how it looks in UDML:
And here's the AI-generated code:
This was all generated in Claude 3.7 with a single prompt from the UDML above, except the image URLs which I pasted in.
π‘ Why UDML?
The way we design and build interfaces is changing β fast.
Design tools like Figma are visual, but not semantic.
AI tools are smart, but need structure and context to generate production-grade code.
Developers and designers still rely on handoff, rewrites, and tribal knowledge to ship UI.
UDML changes that by creating a shared language between humans and machines β one that describes intent, not just pixels.
π€ Made to Be a Community Standard
UDML isnβt just a spec β itβs a conversation.
Weβre building this in the open, and we need your help:
π Suggest improvements to the language and naming
π§© Propose new components, behaviors, or interaction patterns
π Share ideas for tooling, integrations, and real-world use
If you've ever wanted a better way to design for machines and people β you're in the right place.
Join the Discussions, open an Issue, or jump into a Pull Request. Weβd love to hear from you.
π Quick Overview
β
What UDML Is:
XML-based and easy to parse
Describes structure, style, behavior, and intent
Designed for AI agents to generate UI across any environment
Modular, extensible, and reusable
π« What Itβs Not:
A rendering engine
A replacement for Figma or code
A locked spec β weβre building this together
π§ Core Concepts
1. Semantic UI
Everything in UDML maps to a real UI concept β not just a shape or layer.
2. AI-Oriented
You can embed plain language instructions to help AI understand the why behind your design.
3. Modular & Reusable
Use components, tokens, and imports to scale across teams and projects.
4. Open & Extensible
UDML can grow with your needs β define your own tokens, screens, and even new elements.
π UDML Structure
π Roadmap
We're actively working on:
β Spec v0.1 (draft component definitions)
π Schema definition (XSD/JSON Schema)
π§ CLI for validation and conversion
π§© Figma exporter (WIP)
π Public docs (via GitBook)
π± A growing, open-source community
πͺͺ License
Open-source and free to use. Final license pending.
Want to shape the future of how humans and AI build software together?
π Start here
Last updated

