The PM7 UI house style, working

Every element on this page follows the pm7-layout-rules skill. Each demo names the rule it shows. Try everything with the mouse and with the keyboard.

Example app

A small project manager built only from the rules. Outside a field, press N for a new project, F2 to rename the active project and Delete to delete it.

Atlas Studio

Projects

Pick a project to edit its settings.

    Recent pages

      What the app shows

      Sidebar toggle
      The toggle sits in fixed chrome that never moves when the sidebar opens, closes or changes width.
      Tab row
      The tab row hides its scrollbar, fades only the edge that has more content, shows a chevron on that side and keeps focus clear of it with scroll-padding.
      Close buttons on tabs
      A destructive action like close is always visible, never revealed on hover, and the label beside it keeps a min-width.
      Sidebar navigation
      The active item has a clear fill plus an indicator bar that sits inside the row's rounding, away from the window edge.
      Project list
      The active item is a strong accent fill with contrasting text and no extra bar, and the ⋯ button that only opens a menu may appear on hover.
      Settings card
      Labels sit above full-width fields with label → field 8, field → help 4, help → next label 20, last field → primary button 20 and padding 24.
      Project actions
      The menu opens under its trigger and closes on a choice, a click beside it, Escape, Tab or a second click on the trigger.
      Publish
      On a fully rounded button the icon sits concentric in the cap and the text side gets a little extra margin.
      Recent pages grid
      Titles in a grid clamp after two lines with an ellipsis, while tab, sidebar and list titles stay on one line.
      Delete project
      A destructive action is always visible, uses the red danger style and asks first in a question dialog.
      Recent pages in the sidebar
      A narrow column fades 16px, and only on the edge where more content is.
      Shortcuts
      Keys pressed in an open menu or dialog never leak through to the N, F2 and Delete shortcuts of the app.

      Dialogs

      Two question dialogs and three form dialogs. They act on the active project in the example app.

      Question that removes something

      Rule: a question that removes something focuses Cancel first, the red danger button never gets focus on its own, and Escape or a click beside it cancels.

      Safe question

      Rule: a safe question focuses its confirm button, Enter presses the button that has focus, and Tab loops inside the dialog.

      Form with an empty field

      Rule: a form dialog focuses its first empty field, a click beside it does nothing, and its template menu opens above the dialog.

      Busy and error after confirm

      Rule: Enter in a one-line field confirms, the buttons are disabled while saving, and a name that is taken keeps the dialog open with the error under the field.

      Unsaved changes

      Rule: Escape on a changed form first asks Unsaved changes, with Don't save on the far left, and a click beside that question does nothing.

      States

      States that are hard to catch in the app.

      Focus with a long value

      Rule: focus only turns the border to the accent color, and the border, padding and text position stay exactly the same, even with a value longer than the field.

      Visitors land here after they sign up.

      Error message

      Rule: the error replaces the help text in the same spot, wraps instead of being cut off, and says in words what is wrong and what to do.

      This address is missing its domain. Enter a full email address, such as finance@example.com.

      Disabled and read-only

      Rule: a disabled field and button look disabled and take no cursor, while a read-only field shows a value you can select and copy.

      Only an owner can change the workspace ID.

      Help text and options

      Rule: help text explains behavior or consequences, never where something is, and an option with help text is spaced like a field.

      Hides the Git status indicator and stops Git status checks for this project.

      Uploads every saved page right away, so the preview link always shows the latest version.

      Email me about

      Fade at scroll edges

      Rule: only the edge that still has content fades, 24px in a normal list and 16px in a narrow column, and a list without overflow does not fade at all.

      Long list, 24px fade

        Narrow, 16px fade

          No overflow, no fade

            Scrollbars

            Rule: a scrollbar shows only its thumb on a transparent track, and the page keeps a stable gutter on a solid background.

            Scroll this box. The track shows the background underneath; only the thumb has a color from the theme.

            The page itself reserves its scrollbar gutter, so content never shifts sideways between a short and a long page.

            The page background is one solid color on html and body, so the strip under the page scrollbar matches the page.

            Tab rows are the one exception: they hide their scrollbar and use a fade and chevrons instead.

            Menu at the edge

            Rule: a menu for a trigger on the right aligns to its right edge, flips up when it does not fit below and stays 8px from the window edge.

            Spacing

            Five distances, chosen by relation, not by eye.

            The scale

            Rule: between elements only 4, 8, 16, 20 and 24 px exist, never 2, 6, 10, 12 or 14.

            Relation table

            Rule: when two values seem possible, the relation in this table decides, and every bar below is drawn at its real size.

            RelationDistanceReal size

            Measured form

            Rule: distances are measured from the visible bottom of one element to the top of the next, and a heading has more space above it than below it.

            Account

            Used on invoices and in emails to your team.

            Enter a full email address, such as robin@example.com.

            Printed on every invoice from the next billing period.

            One email a month. You can stop it from any email.


            Public profile

            Type and buttons

            Headings, titles that wrap or cut off, and button shapes.

            Balanced headings

            Rule: headings and dialog titles use text-wrap: balance, so no single word is left alone on the last line.

            Move every project page into the new shared workspace

            The heading above breaks into two lines of similar length.

            Large titles

            Rule: only a large display title gets slightly tighter letter-spacing and a tight line height, and headings stay upright.

            Ship the winter launch

            Two lines or one line

            Rule: a title in a card or grid clamps after two lines, and a tab, sidebar row or file name stays on one line with an ellipsis.

            Card title

            Onboarding email sequence for new workspace owners who signed up through a partner referral link

            Edited today

            Tab label

            Onboarding email sequence for new workspace owners

            Pill buttons

            Rule: on a pill the icon sits concentric in the round cap and the text side gets extra margin, but a compact status pill gets no correction.

            Draft

            Button styles

            Rule: primary uses the accent color, danger is red in every theme, the rest is neutral, a disabled button has half opacity, and buttons sit 8px apart.