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
  • Tape measure

    Tape measure

    2
  • Pricing toggle

    Pricing toggle

    2
  • Carousel 3d

    Carousel 3d

    2
  • Sticky stack

    Sticky stack

    2
  • Spoiler text

    Spoiler text

    2
  • Text progress

    Text progress

    2
  • Bubble wrap

    Bubble wrap

    1
  • Binary year

    Binary year

    1

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    14
  • Scroll Fill Headline

    Scroll Fill Headline

    67
  • Blur Reveal

    Blur Reveal

    399
  • Apple Hello Effect

    Apple Hello Effect

    692
  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Text Reveal

    Text Reveal

    31
  • NeonRGBTextEffect

    NeonRGBTextEffect

    156