Navbar
Category: Navigation & Structure
Main application header with brand logo, nav links, and drawer trigger.
Basic Usage
Use <Navbar /> directly within your .kiw page or layout templates:
<Navbar class="my-custom-navbar">
<!-- Slot content or properties -->
</Navbar>
Supported Props
actions: Configures theactionsattribute or behavior.brand: Configures thebrandattribute or behavior.brandBadge: Configures thebrandBadgeattribute or behavior.brandBadgeI18n: Configures thebrandBadgeI18nattribute or behavior.brandHref: Configures thebrandHrefattribute or behavior.brandIcon: Configures thebrandIconattribute or behavior.brandName: Configures thebrandNameattribute or behavior.drawer: Configures thedrawerattribute or behavior.drawerBody: Configures thedrawerBodyattribute or behavior.gitHubURL: Configures thegitHubURLattribute or behavior.showLangToggle: Configures theshowLangToggleattribute or behavior.showSidebarToggle: Configures theshowSidebarToggleattribute or behavior.version: Configures theversionattribute or behavior.
class: Additional custom CSS classes to append to the component root.
Visual Tokens & Accessibility
- Design System Stylesheet: Inherits variables from
krewire-ui.css(--border,--radius,--pop-shadow). - Dark Mode: Automatically inverts surface and text colors when
data-theme="dark"or the.darkclass is applied to:root. - Zero-Bloat: Built natively with pure HTML primitives and scoped styles with zero npm dependencies.