made with Svelte

Svelte Relative Time

Relative Time for Svelte

Visit Site

Description

Relative Time for Svelte

"svelte-relative-time offers a lightweight relative-time display available as a Svelte use:action or component."

  • Action version is only 1006 bytes minified / 620 bytes gzipped
  • Component version enables SSR
  • Live updates by default (can be disabled)
  • Uses single interval timer for updating all components
  • Lightweight and GC friendly (single Intl.RelativeTimeFormat used per locale)
  • Instance updates scheduled for new visible change
  • Instance updates synchronized so all happen together

Creator

Simon Green
@CaptainCodeman


Social Media Links

shadcn-svelte-extras Additional Shadcn UI Components
icon-eye-dark Created with Sketch. 1.110
Trading Card Holographic Effect Advanced CSS Styles for Holo Effects
icon-eye-dark Created with Sketch. 2.971
Sentry for Svelte Svelte Error & Performance Monitoring
๐Ÿงก Sponsored by Friends
image-koala Created with Sketch.
Make this Koala happy and follow us on X!
Svelte Chart.js Wrapper for Chart.js
icon-eye-dark Created with Sketch. 10.220
Storyblok Svelte Svelte SDK for Headless CMS Storyblok
icon-eye-dark Created with Sketch. 5.715