React relative timestamp that renders just now, 5m ago, 3h ago or 2d ago inside a semantic time element, with the full local date shown as a hover title.
npx shadcn@latest add @minidev/relative-time
Loading the source for relative-time…
Registry Items
relative-time
Configuration
Name
relative-time
Type
UI
Description
React relative timestamp that renders just now, 5m ago, 3h ago or 2d ago inside a semantic time element, with the full local date shown as a hover title.
Files · 1
Registry Items
relative-time
Configuration
Name
relative-time
Type
UI
Description
React relative timestamp that renders just now, 5m ago, 3h ago or 2d ago inside a semantic time element, with the full local date shown as a hover title.