M
MiniDev UI

Relative time · MiniDev UI

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…

relative-time