Tutorial chapters
- 0:00 Introduction
- 0:17 The canvas: frames are divs and everything is React
- 1:20 Variables map to your Tailwind configuration
- 2:04 Edit CSS and classes in the code tab
- 2:34 Import a design system or full repository
- 3:53 Use components and props on the canvas
- 4:51 Compose screens with familiar shortcuts
- 5:39 Design with AI and Claude Code
- 7:25 Pull real screens from your codebase
- 8:11 Capture live UI with the Chrome extension
- 9:01 Build components developers can use
- 11:06 Tune creative components with custom controls
- 12:15 Edit a component and save it back
- 13:42 Build and share clickable prototypes
- 14:40 Use MCP, GitHub, and developer handoff
- 15:48 Preview localhost on the canvas
- 16:38 Wrap up
Introduction
Watch from 0:00 This walkthrough shows how Lunagraph fits into your design and development workflow. You will move from basic canvas editing to codebase imports, AI-assisted design, prototypes, and implementation.The canvas is made of React
Watch from 0:17 The canvas works like a familiar visual design tool. You can add frames, text, and other layers. The difference is that every layer is real code: a frame is adiv, and changes on the canvas update its React and CSS directly.
You do not export or translate the design into React later. You are editing the implementation while you design.
Variables map to Tailwind
Watch from 1:20 Lunagraph variables come from your CSS classes and Tailwind configuration. When you apply a variable such as a background color, Lunagraph adds the corresponding class to the element. This keeps the canvas aligned with the tokens and utilities you already use in code.Edit code directly
Watch from 2:04 Switch to the code tab when you want more control. You can edit CSS, add classes, and use autocomplete without leaving the canvas.Import from your codebase
Watch from 2:34 When you create a project, start blank, use a starter design system, or import from your codebase. You can choose between two import scopes:- Design system only: Import UI components, CSS, tokens, and Tailwind configuration. Use this for a larger application or monorepo when you only need its visual building blocks.
- Full repository: Connect the entire codebase. Use this for UI libraries or projects where you want to work with every file and push changes back to GitHub.
Use components and props
Watch from 3:53 Imported components appear in the Assets panel and on the canvas. Select a component to edit the props it exposes, such as a Button’svariant.
Props play a role similar to component properties and variants in Figma, but they come directly from the React component’s interface.

