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.
Timer #
Example #
Usage #
<script lang="ts">
import { Button } from '@foxui/core';
import { Timer, TimerState } from '@foxui/time';
let timer = $state(new TimerState(1000 * 60 * 60));
</script>
<Timer bind:timer />
<Button onclick={() => timer.start()}>Start</Button>
Credits #
- Timer state based on svelte-reactive-timer
- Moving numbers component from number-flow