PublishedDate

Show Preview
PublishedDate

About PublishedDate

PublishedDate Component

Display relative timestamps like “5 hours ago”, “2 weeks ago”, or “3 months ago” just like YouTube’s posted dates. Perfect for blogs, video platforms, news sites, and apps that need dynamic date display.

The Time Ago Component brings YouTube-style date functionality to your Framer projects. Instead of showing static dates, it automatically calculates and displays relative time (e.g. “posted 5 hours ago” or “published 2 months ago”).

This component updates seamlessly based on the current time, making your projects feel modern, dynamic, and user-friendly. Whether you’re building a content platform, blog, news portal, or social app, this component keeps your UI fresh and engaging without manual updates.

Key Features

  • 🔄 Automatic relative time calculation — no manual updates needed.

  • Multiple time ranges supported — minutes, hours, days, weeks, months, years.

  • 🧠 Smart plural handling — “1 day ago” vs. “2 days ago.”

  • 🎨 Lightweight design — styled to look simple and readable like YouTube.

  • 🔌 Reusable — just pass a publishedDate property, and it works instantly.

  • 🛠 Customizable — easily style fonts, colors, and placement to match your brand.

💡 Use Cases

  • 📺 Video platforms — show when a video was posted (YouTube-like).

  • 📰 Blogs & News sites — keep readers updated with “Published 3 hours ago.”

  • 📱 Social media apps — display user post timestamps dynamically.

  • 🛒 E-commerce product updates — “Added 2 weeks ago” or “Back in stock 3 days ago.”

  • 🎤 Podcasts or event listings — “Episode uploaded 1 month ago.”

Why This Component?

Instead of showing boring, static dates, give your users human-friendly, real-time posted dates that create trust and urgency. People love knowing how “fresh” content is, this simple feature boosts engagement across blogs, apps, and platforms.

🔧 Technical Details

  • Input: publishedDate (Date format)

  • Output: Text displaying relative time

  • Updates automatically on reload/visit

  • Built for Framer, no external dependencies

📦 What’s Included

  • The Time Ago Component

  • Lifetime updates

🎯 Applications

  • Content creators who want their websites to feel like YouTube/Twitter.

  • Agencies building blogs, video sites, or social platforms for clients.

  • E-commerce brands wanting fresher UI with relative product timestamps.

  • Developers/designers who want a ready-made drop-in solution.

✨ With this component, your projects feel alive, modern, and always up to date, just like the big platforms people love.