Daniil Maryakhin

Relative time card 2

Component

About

relative-time-card-2relative-time-card-2relative-time-card-2

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

Code

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

Usage.tsx

import React from "react";
import { RelativeTimeCard } from "@/components/ui/relative-time-card-2.tsx";
import { Button } from "@/components/ui/button";

export const Demo = () => (
    <div className="flex flex-col h-screen w-full items-center gap-2 justify-center">
        <div className="font-bold text-xl dark:text-white">Default</div>
        <RelativeTimeCard date={new Date().getTime()} side="top">
            <Button>Hover Meeee</Button>
        </RelativeTimeCard>
    </div>
);

More by Daniil Maryakhin

View all
  • dddddd

    dddddd

  • ddoaoaoaaooao222

    ddoaoaoaaooao222

  • themetheme

    themetheme

  • 222222222222

    222222222222

  • 111111111

    111111111

  • 123123123

    123123123

  • hiiiiiiii

    hiiiiiiii

  • hi-ser

    hi-ser

Explore more