svelte-auto-clock

A simple Analog and Digital Clock display with Date. This was built with tailwindcss and may update it to standard css in the future.

Install

pnpm i svelte-auto-clock
yarn svelte-auto-clock
npm i svelte-auto-clock

Use

<script>
    import Clock from "svelte-auto-clock";
</script>


<div class="absolute left-2 bottom-2">
    <Clock 
        width={150} 
        card={true} 
        cardColor="bg-blue-100" 
        textSize="16" />
</div>

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes