1. Components
  2. Navbar

Components

Navbar

Shows a top navbar menu with dropdown on small devices for your main marketing page.

Basic Usage

Add your logo and nav items to the Navbar.svelte component.

To import the component, use:

/src/routes/(marketing)/+layout.svelte
        <script>
  import "../../app.css"
  import NavBar from "$lib/components/NavBar.svelte"
  import Footer from "$lib/components/Footer.svelte";
</script>



<NavBar />
<slot />
<Footer />