Time Ago
pulld/time-agoUnverifiedComponent
Auto-updating relative timestamp — "3 minutes ago", "just now", "in 2 days" — that re-renders on a timer so the label stays fresh without a reload. Use it wherever a raw date would be noise and recency is what matters: comment/post/message timestamps, a notification or activity feed, "last seen"/"last updated"/"last synced" labels, commit or deploy history, table rows (created/modified), or a chat's message time. shadcn/ui ships no time-ago/relative-time component. Pass date as a Date, an ISO string, or epoch milliseconds. Wording comes from the platform's own Intl.RelativeTimeFormat, so it lo
Install it
npx shadcn@latest add https://raw.githubusercontent.com/yu-shell/pulld/main/time-ago.jsonThis registry does not serve an item endpoint we could read, so we hold its metadata but not its source.
Files it writes
More from pulld
All 48 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Announcement Barannouncement-bar | pulld | Components | Unverified | 1 dep | |
| Autosize Textareaautosize-textarea | pulld | Components | Unverified | no deps | |
| Avatar Stackavatar-stack | pulld | Components | Unverified | no deps | |
| Bento Gridbento-grid | pulld | Components | Unverified | no deps | |
| Bulk Action Barbulk-action-bar | pulld | Components | Unverified | no deps | |
| Code Blockcode-block | pulld | Components | Unverified | no deps | |
| Command Palettecommand-palette | pulld | Components | Unverified | 1 dep | |
| Confirm Buttonconfirm-button | pulld | Components | Unverified | no deps |
