Skip to content

Sidebar

Persistent panel structure for application navigation and supporting controls.

Examples

Application navigation

Overview

Compose fixed header and footer regions around scrollable content. Mark the current destination with the active prop.

tsx

import { Sidebar, SidebarContent, SidebarNavItem } from "@standard-ui/react"

<Sidebar>
  <SidebarContent>
    <SidebarNavItem active>Overview</SidebarNavItem>
  </SidebarContent>
</Sidebar>

API

PartRole
SidebarPanel shell.
SidebarContentScrollable main region.
SidebarNavItemInteractive navigation item.

Guidelines

Do

  • Group related destinations
  • Show one active item

Don't

  • Don't overload the footer with navigation