tigran tumasov

Relative Time Card

Cards 13

About

Popover to show a given date in local time.

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

Code

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

Usage.tsx

import { RelativeTimeCard } from "@/components/ui/relative-time-card-1";

export default function DemoOne() {
  return (
    <RelativeTimeCard date={new Date().getTime()} side="top">
      <button>Hover Me</button>
    </RelativeTimeCard>
  );
}

More by tigran tumasov

View all
  • Product Hunt Badge

    Product Hunt Badge

    1.8K
  • Book

    Book

    162
  • Calendar

    Calendar

    152
  • Theme Switcher

    Theme Switcher

    135
  • Snippet

    Snippet

    124
  • Table

    Table

    123
  • Toggle

    Toggle

    89
  • Feedback

    Feedback

    88

More in Cards

View all
  • Statistics Card 2

    Statistics Card 2

    264
  • Course Design Cards

    Course Design Cards

    1.1K
  • Card

    Card

    70
  • Stats cards with links

    Stats cards with links

    39
  • The Item one

    The Item one

    3
  • Card Studio

    Card Studio

    7
  • Statistics Card 7

    Statistics Card 7

    292
  • Item

    Item

    10