Installation

Two ways to add Whenny to your project. Choose your style.

Recommended: shadcn-style (Own Your Code)

Copy code directly into your project. Full ownership, full customization.

Step 1: Initialize

Step 2: Select modules

|

Step 3: Run this command

Alternative: npm package

npm install whenny whenny-react

Import

import { whenny, compare, duration, calendar } from 'whenny'
import { useRelativeTime, useCountdown } from 'whenny-react'