Skip to content
This repository was archived by the owner on Apr 26, 2023. It is now read-only.

SilvanCodes/svelte-the-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

Get it from npm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published