xevrion

Relative time

Text

About

Says "4 min ago" and changes only at the moment the words would change.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Relative time to your project and fits it to your theme.

Code

How Relative time is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import RelativeTimeDemo from "@/components/ui/xevrion-relative-time";

export default function Demo() {
  return <RelativeTimeDemo />;
}

More by xevrion

View all
  • Spoiler text

    Spoiler text

    5
  • Tape measure

    Tape measure

    4
  • Carousel 3d

    Carousel 3d

    4
  • Mini calendar

    Mini calendar

    3
  • Pricing toggle

    Pricing toggle

    3
  • QR reveal

    QR reveal

    3
  • Sticky stack

    Sticky stack

    3
  • Bubble wrap

    Bubble wrap

    2

More in Text

View all
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    15
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Scroll Fill Headline

    Scroll Fill Headline

    67
  • Blur Reveal

    Blur Reveal

    401
  • Apple Hello Effect

    Apple Hello Effect

    692
  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Text Reveal

    Text Reveal

    31
  • NeonRGBTextEffect

    NeonRGBTextEffect

    156