relative-time-widget Svelte Themes

Relative Time Widget

A HTML widget to display relative time written in Svelte & TypeScript

Relative Time Widget

A small HTML widget that display how many years and months since some specific date.

Provide the date in the URL query parameter since in YYYY-MM format, like ?since=2018-08.

When not embedded, the page will also allow you to copy the iframe embed HTML code for the widget.

Written in Svelte + SvelteKit + TypeScript.

Live Demo

Check it out here!

License

MIT License © Napat R.

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes