Layer Cake [
](https://mhkeller.github.io/layercake)
===
> a headless visualization framework for mostly-reusable graphics with [svelte](https://github.com/sveltejs/svelte)
[](https://github.com/mhkeller/layercake/actions/workflows/node.js.yml) [](https://npmjs.org/package/layercake) [](https://www.npmjs.com/package/layercake)
🍰 [See examples](https://layercake.graphics)
🍰 [Read the guide](https://layercake.graphics/guide)
🍰 [API docs](https://layercake.graphics/guide#layercake-props)
🍰 [View the Component Gallery](https://layercake.graphics/components)
🍰 [Try the starter template](https://github.com/mhkeller/layercake-template)
## Svelte versions
Since v11, the library and the examples use runes instead of the Svelte store API. See the [v10 documentation archive](https://mhkeller.github.io/layercake-v10) for examples of those components.
## Install
```sh
npm install --save layercake
```
## Example
```svelte