LAYOUT
AppTopBar
Site header with three slots: brand, navigation, and actions. Defaults to sticky top placement; opt out via sticky={false}.
Import
Live preview
DEMO
Theme
Basic usage
Non-sticky variant
API
AppTopBar props
| Prop | Type | Default | Description |
|---|---|---|---|
| logo* | ReactNode | — | Branding slot. Wrap a Next link or anchor that points to home. |
| nav | ReactNode | — | Inline navigation. Renders inside a <nav> element. |
| actions | ReactNode | — | Right-aligned controls. Compose with AttrToggleGroup, Popover, etc. |
| sticky | boolean | true | Stick the bar to the viewport top with z-index header. |
| className | string | — | Tailwind classes are merged on top of the defaults. |
Accessibility
- The header renders as a
<header>(banner role). - Wrap the brand mark in a link with an
aria-labelwhen the label is decorative (icon-only).