Design on the Canvas
Use Canvas to decide hierarchy, states, and responsive behavior before expensive implementation work hardens the wrong idea.
By the end
A reviewed visual direction covering the critical workflow, non-happy states, and mobile behavior, ready to become a working artifact.
Canvas is a decision surface
Canvas holds two different kinds of frames. An Artifact frame is app-backed and live: its header is labeled with an output type such as Website or Slides, and it reflects the running artifact. A Design frame is a visual mockup labeled Design. Read that header before drawing conclusions. A Design frame is safe to explore without proving behavior; an Artifact frame can exercise current development code and data. Neither proves the published production release.
Start from the critical job rather than the home page. Design the moment the user arrives, the decision they make, the action they take, and the proof they receive. A product is not a poster; every prominent visual element should help the journey or intentionally establish trust.
Operate frames from Generate to Build
Open Canvas with the Canvas button at the top-left of Preview. Generate can create a new frame from a prompt. To explore an app that already exists, select its Artifact frame and choose Reimagine: Replit creates side-by-side Design variants while leaving the source Artifact unchanged. Select the specific Design you want to improve, then type into the inline Refine input beneath it. Refine changes that selected frame in place, so duplicate the frame first when the earlier version must remain available for comparison.
Use the Canvas toolbar to draw, circle, connect, or annotate evidence directly on the board, then prompt from that visual context. Request explicit mobile, tablet, or desktop versions when the hierarchy must be evaluated at different sizes. When one Design is accepted, select it and choose Build…. Choose an existing Artifact to apply the design to that app, or choose Build this design to create a new Artifact on a Core or Pro plan. Return to the Artifact or Preview and test the workflow because building a design does not prove data, permissions, or behavior.
- Generate: create a new Design or media frame from a prompt.
- Reimagine: create side-by-side Design variants from a selected Artifact or Design while preserving the source.
- Refine: edit the selected frame in place with the inline prompt beneath it; duplicate first when comparison matters.
- Annotate: use the toolbar's shapes, arrows, drawings, and notes to point at evidence.
- Build: use Build… on the accepted Design, then target an existing Artifact or create a new one with Build this design on Core or Pro.
Design information before decoration
Write the content hierarchy in plain text first: page purpose, primary action, required evidence, secondary controls, and contextual help. Then establish visual hierarchy with type, spacing, grouping, contrast, and position. Color should reinforce meaning rather than carry meaning alone.
Use realistic copy and data lengths. A card designed around 'Acme' may break when an actual organization name is forty characters. A clean empty mockup says little about a dense operational list. Design with the hardest plausible content that still belongs in the first version.
Draw states, not only screens
For each important view, create frames or annotations for empty, loading, success, partial data, invalid input, unauthorized access, and failure. State design answers what the user sees while work is happening and what they can do when it cannot complete.
Include confirmation and history. If an approval changes data or triggers an external action, the interface should show the new state, actor, timestamp, and next available action. A transient toast is rarely enough evidence for consequential work.
Design responsive priorities
Responsive design is not shrinking a desktop canvas. Decide what remains visible on narrow screens, what stacks, what can collapse, and what requires a dedicated detail view. Tables often become cards or a horizontally constrained region; multi-column control surfaces usually become an ordered single column.
Test at content-driven breakpoints rather than targeting only a device brand. Preserve tap target size, readable line length, focus visibility, and error association. If a capability truly requires a larger screen, say so in the product rather than letting it fail silently.
Handoff design as behavior
When the visual direction is approved, give Agent the frames plus a behavior contract. Describe what each control does, which data it displays, who can use it, and how it responds in each state. A screenshot can communicate appearance; it cannot fully communicate permissions or side effects.
Select the accepted Design and use Build… to choose the existing Artifact that should receive it; on Core or Pro, use Build this design only when the Design should become a separate new Artifact. Then compare the working Artifact to the accepted frame and behavior contract. Use the Visual Editor for deterministic copy and spacing changes, but send data, interaction, or hidden-complexity changes through a scoped implementation prompt with tests.
When the happy path breaks
Failure modes
Symptom
The Canvas looks beautiful, but the main workflow requires many hidden or confusing actions.
Likely cause
The design optimized a static composition instead of the user's sequence and state changes.
Recovery
Storyboard the critical journey frame by frame and label action, result, state, and recovery on each step.
Symptom
The implemented app diverges from the approved design in important ways.
Likely cause
The handoff supplied images without behavior, data, responsive, or state requirements.
Recovery
Pair frames with a behavior contract and an acceptance checklist, then compare implementation evidence against both.
Symptom
The interface breaks with real content or on a narrow screen.
Likely cause
Canvas frames used idealized short data and only one desktop viewport.
Recovery
Design with long, empty, error, and dense examples and include at least one narrow and one wide layout.
Symptom
A design frame is presented as evidence that login, persistence, or approvals work.
Likely cause
A Design mockup was confused with a live Artifact frame because both appeared on Canvas.
Recovery
Confirm the frame header, build the accepted Design into the intended Artifact, then verify behavior in the running Artifact or Preview and later at the published URL.
Hands-on lab
Design the approval journey
Create Canvas directions for the approval feature planned in Chapter 3 before allowing Agent to implement it.
- 01Write the hierarchy and critical action in plain text before generating a visual frame.
- 02Open Canvas with the button at the top-left of Preview. Find the existing app-backed Artifact frame by its Website or other output-type header; do not call it a Design merely because it is on Canvas.
- 03Select that Artifact and choose Reimagine. Prompt: 'Create two side-by-side Design variants of this list and approval detail flow. Keep the same information and actions; vary hierarchy and navigation, and label the decision each variant tests.' Confirm that the source Artifact remains unchanged.
- 04Select the stronger Design. Duplicate it to preserve the comparison, then use the inline Refine input beneath the selected frame to improve one named weakness. Use Canvas annotations to circle unclear elements and connect the list to its detail, unauthorized, failure, and successful-approval states.
- 05Request a 390-pixel-wide mobile version and a wide desktop version. Record explicit decisions about tables, navigation, action placement, focus order, and long content.
- 06Complete the behavior contract and ask one other person to narrate the journey from the frames without your help.
- 07Select the accepted Design and choose Build…, then select the existing app Artifact as the target. If the Design truly belongs in a separate app and you are on Core or Pro, choose Build this design instead. Return to the Artifact or Preview, repeat the workflow, and record Canvas and runtime receipts separately.
Deliverable: An accepted Canvas direction, state matrix, mobile frame, and behavior contract ready for implementation.
Reusable artifact
Canvas behavior contract
The missing layer between a visual mockup and a working application.
FRAME / VIEW: [name and purpose] PRIMARY USER QUESTION: [what must they understand?] PRIMARY ACTION: [control -> validation -> state change -> receipt] DATA SHOWN: [field, source, formatting, empty behavior] PERMISSIONS: [who can view / act / administer] STATES: [empty, loading, success, invalid, unauthorized, failure] NARROW SCREEN: [stack, collapse, replace, preserve] ACCESSIBILITY: [labels, focus order, keyboard, contrast, error association] MUST MATCH: [critical visual choices] IMPLEMENTATION RECEIPTS: [screenshots and journeys required]
Before you move on
Receipt checklist
- Two visual directions reveal a genuine product choice rather than superficial color variations.
- The accepted direction includes non-happy states and a narrow-screen layout.
- A behavior contract defines data, permissions, actions, and state transitions outside the image.
- A person unfamiliar with the work can narrate the critical journey from the frames and contract.
Primary sources
