svelte-the-stack Svelte Themes

Svelte The Stack

Get it from npm.

Welcome

This component implements 'The Stack' from EveryLayout.

Install it with:

npm i --save-dev @silvancodes/svelte-the-stack

It is used like so:

<script>
    import Stack from '@silvancodes/svelte-the-stack';
</script>

 <Stack>
    <your/>
    <html/>
    <here/>
 </Stack>

When you setup a global CSS with a scale as described here or have your own CSS variables it can be parametrized like so:

<Stack margin="--some-css-variable">
    ...
 </Stack>

Top categories

Loading Svelte Themes