NavigationNavbarCentered

Open in Create
Search
astronomic.dev

NavbarCentered

Free

At the top of every page, when the links are the point: the brand at the start, the links centered, the actions at the end.

File
NavbarCentered.astro
Group
Navigation
Kind
Interactive: inline script
Examples
2
import NavbarCentered from "@astronomic-dev/ui/components/NavbarCentered.astro";

Examples

Drag the orange handle to set the width. Frames get real breakpoints.

  • Static
  • Interactive
  • Framed

Centered links

The brand at the start, the links centered between it and the action, the action at the end. Below the md breakpoint the links fold into a menu button. In a frame, so the breakpoint is real.

main.astro

More links: fold at lg

Six links and two actions need more room, so collapse="lg" folds them into the menu button below 1024 pixels. In a frame, so the breakpoint is real.

collapse-lg.astro
Minimal · Light

Waitlist

Be first in line

Join the waitlist and we'll email you the moment it's out.

You'll also get our newsletter: new themes, plugins and guides. Unsubscribe any time.