ortaui
  1. Components
  2. Navigation

App Bar

Sticky, blurred page bar with logo, nav, search and actions slots. The nav slides one highlight between links and rests on the active one. Under md the nav becomes a menu button that opens a sheet; under sm the search wraps to its own row.

Installation#

npx shadcn add @ortaui/app-bar

Examples#

Full#

Page content. Scroll: the bar stays, blurred over the page.

Line 1

Line 2

Line 3

Line 4

Line 5

Line 6

Line 7

Line 8

Line 9

Line 10

Line 11

Line 12

API reference#

PropTypeDefaultDescription
logo / nav / search / actionsReactNode-Slots. Every one is optional.
AppBarNavcomponent-Wrap AppBarNavLinks. Renders them inline and, under md, in a sheet. menuLabel names the menu button.
AppBarNavLink activeboolean-Marks the current page (aria-current, highlight rests here). Accepts render for router links.
classNamestring-Merged with the component classes via cn().