Skip to content

Commit

Permalink
Update the custom navbar example
Browse files Browse the repository at this point in the history
Signed-off-by: Emmanuel Ferdman <[email protected]>
  • Loading branch information
emmanuel-ferdman committed May 15, 2024
1 parent 6588197 commit 701a450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/components_page/components/navbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The `NavbarSimple` will collapse on smaller screens, and add a toggle for reveal

If you want to have more control over the layout of your navbar you can use the `Navbar` component. This gives you full control over the children, but you will have to write your own callbacks to achieve things like the toggle behaviour on small screens. From Bootstrap 5, all elements inside the `NavBar` should be contained within a [`Container`](/docs/components/layout). We also recommend using a `Nav` component to wrap the navigation items, check the [docs here](/docs/components/nav).

Here is an example of a custom navbar, see the `examples/` folder in the [GitHub repo](https://github.com/facultyai/dash-bootstrap-components/blob/main/examples/python/advanced-component-usage/navbars.py) for more.
Here is an example of a custom navbar, see the `examples/` folder in the [GitHub repo](https://github.com/facultyai/dash-bootstrap-components/blob/main/examples/advanced-component-usage/navbars.py) for more.

{{example:components/navbar/navbar.py:navbar}}

Expand Down

0 comments on commit 701a450

Please sign in to comment.