Relative time

Displays a locale-aware relative timestamp that refreshes on its own.

Formatters, copy/export, JSON viewer, dividers, and helpers.

lr-relative-time

import '@aceshooting/lyra-ui/components/lr-relative-time.js';

Read guide (English)

Related components

  • Counter — Countdown or count-up clock that ticks through years, months, days, hours, minutes and seconds.
  • Number ticker — Counts up to a value when scrolled into view, formatted for the locale as a number, currency or percent.
  • Tour — Spotlight-and-step guided walkthrough for first-run product onboarding.
  • Visually hidden — Hides content visually while keeping it available to screen readers, becoming visible again on focus.
  • Style panel — Ready-made appearance controls for color mode, look, surface, density, and accent.
  • Transfer manager — Shows application-controlled upload and download queues with overall progress and pause, resume, cancel and retry actions.