Top bar

For developersVersion 1.0.0Last updated:

  • Each pill carries a 17 px stroke icon (Builder_OS_Shell::tab_icon( $slug, $dashicon ): by slug and, for the tabs that modules add with builder_os_admin_tabs, by their dashicon; if it isn’t known, the “layout” icon) and the text in <span class="bos-topbar__label">. The active tab fills the icon with a soft tone. There is no longer a separator after “Home”.
  • Which pills there are: Home, SEO, Tracking, A/B tests and Chat (only for manage_options); Security, Performance, Backups and migration and Packages only when the rail is off (Builder_OS_Shell::rail_tools() removes them from the bar). A single pill menu per screen: each screen has one row of pills (.bos-seg) to switch views; subsections are added to that row or move to a list on the left. Notices never appear inline: they go to the bell, and the result of an action appears as a brief message. Builder_OS_Admin::tabs() only renders the slugs in Builder_OS_Admin::TOOLS: a tab added with builder_os_admin_tabs that isn’t in that list works by URL, but has no pill. There are no pills for “Documentation” or “Settings” (unset( $bos_tabs['docs'], $bos_tabs['settings'] ) in builder-os-admin-header.php; Builder_OS_Admin::TOOLS doesn’t change). ?tab=docs still works by URL and from Help, and the command palette (Ctrl + K) still lists them.
  • Compact mode: below 1600 px inactive pills keep only the icon (40 × 40; the text stays in title and for screen readers).
  • Right group (4.15.2): Getting started (Builder_OS_Setup_Guide::pill(), the first of the tools, only on BuilderOS screens) · Clear cache (data-bos-purge-cache, a round button with the rocket icon from Builder_OS_Shell::icon(), different from update, which is Backups and migration; aria-label and tooltip “Clear cache”; manage_options only) · search · bell · account (the license is in the account menu, with no pill), all 40 px round glass buttons. There is no longer a “More” button or theme and Settings icons: the theme and Settings are in the account menu (Builder_OS_Header::tools()). “Clear cache” is also in the account menu (visible only on mobile), in the WordPress bar and in the site pill.
  • Account menu (280 px, 18 px line icons with no circle): Theme (Light, Dark, System: menuitemradio with data-bos-theme-set, saves with BOS.theme.set()) · Settings (manage_options only; data-bos-settings-btn, aria-current="page" on ?tab=settings and on the WordPress screens that open inside Settings) · Profile and photo · BuilderOS Home (for all team roles) · Plan and billing (manage_options only) · View website · Show or hide the labels (only on screens ≥ 961 px and with the rail) · buttons from the WordPress bar and other plugins · Log out. The button list is built with the WordPress bar hidden (data-bos-more-inline, as in the editor); with the rail active, “New”, “Comments” and “Updates” are omitted because the rail already has them (without the rail, they still appear). The pending counter, if there is one, goes as a badge on the avatar.
  • Mobile (≤ 782 px): a single 56 px row 6 px from the edges, in dark glass: menu button · symbol (admin/img/favicon-builder-os.svg, .bos-topbar__mark; the full logo and the version are hidden) · search · bell · account. With the rail, the pills, the plan, the theme and Settings are hidden in the bar and move to the mobile menu. Without the rail, the bar keeps them. There is no longer a fixed “View website” button. The bar’s panels (notifications and account) are opaque on mobile; the notifications one is a sheet the width of the bar, right below it.
  • Mobile menu: bottom sheet. Replaces the side drawer; the desktop doesn’t change.
    • Bar: opaque and with clean corners in both themes. .bos-fade-top isn’t rendered on mobile.
    • Sheet: the menu button opens a bottom sheet, light or dark depending on the theme, with rounded top corners, over the blurred page. It is a modal dialog: focus doesn’t leave it, and the X, a tap outside or Esc closes it (also when choosing a destination). It respects “reduce motion”.
    • Content, from top to bottom: (1) handle; (2) photo and name, “View my profile” and close (no logo); (3) search (the same palette, Ctrl + K) and “+” Create; (4) Primary, tiles three to a row: Home, Edit the site, CRM (if active and permitted), Messages and Notices; if the last row is incomplete, it is filled with Media, Posts or Comments; the current tile is black (white in dark) with the icon in lime; (5) BuilderOS Tools in a list with a subtitle; (6) WordPress: the real menu with its permissions and counters, collapsible, open only on WordPress screens and remembering the choice; (7) Account and help: plan (status as text, with no colored dot), theme, Settings, updates, “View website”, help and “Log out”.
    • Each destination appears only once.
    • Check: at 360 and 412 px, clean corners, sheet in light and dark, trapped focus and Esc.
  • Each screen’s page header, including Home, is rendered by Builder_OS_Shell::page_head() (see “Page header”).