Animated hamburger icon
npm install svelte-hamburger
 
Featherweight, performant, animated hamburger menu icon for Svelte with no external dependencies.
``sh`
npm i svelte-hamburger
`svelte
`
| Property | Type | Default | Description |
| --------- | --------- | ------- | ---------------------------------------- |
| open | boolean | false | Whether hamburger is open |duoLine
| | boolean | false | Whether to only use 2 lines for the icon |
`svelte`
Set the desired height, width, and color of the icon direclty on the component. It will consume class strings and you can target them with a :global modifier in your Svelte styles.
`svelte
`
Additionally the following CSS properties are available for more fine grained control over the style of the icon.
| Property | Default | Description |
| -------------- | ------- | ----------------------- |
| --line-width | 2px | Width of the icon lines |
`svelte``