Interface elements
The console is built from a small set of plain elements: text on the page, rules between rows, and controls with 4 px corners. Every element below is drawn with the console's tokens, in the dark and the light theme.
Principles
- No cards and no cards in cards. Tables, row lists and plain text sit on the page; a box needs a reason, such as a dialog, a menu or a code block.
- One primary button per view. Everything else is a plain button, a link, or an entry in a menu.
- One left edge per page. Everything starts at the same line.
- No pills, badges or counters in bubbles. A status is a word with a small mark.
- Sentence case everywhere, no upper-case or letter-spaced labels.
- No icon before headings, tabs or ordinary buttons. Icons only where they help scanning: the operating system, the row menu, close, and the chevron on rows that open something.
- No gradients, blur, glow, shadows on flat things or load animations. Motion only for a change of state, at most 150 ms.
- Every action says that it worked, or why it failed, near where people acted.
Spacing, size and shape
Space comes in 4 px steps. Controls share one height, so a button, a field and a filter line up in a toolbar.
| Token | Value | Use |
|---|---|---|
--space-1 to --space-7 | 4, 8, 12, 16, 24, 32, 48 px | All spacing |
--radius | 4 px | Buttons, fields, dialogs, menus, screenshots |
--radius-sm | 3 px | Tags |
--control-h | 36 px, 44 px on touch | Buttons, fields, selects, filters |
--control-h-sm | 30 px, 44 px on touch | Small buttons in table rows and pagination |
--row-h | 44 px, 48 px on touch | Rows of lists, tables, menus and the navigation |
--focus-ring | 2 px in the accent, 2 px outside | Every element people can reach with the keyboard |
--motion | 120 ms, none with reduced motion | Hover and state changes |
--measure | 640 px | The width of running text and settings forms |
Buttons
A plain button has an outline and the page's background. The primary button takes the accent. Its label says what happens.
Dark
- The label is a verb and names the thing: Save sign-in settings, not Submit or OK.
- A label ends with an ellipsis when the button opens a dialog that asks for more.
- Destructive actions on a page are quiet: red text, plain button. The solid red button is only the answer in a confirmation dialog.
- Small buttons are for dense rows only.
Fields
One column of fields. The label sits above the field, a hint under it, and under that what happens after a change.
Dark
Minutes without activity before someone is signed out.
Applies to new sessions.
Enter the full host name, such as desk.example.com.
- Every field has a visible label. Hints go under the field, never into the placeholder.
- The field's width fits what goes in: short for ports and numbers, medium for names, wide for host names.
- An error says what to enter, in the danger colour, under the field.
- One save button per form, at its end. It says when there are unsaved changes.
Filters and tabs
A segmented filter narrows a list. Tabs switch between two to five views of one thing.
Dark
- The selected segment has the accent outline and a light tint of it, not a solid fill.
- The selected tab is underlined in the accent. Tabs carry no icons and no counts.
- When the views are separate tasks, such as settings, they become pages with their own address instead of tabs.
Status and tags
A status is a word with a small mark in its tone. A tag is a value from a set, in one quiet style.
Dark
- Online
- Waiting
- Offline
- No signal
- Failed
- Local network
- RustDesk
- Operator
- office
- finance
- Each tone has its own mark, so the status reads without colour too.
- Tags are never coloured and never pills. They are for categories, sources, roles and the tags people set, not for sentences, numbers or actions.
Values
Every kind of value has one form, on every page.
Dark
- Version
- 1.4.2
- ID
- 900100001
- Address
- 10.0.9.14
- Last seen
- Owner
- –
- Signed in as
- Demo Admin
- IDs, addresses and keys are in Plex Mono and can be copied. Names and words are not.
- A version has no "v" in front: 1.4.2.
- Times are relative, with the exact date on hover. Where the date matters more than how recent it is, such as an expiry, show the date.
- A missing value is a dash, read out as "None", and never in mono.
- Initials sit in a square with the 4 px corners, never in a circle.
Tables and row lists
Tables for things people compare, row lists for things people open or act on. Rules separate the rows; there are no boxes around them.
Dark
1 pending, 2 decided
| Device | Status | Asked | Actions |
|---|---|---|---|
| 900100001demo-reception-01 | Waiting | 12 min ago | |
| 900100002demo-office-02 | Approved | 2 h ago | |
| 900100003demo-lab-03 | Rejected | 1 d ago |
Settings
- Numbers in a sentence go next to what they count: 1 pending, 2 decided. No big number tiles.
- Numbers in a table are aligned to the end of the cell.
- Rarely used row actions go into the row menu. The one common action can sit in the row as a small button.
- Rows that open something end in a chevron.
Notices and states
A notice is one message that has to stand out. Every list has a loading, an empty and an error state, each one sentence.
Dark
Restoring secrets replaces the server key. Every client must be set up again.
Loading requests…
Could not load requests.
No help requests. They appear here when someone asks for help from the desktop app.
- A notice is not decoration. If nothing would go wrong without reading it, it is a hint, not a notice.
- An error state offers to try again.
- An empty state says when the list will fill.
Code and meters
Commands sit in a code block with a copy button. A meter shows a share of a limit, with the number next to it.
Dark
curl -fsSL https://neode.sk/install.sh | sudo bash- A code block holds only what people run or paste. Explanations go in the text around it.
Menus, dialogs and sheets
Only things that float above the page get a shadow: menus, dialogs and side sheets.
Dark
Regenerate the server key?
Every client stops connecting until it gets the new key.
- A confirmation says what will happen, and its button repeats the action: Regenerate, not OK.
- Escape and a click on the dimmed page close it, and focus goes back to what opened it.
- In a sheet, Cancel sits on the start side and Save last on the end side.
Dialog or sheet
| Use | When |
|---|---|
| Side sheet | Creating or editing something with more than about four fields, and details of one item. People fill it in while they see the list behind it. |
| Centred dialog | A confirmation, one question, or a short prompt of one to three fields. Anything that must block, such as a destructive confirmation. |
| The page itself | The main settings forms and any long configuration that is the reason to open the page. |