Navbar
Navigation container with responsive dropdown menus and branding
Class Reference Basic
Div(
Div(
Button(
Icon.menu_bars(),
cls="btn btn-square btn-ghost"
),
cls="flex-none"
),
Div(
A("daisyUI", cls="btn btn-ghost text-xl"),
cls="flex-1"
),
Div(
Button(
Icon.three_dots(),
cls="btn btn-square btn-ghost"
),
cls="flex-none"
),
cls="navbar bg-base-100 shadow-xl rounded-box"
)
Auto-import documentation coming soon...
Responsive
Colors
Div(
Button("daisyUI", cls="btn btn-ghost text-xl"),
cls="navbar bg-neutral text-neutral-content shadow-xl rounded-box"
),
Div(
Button("daisyUI", cls="btn btn-ghost text-xl"),
cls="navbar bg-base-300 shadow-xl rounded-box mt-4"
),
Div(
Button("daisyUI", cls="btn btn-ghost text-xl"),
cls="navbar bg-primary text-primary-content shadow-xl rounded-box mt-4"
)
Auto-import documentation coming soon...
Class Reference
Class | Type | Description |
---|---|---|
navbar | Component | Base container class |
navbar-start | Part | Left-aligned content |
navbar-center | Part | Centered content |
navbar-end | Part | Right-aligned content |
Do you have a question? ask the community
Do you see a bug? open an issue on GitHub
LLMs Context: Full Markdown | This Component