Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

svelte-navbar

hannesgith33MIT0.0.122TypeScript support: included

A cool animated navbar component for Svelte that switches between a side and a bottom navbar in a very funky way

funky, blobby, svelte, navbar, component, animated, responsive

readme

svelte navbar

well, as the name suggest this package provides a svelte-component that would be used as a navbar.

Installation

npm i svelte-navbar

Usage

<script lang="ts">
    import Navbar, {NavbarItem} from 'svelte-navbar';
</script>

<Navbar>
    <NavbarItem on:click={(e) => scrollTop()}>Home</NavbarItem>
    <NavbarItem on:click={(e) => routeToPage('shop', false)}>Shop</NavbarItem>
</Navbar>

API

this is still WIP

Example

an example can be found here with implementation here