Dev Design Library

Relative Time

Relative Time is a text component from UI Lab (React).

Relative Time preview
Library
UI Lab
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add https://lab.xevrion.dev/r/relative-time.json
Files
  • src/lab/components/relative-time.tsx
  • src/lib/use-reduced-motion.ts
  • src/lib/cn.ts
  • src/lab/preview-play.ts
Source
https://github.com/xevrion/ui-lab

Categories

More from UI Lab