Back to Overview
START HEREAvailable

Create your first UXDL in 10 minutes

A fast hands-on walkthrough to model your first user interaction graph using the UXDL visual canvas or structured document editor.


Hands-on Overview

This quick start optimizes for first value: taking a high-level feature concept and turning it into a valid 3-screen UXDL contract that can be handed to Engineering or an AI coding agent.

8-Step Quick Start

  • 1. Open the editor at uxdl.dev/editor.
  • 2. Select 'New Blank Canvas' or import a UXDL YAML artifact.
  • 3. Add 3 core Screens: sign_in, dashboard, and billing.
  • 4. Add meaningful States to each screen (e.g. default, error, past_due).
  • 5. Add interactive Actions to screens (e.g. submit, retry_payment).
  • 6. Drag Relation arrows to connect action outcomes to target screens and states.
  • 7. Review validation findings in the sidebar to ensure zero dead-ends or unhandled errors.
  • 8. Copy stable UXDL addresses or export canonical YAML.

10-Minute Starter Spec

You can paste this complete starter specification directly into the UXDL Source View to see it render on the visual Canvas:

YAML
uxdl: "0.1"
app: E-Commerce Store
title: Checkout & Payment Recovery
actors:
customer:
name: Workspace Owner
type: human
screens:
checkout:
name: Order Checkout
type: page
states:
default: Ready for payment card entry
payment_failed: Card declined by gateway
actions:
submit_payment:
name: Submit Payment
actor: customer
relations:
success:
to: order_summary
failed:
to: checkout
state: payment_failed
order_summary:
name: Order Confirmation
type: page
states:
confirmed: Receipt issued
slices:
checkout_recovery:
name: Retry Declined Card Flow
type: story
actor: customer
screens: [checkout, order_summary]
acceptance:
- Customer can resubmit payment from payment_failed state.
- Successful payment transitions user to order_summary in confirmed state.

Current Capabilities

UXDL clearly distinguishes available features from roadmap items:

YAML
Available today:
- Start from blank Canvas
- Author in structured Document View
- Import UXDL 0.1 YAML file
- Contextual linter checks (dead-end states, state coverage)
- Export canonical single-file YAML & JSON graph
In development:
- Natural-language intent generation
- PRD & Notion requirement importer