Skip to content

App shell

Top bar with brand, navigation and actions.

In use

Workspace
AL

Page content goes here.

States

Workspace
AL

In a narrow container the nav scrolls sideways.

Code
<AppShell
  brand="Workspace"
  nav={[{ label: "Services", href: "/services", current: true }, { label: "Secrets", href: "/secrets" }]}
  actions={<Avatar name="Ada Lovelace" />}
  renderLink={(p) => <NextLink {...p} />}
>
  {children}
</AppShell>