An analog clock for your Svelte apps.
svelte-clock is available on npm. It can be installed with the following command:
npm install svelte-clock --save
svelte-clock is available on yarn as well. It can be installed with the following command:
yarn add svelte-clock --save
Note: Install as a dev dependency ( npm install svelte-clock -D
) ( yarn add svelte-clock --dev
) if using Sapper to avoid a SSR error.
<script>
import Clock from 'svelte-clock';
</script>
<Clock />
If you think any of the svelte-clock
can be improved, please do open a PR with any updates and submit any issues. Also, I will continue to improve this, so you might want to watch/star this repository to revisit.
We'd love to have your helping hand on contributions to svelte-clock
by forking and sending a pull request!
Your contributions are heartily ♡ welcome, recognized and appreciated. (✿◠‿◠)
How to contribute: