Smart-Selection & “Tidy-Up” in Penpot
(or how to get very close to Figma’s magic 💫)
Figma’s “Smart Selection” (blue pink handles to change spacing on the fly) and “Tidy-Up” (⇧+T to auto-grid the selection) do not exist as single-click features in Penpot yet.
But Penpot already gives you all the building blocks you need to achieve the same end result – you just use them a little differently:
| Figma term | Penpot equivalent | How to do it |
|---|
| Smart Selection (interactive spacing) | 1. Flex Layout gap 2. Distribute spacing | Put the items in a Frame → enable Flex → tweak the Gap property OR just select the items → Arrange → Distribute Horizontally/Vertically and enter a value. |
| Tidy-Up (⇧+T) | Grid / Flex “Wrap” + Distribute | Place items in a Frame → switch to Grid or Flex “wrap” → set rows/columns + gap. Or manually Distribute both H & V. |
| Re-order inside the selection | Drag layers in the Layer panel or drag items in Flex container | Same freedom; Flex auto relayouts. |
| Change overall alignment | Align tools (top bar) or Flex “Align items / Justify” | Same controls as CSS Flexbox. |
Below is a quick guide with screenshots-in-words and shortcuts.
1. Instant, even spacing (Smart Selection vibe)
A) Flex Gap – the most Figma-like
- Select the objects → Ctrl/Cmd + G to group or place them in an empty Frame (F).
- With the container selected open the right panel → Layout → switch Display to Flex.
- Choose Direction “Row” or “Column”.
- Adjust the Gap value – everything moves at once, just like dragging the blue handle in Figma.
• Mouse-drag on the numeric field or use Alt + Scroll to nudge by 1 px, Alt + Shift + Scroll by 10 px.
Pros: interactive, non-destructive, updates live when you add/delete items.
Bonus: you get Flexbox alignment options (center, space-between, etc.).
B) One-shot distribution
If you just need to tidy the space once (no auto-update):
- Select the items (no need to group).
- Top bar → Arrange →
• Distribute Horizontally (icon with vertical bars)
• Distribute Vertically (icon with horizontal bars)
3-type the exact pixel gap in the little input that appears.
2. “Tidy-Up” a messy pile into a grid
Figma’s ⇧+T turns a blob into a neat grid; in Penpot you do:
Option 1 – Grid Layout (auto-grid)
- Put everything in a Frame (F).
- Right panel → Layout → choose Display: Grid.
- Decide Columns / Rows count or set Auto and choose Wrap.
- Set Gap X / Gap Y.
– Objects flow automatically, you can still reorder in the Layers panel.
Option 2 – Dual distribution (manual, quick)
- Align left/top once (so they start in one corner).
- Arrange → Distribute Horizontally with a gap.
- Arrange → Distribute Vertically with the same gap.
You get a perfect matrix; group it (Ctrl/Cmd+G) to keep it intact.
3. Rapid re-ordering
• Inside a Flex or Grid container just drag an item; the rest re-flows.
• Outside a layout container, drag in the canvas or Layer panel; follow with a quick Distribute command to re-even the gap.
4. Shortcut & cheat-sheet
| Action | Shortcut / UI |
|---|
| Group | Ctrl/Cmd + G |
| Ungroup | Ctrl/Cmd + Shift + G |
| Flex Layout (toggle) | Right panel → Layout → Display → Flex |
| Distribute H / V | Top bar → Arrange icons |
| Align Left / Center / Right etc. | Top bar align icons |
| Nudge by 1 px | Arrow keys |
| Nudge by 10 px | Shift + Arrow keys |
| Change numeric value by 1 / 10 | Mouse-wheel over field (Alt / Alt+Shift) |
5. Road-map ⭐
The Penpot team confirmed that “smart interactive spacing handles” and an actual “Tidy-Up” one-click action are on their public backlog (GitHub issues #670 & #812). You can up-vote or join the discussion here:
https://github.com/penpot/penpot/issues
TL;DR
While Penpot doesn’t have the little blue handles, Flex + Gap and Distribute give you 95 % of Figma’s Smart-Selection power, and Grid / Flex-wrap replicates Tidy-Up. Put your elements in a Frame, flip the layout switch, tweak two numbers – done. 🚀
Need a mini demo file or a GIF? Just say the word!