Skip to content

Navigation, layout, and content

Nightwire

Install

Use nw-link for a link in context, nw-navbar for top-level links, and nw-sidenav for a local hierarchy. Breadcrumbs and pagination use aria-current="page" for the current page. nw-tabs styles a tablist and its panels; your controller owns aria-selected, roving focus, arrow keys, and panel visibility. nw-menu styles a command surface; use a controller for menu keyboard behavior or use a native disclosure and ordinary buttons.

<nav class="nw-breadcrumbs" aria-label="Breadcrumb">
<ol>
<li><a href="/">Nightwire</a></li>
<li aria-current="page">Reference</li>
</ol>
</nav>

Use nw-container to bound the page, nw-stack for vertical gaps, nw-cluster for wrapping rows, and nw-grid for repeated tracks. nw-divider separates content groups.

AbyssNocturneTwilightLumen

These badges wrap without changing order.

Nightwire keyboard help
  • Press Tab to move focus.

  • Use data-flavor to scope a theme.

nw-kbd labels keyboard inputs, nw-code marks inline code, nw-avatar supplies image or initials styling, and nw-list organizes rows. Keep a textual label next to an initials-only avatar when the name matters.