Blog

Why blocks on a Nemi share page never overlap

You design the page behind your links on a 12-column grid, and every link your workspace sends opens it. On a whiteboard, overlapping items is a feature. On a page 30 clients will open, it's a broken page. Try the editor below: it runs the same layout code Nemi does.

Design7 min read

Fig. 00 cells two blocks can ever share

When you send a link from Nemi, the recipient lands on a page. You can design that page on a 12-column grid: a header, your files, a note, a countdown, or a button. Every link your workspace sends opens that same design, including links you sent last month. That's why one rule in the editor is absolute: two blocks never share a cell.

Why can't blocks overlap on a share page?

A freeform layout would allow it. Drop a block on top of another and the browser paints one through the other. That's how a whiteboard works, and on a whiteboard it makes sense: Nemi's own Canvas lets you stack a sticky note over a screenshot because the person drawing is the person reading, and layering is the point.

A share page is a different kind of object. One person designs it, and 30 people open it on screens the designer never sees, with files that weren't there during layout. Overlap breaks that kind of page in three ways, and none of them shows up while you're designing:

  • Text over text isn't layered, it's unreadable. A heading that slides under a note because one link has a longer title leaves your client with a page they can't read.
  • Two blocks in the same spot have no clear reading order. Which one comes first for a screen reader or keyboard navigation? Any answer is a guess.
  • The phone layout falls apart. A phone stacks blocks in reading order, so a guess about order turns into a mobile page that matches nothing anyone designed.

A sender can't preview every link they'll ever send, so the editor itself has to make a broken page impossible. It's the same reasoning behind a type scale the build enforces: a rule that only holds when everyone remembers it doesn't hold.

Drag the blocks

Drag a block onto another and back again: whatever it pushed returns, because every frame is worked out from the page as it was when you picked the block up.

A note from you selected

No two blocks share a cell. The page is 13 rows tall.

On a phone

Down the page, then across. Nothing to design twice.

  1. 1Header
  2. 2Files
  3. 3A note from you
  4. 4Countdown
  5. 5Text
  6. 6Button
Every push, tidy, and fit here runs on the same layout code used by the Nemi editor and server, and the phone preview uses the same reading order. On a small screen, select a block and use the buttons or arrow keys.

What happens when you drop a block on another one?

The block you're holding goes exactly where you put it, and anything it lands on moves down just far enough to clear it. If that block hits a third, the third moves down too, all the way to the bottom of the page. Nothing is ever pushed up, left, or right.

Down is the only direction that never surprises anyone. Pushing sideways would swap columns behind your back. Pushing up would make blocks jump out from under your pointer. Pushing down keeps every block in its own column at its own width, and it preserves deliberate whitespace above untouched blocks.

Closing gaps is a separate button, Tidy up. It grows any cut-off block and pulls everything up until blocks touch. Keeping it separate avoids throwing away intentional whitespace unless you explicitly ask for it.

Why does dragging back undo the push?

This detail makes the rule feel natural, and it's worth trying both modes in the editor above. A drag spans dozens of frames. If each frame calculated the push from the previous frame, dragging a block down would shove its neighbour further on every frame. Dragging back up would leave the neighbour stuck at the bottom, because nothing ever pushes up.

Instead, the editor takes a snapshot of the page the moment a drag starts, and computes every frame from that snapshot plus the dragged block's new position. Let go where you started and the page looks identical. Undo uses that same snapshot, so a whole drag takes one press of undo rather than a hundred.

One drag, frame by frame

FilesCountdownA notefrom you

1/4You pick up the note

The editor remembers the page as it is right now. Every frame of this drag starts from here.

How does the phone layout work?

There's no separate phone layout to design. On a narrow screen, blocks stack in reading order: top to bottom, then left to right, so the left block on a row comes first. The HTML is written in that same order, which means the mobile view, keyboard tab order, and screen readers all follow the page as it looks. Storing a second layout would mean maintaining two designs that inevitably drift apart.

You do get one mobile-specific choice per block: hide it on phones. A wide gallery that looks great on a laptop can mean a long scroll on a phone, so that's up to the sender.

What if the words do not fit the block?

Rows have a fixed height: 32 pixels with a 12-pixel gap across 12 columns. Fixed rows are what make a drag land right under your pointer. The tradeoff is that a block can end up shorter than its content, especially when a real link brings a long filename or message.

When that happens, the block clips cleanly at its bottom edge instead of spilling over its neighbour. The editor measures the overflow and flags the block as Cut off. Pressing Make it fit grows the block to fit its content and pushes what sits below down, just like any other move. A clipped block you can fix in one click is far better than broken overlap you only discover after a client opens the link.

The editor is the only place a sender sees the page. So it's the place where a broken page has to be impossible.

The same rule runs on save, not just in the editor. Before any layout is stored, the server passes it through the same layout resolver, so a hand-edited page or one saved by an older editor follows the exact same rules.

Who can design the page?

Anyone who can edit the workspace can design and publish its share page. Changes stay in a draft until someone presses Publish, so live links don't shift while you work. Each workspace has one share page, and every link it sends opens it.

The bottom of every page carries a small line saying it was sent with Nemi. It isn't a block, so you don't have to arrange around it. Whether you can hide it depends on the workspace owner's plan: on Free it's always shown, and from Starter upwards (Starter, Creator, Pro, Max, Business) you can turn it off and use your own branding instead.

From Creator up, a workspace can also serve its links from its own domain. For step-by-step instructions, see designing the page people land on and branding your share page in the help centre. You can also explore Sharing for everything else a link does, or read link statistics without tracking.

Questions people ask

How do I make a branded download page for my clients?

In Nemi, open the layout button beside the Share and Embed tabs in the share panel, or the Page tab in Link manager. You arrange a header, your files, a note, a button, or a countdown on a 12-column grid. Once you publish, every link your workspace sends opens that page, carrying your workspace's name, icon, and colour on Starter and above (based on the workspace owner's plan).

Can I remove the Nemi branding from my share page?

Yes, on Starter and every plan above it, based on the workspace owner's plan. You can then switch off the small footer line saying the page was sent with Nemi. On Free, it's always shown.

Does changing the page change links I already sent?

Yes, once you publish. There's one page per workspace and every link it has sent opens it, including links from last month. While you edit, your changes stay in a draft and live links keep showing the published version until someone presses Publish.

Does the download page work on phones?

Yes, with no second layout to design. On a narrow screen, blocks stack in reading order (top to bottom, then left to right), matching the order a keyboard and screen reader follow. You can also hide any block on phones with a switch in its settings.

Why should blocks not overlap in a page layout?

Overlap works on a whiteboard, where the person drawing is the person reading. On a page opened by many people, it makes text unreadable when one link's content is longer, breaks reading order for screen readers, and scrambles the stacked phone layout. That's why Nemi pushes blocks down instead.

What happens if my text does not fit its block?

The block clips at its bottom edge rather than spilling over its neighbour, and the editor marks it Cut off. Pressing Make it fit grows the block to fit its content and pushes everything below it down, just like any other move.

Where the numbers come from

  • The no overlap rule, push down, reading order and fittinglib/share-page/layout.ts (resolveLayout, compact, readingOrder, fitHeights)
  • The grid constantslib/share-page/widgets.ts (GRID_COLUMNS, GRID_ROW_HEIGHT, GRID_GAP)
  • Recomputing from the start of the gesturecomponents/share-page/useSharePageEditor.ts (gestureBase)
  • Clipping, and the phone layout at the page's own widthcomponents/share-page/page.css
  • Which plans can switch off the Nemi linelib/pricing-plans.ts (customBranding)
  • The help page for the editor/help/sharing/designing-the-page
  • Drafts and publishingapp/api/share-pages, lib/share-page/revision.ts

Use the thing we write about.

Files, docs, sheets, mail, photos, calendar and meetings in one account, built the way this post describes. Nemi is opening in groups: put your name down and we tell you when yours is up.

15 GB free when you get in. No card needed.