JSPM

svelte-hamburger

0.1.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 61
  • Score
    100M100P100Q68323F
  • License MIT

Animated hamburger icon

Package Exports

  • svelte-hamburger

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (svelte-hamburger) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Svelte Hamburger

NPM License

Animated hamburger icon

Usage

npm i svelte-hamburger
<script>
  import Hamburger from 'svelte-hamburger';
</script>

<Hamburger bind:open />

See the API Docs for a full overview of props and options.

Properties

Property Type Default Description
open boolean false Whether hamburger is open
width number 32 Width of the icon
height number 24 Height of the icon
stroke number 2 Thickness of the lines