# App shell

Top bar with brand, navigation and actions.

Import from `@a31labs/rax/app-shell`.

## Usage

```tsx
<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>
```

## Rules

Props: `brand`, `nav` (`{ label, href, current, attrs }`), `actions`, children, `renderLink` (plug in a router link). 56px bar on surface with a bottom `line`; nav items look like Tabs, with a 3px bar on the current page.

Page: https://rax.a31.at/components/app-shell
