Sections · 3 of 5
Navbar
packages/ui/src/astro/sections/navbar.astro5 stories
defaultProps of default
<Navbar title="CPlusPatch" links={[{ href: "/", label: "Home", active: true }, { href: "/projects", label: "Projects" }, { href: "/blog", label: "Blog" }]} />final-linkProps of final-link
<Navbar title="CPlusPatch" links={[{ href: "/", label: "Home", active: true }, { href: "/projects", label: "Projects" }, { href: "/blog", label: "Blog" }]} finalLink={{ href: "/contact", label: "Contact" }} />externalProps of external
<Navbar title="CPlusPatch" links={[{ href: "/", label: "Home", active: true }, { href: "/projects", label: "Projects" }, { href: "/blog", label: "Blog" }, { href: "https://github.com/cpluspatch", label: "GitHub", external: true }]} finalLink={{ href: "https://example.com", label: "Elsewhere", external: true }} />no-linksProps of no-links
<Navbar title="CPlusPatch" links={[]} />many-linksProps of many-links
<Navbar title="A rather long site title" links={[{ href: "/page-1", label: "Page 1", active: true }, { href: "/page-2", label: "Page 2", active: false }, { href: "/page-3", label: "Page 3", active: false }, { href: "/page-4", label: "Page 4", active: false }, …4 more]} finalLink={{ href: "/contact", label: "Contact" }} />