Part 1: Learn the canvas
Chapters
- 0:07 Tour the Lunagraph interface
- 0:19 Inspect the code for your selection
- 0:42 Find assets and connect coding agents
- 1:13 Edit the canvas and code together
- 1:34 Use your CSS variables and classes
- 2:32 Design with components and props
- 3:06 Design with an AI coding agent
Tour the interface
Watch from 0:07 The Lunagraph interface should feel familiar if you have used Figma. Use the left sidebar to navigate pages, inspect layers, browse assets, and work with agents. Use the right sidebar to style your selection. The code panel shows the React code for your current canvas selection. Select a specific element to focus on its components and Tailwind classes.Edit the canvas and code together
Watch from 1:13 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.
Use your CSS variables and classes
Watch from 1:34 Lunagraph variables come from the global CSS file in your project. You can bring in the Tailwind theme and CSS classes from your codebase, then apply them from the styling panel. When you choose a variable such asbg-background or rounded-xl, Lunagraph adds the corresponding class to the element.
This keeps the canvas aligned with the tokens and utilities you already use in code.
Use components and props
Watch from 2:32 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.
Design with an AI coding agent
Watch from 3:06 Connect an AI coding agent from your terminal and use your own subscription, skills, and MCP servers. Give the agent access to a local folder when it needs more context from your codebase. Ask the agent to design with the components and CSS classes in your project. Follow its work on the canvas, refine the result by hand, or press Cmd + L to reference a selection in your next prompt.Part 2: Connect your codebase
Chapters
- 0:00 Keep designs consistent with your codebase
- 0:16 Design with the chat panel or MCP
- 0:42 Give an agent access to your local codebase
- 1:07 Import your design system
- 1:41 Find imported colors, icons, and components
- 2:12 Work with component props
- 2:43 Design with your imported system
Design with agents
Watch from 0:16 Use the chat panel to design with Claude Code from your terminal and your own subscription. You can use your installed skills and MCP connections in the chat. You can also connect Lunagraph’s MCP to another coding tool. Your agent can design on the canvas while the Lunagraph desktop app is open.Connect and import your codebase
Watch from 0:42 Add a local folder to give the chat access to your codebase. The agent can then read from and write to both your codebase and the canvas. Open the Assets panel and choose Import design system to bring in your CSS configuration and React components. Lunagraph provides a skill that helps the agent find and import the relevant files. Learn more in Bring in your codebase.Design with your system
Watch from 1:41 Find imported colors, icons, and components in the Assets panel. Component instances appear in purple on the canvas. Select an instance to edit its React props, such as a Button’svariant.
Combine these assets with familiar canvas controls to design with the same system you use in production. Hold Option and drag to duplicate an element. Every change remains available as code.
Part 3: Explore more workflows
Chapters
- 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

