<ul> are automatically distributed horizontally.
<li> are unstyled and inlined.
<a> are underlined only on :hover.
Link variants#
You can use .secondary, .contrast, and .outline classes (not available in the class-less version).
Buttons#
You can use <button> inside <li>.
Button sizes automatically match link size and margin.
Dropdowns#
You can use dropdowns inside Nav.
Vertical stacking#
Inside <aside>, navs items are stacked vertically.
Breadcrumb#
With <nav aria-label="breadcrumb">, you can turn a nav into a breadcrumb.
You can change the divider with a local CSS custom property --pico-nav-breadcrumb-divider.
Overflow#
The <nav> component uses overflow: visible; on the container and negative margins on children to provide a nice ::focus-visible style for links on keyboard navigation while keeping the content aligned horizontally.