Import
Usage
Props
When true, the nav uses
position: fixed instead of position: absolute.When true, the nav appears as a floating card with rounded corners and borders instead of full-width.
Disables the backdrop blur effect.
Hides the hamburger menu button and mobile menu panel.
Prevents the mobile menu from auto-closing when clicking outside of it.
Custom background color class for the navigation bar.
Object-based class names for conditional styling.
All standard HTML nav attributes are supported.
Slots
Content aligned to the left side of the nav (e.g., logo).
Content centered in the nav (e.g., main navigation links).
Content aligned to the right side (e.g., theme toggle, user menu).
Content shown in the mobile menu dropdown (hidden on sm+ screens).
Examples
Behavior
The mobile menu automatically closes when clicking outside unless
nodismiss is enabled. Elements with the class nav-ignore-dismiss will not trigger the menu to close. The hamburger menu is hidden on screens sm (640px) and larger.Responsive Design
- Mobile menu appears below the nav bar with smooth transitions
- Hamburger button only visible on screens smaller than
smbreakpoint - Desktop slots (start, center, end) always visible
- Mobile slot only visible when menu is opened and screen is below
sm
Styling Features
- Backdrop blur effect (unless
nobluris set) - Max width of
7xlwith auto margins for centered layout - Smooth transitions with scale and opacity animations
- Z-index of 50 for proper layering