Keyboard Shortcuts
These shortcuts cover every major action in the editor. Press Shift + / (or ?) to open the shortcuts overlay at any time.
Platform note
Cmd refers to Command on macOS and Ctrl on Windows/Linux. Lyna's mod key maps to the correct one automatically.
Modes
| Action | Shortcut |
|---|---|
| Select / Design mode | V |
| Code mode | C |
| Preview mode | P |
| Pan mode | H |
| Comment mode | M |
| Escape / back to Select | Esc |
| Hold to pan, release to return | Space (hold) |
Quick mode switching
| Action | Shortcut |
|---|---|
| Design mode | Cmd + 1 |
| Code mode | Cmd + 2 |
| Preview mode | Cmd + 3 |
Chat & AI
| Action | Shortcut |
|---|---|
| Add to AI Chat | Cmd + Shift + L |
| New AI Chat | Cmd + L |
| Open chat mode menu | Cmd + . |
Panels & Navigation
| Action | Shortcut |
|---|---|
| Toggle left panel | Cmd + / |
| Toggle right panel | Cmd + \ |
| Toggle terminal | Cmd + J |
| Focus mode (hide all panels) | Cmd + Shift + . |
| Command palette | Cmd + K |
| Source control | Cmd + Shift + H |
| Show shortcuts overlay | Shift + / |
Editing Actions
| Action | Shortcut |
|---|---|
| Undo | Cmd + Z |
| Redo | Cmd + Shift + Z |
| Copy | Cmd + C |
| Paste | Cmd + V |
| Cut | Cmd + X |
| Duplicate element or frame | Cmd + D |
| Delete selected | Backspace or Delete |
| Edit text (enter edit mode) | Enter |
Grouping
| Action | Shortcut |
|---|---|
| Wrap in group | Cmd + G |
| Unwrap group | Cmd + Shift + G |
Insert
| Action | Shortcut |
|---|---|
| Insert div | R |
| Insert text | T |
Zoom
| Action | Shortcut |
|---|---|
| Zoom to fit | Cmd + 0 |
| Zoom in | Cmd + = |
| Zoom out | Cmd + - |
Layers
| Action | Shortcut |
|---|---|
| Move layer up | Shift + Arrow Up |
| Move layer down | Shift + Arrow Down |
Measurement
| Action | Shortcut |
|---|---|
| Show spacing measurements | Alt / Option (hold) |
Hold Alt (Option on macOS) while hovering to see spacing between elements. Release to hide.
Device Presets
Resize the selected frame to a standard device size.
| Device | Shortcut |
|---|---|
| Desktop | Cmd + Shift + 1 |
| Laptop (MacBook Air) | Cmd + Shift + 2 |
| Tablet (iPad Pro 11) | Cmd + Shift + 3 |
| Phone (iPhone 16) | Cmd + Shift + 4 |
Other
| Action | Shortcut |
|---|---|
| Reload App | Cmd + R |
| Open DevTools | Cmd + Shift + I |
Tip
You can also view and search all shortcuts from Settings > Shortcuts.