0% Complete


To use ubeac components in your svelte based projects you need to install @ubeac/svelte npm package.

npm install @ubeac/svelte

Use with SvelteKit

To use uBeac components in sveltekit based projects you need to import CSS styles in your root +layout.svelte file.

<!-- src/routes/+layout.ts -->

	import { Button } from '@ubeac/svelte';
	import '@ubeac/svelte/styles/tabler.css';
<Button outline color="primary">Click Me!</Button>

Now you are able to use uBeac components in any page or component in your project.

Use with Svelte + Vite

You can import styles from @ubeac/svelte/styles/tabler.css in your App.svelte or main.js file