Skip to content

Sidebar

Vertical application navigation with groups, icons and badges.

App sidebar

Installation

Everything ships in one stylesheet. There is nothing to import per component.

<link rel="stylesheet" href="https://mian.ro/dist/mian.css">

Prefer to own the files? /r/sidebar.json is a registry item with this component's CSS and example markup, ready to copy into your project with any tool that reads the open registry-item format.

Class reference

Class / attributeDescription
mn-sidebarOn a <nav>.
mn-sidebar-group · mn-sidebar-heading · mn-sidebar-linkParts. aria-current="page" marks the active link.

Accessibility

  • Give the <nav> an aria-label. Group headings are text; if they collapse, use <details>.
Choose a noodle

Minimal

Flat

Pixel

Linear

Thin

Glass

Textured

Bold

Elegant

Rounded

On this page