logo-icon
STW UI

Usage

Basic

STWUI is a fairly no non-sense component library that is straightforward and easy to use. To use simply import the component you want to use and start developing!

svelte
<script lang="ts">
   import { Button } from 'stwui';
</script>

<Button>Hi I am a Button</Button>

Tree Shaking

STWUI also provides individual component libararies to allow for tree shaking to keep those bundles small.

svelte
<script lang="ts">
   import Button from 'stwui/button';
</script>

<Button>Hi I am a Button</Button>