chrome:shell.skip

generated:catalog.entry.navbar.title

generated:catalog.entry.navbar.description

@xngui/components/navbar
@xngui/components/navbar

chrome:demo.section

chrome:demo.preview

demo-preview:hints.category.navigation:
Tab
demo-preview:hints.category.focus:
Focus
demo-preview:hints.category.shortcuts:
Enter / Space
demo-preview:projection.slots-label:
[xStart] ng-content [xEnd]
import { Component } from '@angular/core';
import { XButton } from '@xngui/components/button';
import { XNavbar } from '@xngui/components/navbar';
 
@Component({
selector: 'app-example',
imports: [XButton, XNavbar],
templateUrl: './navbar.component.html',
})
export class ExampleComponent {}

chrome:demo.events.title

chrome:demo.events.empty

chrome:demo.api.title

x-navbar

chrome:demo.api.col.property
chrome:demo.api.col.type
chrome:demo.api.col.default
chrome:demo.api.col.description
sticky
boolean
false
Stick the host to the top of the viewport while scrolling (`[data-sticky]`).
size
XSize
—
Visual size tier — falls back to XConfigService when unset.
density
XDensity
—
Spacing offsets — orthogonal to `size`; falls back to XConfigService when unset.
ariaLabel
string
—
Accessible name for the banner region — falls back to the `navbar.ariaLabel` i18n key.