This library requires that you have a SvelteKit project with Tailwind CSS set up. If you haven’t done so yet, please refer to the official documentation to begin.
To install the library, run:
pnpm add -D @ukasyah-dev/ui
Update src/routes/+layout.svelte
file:
<script lang="ts">
import { Provider } from '@ukasyah-dev/ui';
import '@ukasyah-dev/ui/styles.css';
let { children } = $props();
</script>
<Provider>
{@render children()}
</Provider>
That’s it! You’re now ready to build with ukasyah-dev/ui
.