Skip to content

Settings

Last updated 27 Nov 2026

A settings page is read top to bottom by someone looking for one control. Its job is to make each section look like what it is: a form that saves, a switch that applies at once, an object with its own table, a thing that destroys data. When every section has the same shape, those four look alike, and the person has to read each one to find out which it is.

Before: a column of boxes ​

The uniform version: tabs, then a column of panels 24px apart. Each panel has a 16px heading, a lede, its fields 16px apart. A name field with a Save button, a policy switch that saves on change, a list editor and "Delete this project" are four identical raised boxes with four identical headings. The destructive section is the same distance from the one above it as every other section, and its button is as loud as Save.

After: sections on the ground ​

The anatomy ​

  1. Tabs in the fixed bar. NbTabs in the shell's fixedbar, one tab per area. No page title that repeats the last crumb: the trail already says "Settings".
  2. One column. Settings are read down, and a second column splits the reader's attention between two forms. Cap the measure; do not stretch fields across a desktop.
  3. Sections on the ground. Each section is an <h2> at heading-02 with a body-sm lede under it, sitting straight on the page ground. No box.
  4. Fields at md, sections at xl. 16px between fields, 32px between sections: the gap says which fields belong together without a line or a box.
  5. A box only when the section is its own object. A table of members, a reorderable list, an integration with its own state: an NbPanel with a title and its one action in the header. A form is not an object.
  6. The destructive section last, after xxl. 48px above it, so it reads as apart. Its control is danger outlined, never filled, and the confirmation dialog carries the filled one.
  7. A status beside the settings, when there is room. When the settings protect or configure something whose state matters on every tab (an account's sign-in security, a project's health), give that state a read-only panel beside the column from lg up: an NbPanel about 20rem wide, position: sticky, holding an NbContainedList of rows. Each row has its icon, its name, an NbBadge stating the value (success, warning or neutral, never colour for rank) and a link to the section that changes it. The panel changes nothing itself, so it is not a second form beside the first. Below lg it is hidden, and the tab that owns those settings opens with the same rows, so the information never depends on the window.

One save model per section, and it shows ​

Each section either saves when the person presses Save, or applies each change as it is made. Never both in one section. See Building a form, rule 16.

  • Explicit save: a primary Save button at the foot of the section, left aligned. The section's one filled button.
  • Autosave: no button, and an NbInlineLoading beside the heading that says "Saving" and "Saved". The lede says changes apply as they are made.

A reader should know which model a section uses before touching it, from the presence of the Save button alone.

Rules ​

  • Two sections that differ should look different. A form, a switch list and a table are three shapes, not three boxes.
  • One filled button per section. Save, or Invite, or nothing.
  • Danger is for the control that destroys data, and nowhere else on the page.
  • No section title in a box and a heading above it. One name per section.

Reference ​

Accord's profile (ui/src/views/ProfileView.vue, with the status panel in ui/src/views/profile/SecurityStatusList.vue, in the accord repository) is the reference for the status beside the settings (anatomy item 7). Agreed by Jose on 2026-11-27.

Acta's space settings is the screen this pattern is written against: a name form, a list editor, a done-window setting and "Archive or delete" as four identical panels. Its People tab is the reference for the object case: a table with its own title, description and one primary in its header.