Skip to main content

System status

Memory 2.4 GB of 3.8 GB
Disk 98 GB of 116 GB

Over 80%: clear old logs and images before it fills.

Health
Every check passed
CPU load
0.42 on 2 cores
Signed in
12 online
Guests
48 online
Queue
3 waiting, 0 failed

Messages 3 unread

HR Team

4 members · 2 online

Today
Jessy Ellis

Next week we close the project. Any questions before we do?

You

That is excellent news.

Read

Tom Brennan

I have been through the features — cannot wait to demo them.

You

Haven't seen the build yet — looking now.

You

Checking the build now.

Delivered

Jessy is typing…

Jane Perez wants to join

1 day ago · Design Team

Notifications 3 new

  • Today
  • Priya Raman asked you to approve access to Northwind Trading

    Unread. · Members

    Nora O’Brien

    nora@northwind.example · Member

  • Sam Okafor attached a file to Q3 forecast

    Unread. · Finance

    q3-forecast.xlsx

    Spreadsheet · 248 KB

  • Three variants are below their reorder point

    Unread. · Inventory

    Restock before the weekend

    Due 16 August 2026

    Stock Urgent
  • Earlier
  • Your email address is verified

    · Security

  • Marta Kowalski mentioned you in Autumn drop

    · Marketing

  1. UI kit
  2. Layout

Layout

The shell you are looking at. Most of this page cannot be demonstrated in a box, because the components are the page — so the markup is here in full, and the live example is the window around it.

The shell

A grid with two tracks and one scroll container. The page itself never scrolls — only .av-content does, which is what keeps the sidebar and topbar fixed without a single position: fixed and without the scroll-jank that comes with one.

<div class="av-shell">
  <aside class="av-sidebar" id="avSidebar">…</aside>
  <div class="av-main">
    <header class="av-topbar">…</header>
    <main class="av-content" id="avContent">
      …your page…
      <footer class="av-footer">…</footer>
    </main>
  </div>
</div>
<div class="av-sidebar-backdrop" data-av-sidebar-backdrop></div>

min-inline-size: 0 is not optional on a grid child

A grid or flex item's automatic minimum size is its content's min-content width. A 1fr track holding a wide table therefore grows past the viewport instead of letting the table scroll inside its own wrapper — and because .av-content absorbs the excess, a document-level overflow check still passes while the page is visibly broken. .av-main, .av-sidebar and .av-grid > * all set it for exactly this reason.

Topbar

The search trigger, mode toggle, notification bell and profile menu. Every one of them is a component documented elsewhere; the topbar is only the row they sit in.

<header class="av-topbar">
  <div class="av-topbar__start">
    <button class="av-btn av-btn--ghost av-btn--icon av-topbar__menu-btn"
            type="button" data-av-sidebar-toggle aria-label="Open the menu">…</button>
    <button class="av-search-trigger" type="button" data-av-palette-open>
      <span class="av-search-trigger__text">Search…</span>
      <kbd class="av-kbd">Ctrl</kbd><kbd class="av-kbd">K</kbd>
    </button>
  </div>
  <div class="av-topbar__end">
    <button class="av-btn av-btn--ghost av-btn--icon" type="button" data-av-theme-toggle>…</button>
    <div class="av-dropdown">…the bell…</div>
    <div class="av-dropdown">…the profile…</div>
  </div>
</header>

Vitals strip

Live readings for the bar's free middle. The strip is a size container: narrow, it folds into one status button; wider, the secondary and tertiary readings join.

  • Healthy
  • CPU 0.42
  • RAM 63%
  • Disk 93%
  • Online 12

Player bar

An audio player docked as the last row of the main column, under the footer. Markup and styles only: your app owns the audio element and writes the state. The bar is a size container: narrow, the seek bar takes its own row and volume hides.

Night Drive Nova Kade
1:24 5:12

Grid

Four helpers, and they cover nearly every dashboard. There is no twelve-column system here on purpose: a column count is a decision about a breakpoint, and these express the intent instead.

Auto-fitting stats

repeat(auto-fit, minmax(220px, 1fr)). Add a card and the row reflows; no column classes to update.

220px minimum
Wraps on its own
No column count
Nothing to update

Main and side

--main is 2fr / 1fr, --half is 3fr / 2fr. Both collapse to one column below 1200px.

Main — 2fr
Side — 1fr

Vertical stack

.av-stack-4 spaces siblings with > * + *, so the first child never picks up a stray margin.

First
Second
Third

Split panes

The two- and three-pane shell behind mail, chat, files, contacts, notes and the calendar. Only the panes scroll, and pane switching happens only below 768px — above it there is one screen, so a click has nothing to switch to and nothing to push onto history.

<div class="av-split av-split--inspector" data-av-split>
  <div class="av-split__list">
    <div class="av-split__list-header">…</div>
    <ul>
      <li><button data-av-split-item>…</button></li>
    </ul>
  </div>
  <div class="av-split__detail">
    <button class="av-split__back" type="button" data-av-split-back>Back</button>
    …
  </div>
</div>

--inspector is the browse-first proportion — flexible middle, fixed detail — used by files and the calendar. It is a modifier rather than a variable because mail wants the opposite, and two named intentions read better than one number set twice.

Layout axes

Attributes on <html>, set by the theme engine and read by CSS. No JavaScript runs in the render path — the attribute selects a different set of custom property values and the layout follows. Every button below is live.

Density

Scales the whole spacing ramp through --av-density. Compact is not a second set of rules.

Content width

Fluid is the base, so it is the *absence* of the attribute rather than a value.

Radius

sharp squares off the entire product without a component being touched — every radius is --av-radius-scale times a step.

Motion

reduced keeps the state changes and drops the travel; off zeroes every duration and --av-lift in one place, rather than a media query per component.

Contrast

Thickens borders and pushes text to the strong end of the ramp, for a visitor who needs more than 4.5:1.

Back to the base

Every axis has a base state that is the absence of its attribute, so "reset" is a removal rather than another value.

Layout attributes
AttributeValues
data-bs-themelight, dark
data-av-presetany of the 16 preset names
data-av-densitycompact, comfortable, spacious
data-av-widthboxed — absent is fluid
data-av-radiussharp, subtle, rounded, pill
data-av-motionreduced, off
data-av-contrasthigh
data-av-sidebarcollapsed, hidden

Never defer the boot script

A small synchronous script in <head> reads the stored preferences and writes these attributes before first paint. Deferring it, or moving it to a bundle, gives every dark-mode visitor a white flash on every navigation — and no amount of CSS can fix it, because the paint has already happened.

Surfaces

Three ways to group content, distinguished by how much of the page's depth they claim.

Panel

A card without the card: same border and radius, no elevation, no hover, and the sunken surface rather than the raised one. For regions *inside* a card, where a second raised surface would imply a level of the page that is not there. It is a component rather than a card modifier because the two nest — .av-card--flat inside .av-card would read as a mistake.

Delivery address

14 Fitzwilliam Square, Dublin 2, Ireland

Media card

The image bleeds to the card's edge, which needs overflow: hidden — the one place this build accepts clipping on a card, because the image is the only child that would ever escape and a dropdown inside the body still opens into the top layer. The ratio is fixed rather than the height: a row of cards with different image proportions otherwise has its titles on different lines.

Autumn collection

32 products, live from 1 September

Pricing card

The featured tier carries the brand gradient in its border area, using the same two-background technique as .av-border-gradient — border-image does not follow border-radius, so a rounded gradient border loses its corners. Prices use tabular figures so the tiers line up across the row.

Starter

€9/month

  • Up to 3 projects
  • 1 GB storage
  • Email support

Dashboard Orders Products Customers Account Settings

Keyboard shortcuts