lnkiai /m3e-canvas

Sketch Material 3 Expressive screens in the browser and turn them into vibe-coding prompts.

★ 10,398⑂ 1,147👁 41⑃ 70● 44▤ 0
TypeScriptMITCreated 2026-09-02lnkiai.github.io/m3e-canvas/
+47
Daily
+167
Weekly
+1,154
Monthly
10,398
stars
1,147
forks
41
watchers
70
prs
44
issues
0
releases

README

Sketch Material 3 Expressive screens in the browser, link them, tap through them, and copy a prompt for your AI coding tool.



  
  
  
  
  
  
  



  






Sketch the screens, tap through the flow, copy the prompt, and let your AI coding tool build the app. (mp4)

M3E Canvas is a free, open-source sketchpad for app screens made of real Material 3 Expressive parts. It runs entirely in your browser: no account, no server, nothing to install. What you sketch becomes a precise prompt that any AI coding tool that takes one, such as Claude Code, Codex, Gemini CLI or Cursor, can turn into a working app.



  How it works


  
  


1. Sketch — Drag parts onto phone or desktop screens. They snap together and line up on a 4dp grid.
2. Tap through — Link parts to screens and press Preview to try the flow, transitions included.
3. Copy the prompt — The whole design becomes a short brief in your language. Paste it into your AI coding tool.

  What's inside


  
  


 Real M3 Expressive parts — Buttons, FABs, bars, tabs, cards, lists, sheets, pickers, carousels, loading indicators and more, each with its own panel for text, style, size and what a tap does.

 Screens and flow — Phone and desktop screens, screens that scroll, taps and swipes that open other screens with the transition you pick, and arrows that show the whole flow.

 Theme in one place — Color, shape, type and motion: seven palettes or your own seed color, light and dark, three contrast levels, corner styles, fonts and the expressive spring motion.

 Optional AI help — Bring your own key to draft a design or write notes for you, or copy an instruction for a coding agent that replies with a share link. Keys never leave your browser.


Everything it can do

- Parts – buttons, icon buttons, FABs and extended FABs, FAB menus, split buttons, chips, top app bars, navigation bars and rails, floating toolbars, tabs, search bars, cards, list items, boxes, bottom sheets, dialogs, snackbars, text fields, dropdowns, switches, checkboxes, radio buttons, sliders, date and time pickers, text, images, carousels, camera and map placeholders, dividers, the shape-morphing loading indicator and wavy progress indicators. Every part has a panel for its text, style, size and alignment, and a trigger tab for what a tap does.
- Magnetic connections – bring buttons, chips or list items close and they fuse into a connected group; the corners soften where they meet.
- Phone and desktop screens – add as many screens as you like. Switch any screen between a 412×892 phone and a 1280×800 desktop from its label: bars stretch, a navigation bar becomes a rail and back again, and the parts are laid out again. Same-named screens are written into the prompt as one screen at two widths.
- Screens that scroll – make a screen longer than its device and its body scrolls under the bars in the preview. Drag the grip on the bottom bezel, or pick 1x to 3x in the screen panel.
- Tap and swipe to navigate – give any tappable part, app bar

Top issues

Discussions

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON