API and Development
Navbar from @prepared911/ui/navbar is the page banner. Slots go in order: NavbarStart, NavbarTabs, NavbarEnd. Start and end are as wide as their content. The tabs stay centered. There is no app switcher and no text-only brand variant.
| Prop | Meaning |
|---|---|
sticky | Sticks to the start edge. Default false. |
stickyInset | Space step between the stuck bar and the edge. |
landmark | Banner by default. Switch to a nav and pass label when it is not the page banner. |
href and label when the mark is a link home. Pass label alone when the mark is an image with that name. Pass children to replace the mark. There is no variant and no ariaLabel.
href, label, optional icon and counter. currentPath, navigate, and matchPath are the routing hand-off. Routes that do not fit move into a menu named by overflowLabel. There is no renderTab and no per-item onClick.