Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/flo-bit/ui-kit. 🦊 fox ui, svelte 5 and tailwind 4 flo-bit.dev/ui-kit
Something went wrong. Try again.
123456789101112131415161718192021222324<script> import { Subheading } from '$lib/components/base/heading'; import { Progress } from '$lib/components/extra/progress'; import { PulseLoader } from '$lib/components/extra/pulse-loader'; import { Text } from '$lib/components/base/text';
let progress = $state(20);
$effect(() => { setInterval(() => { progress = progress > 100 ? 0 : progress + Math.random() * 40; }, 500); });</script>
<Subheading class="mb-2">Loader</Subheading><Text class="mt-4 mb-2">Bar Loader</Text>
<Progress {progress} />
<Text class="mt-4 mb-2">Pulse Loader</Text>
<PulseLoader />