Random content

Rotates through slotted children randomly or in sequence for A/B copy and testimonials

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

lr-random-content

import '@aceshooting/lyra-ui/components/lr-random-content.js';

Read guide (English)

Related components

  • Relative time — Displays a locale-aware relative timestamp that refreshes on its own.
  • 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 percentage.
  • 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 colour mode, look, surface, density, and accent.