Browse articles by date.
Vertical timeline archive organized by year and month. Calendar icon with border line connecting entries. Compact text-only format.
A vertical archive that groups posts by year and month parsed from each post's date string, rendering years in descending order with a calendar-icon header and a bordered timeline rail, under which each month lists its posts as compact next/link rows showing the title and a short month/day date plus a hover-revealed chevron.
Upgrade to Pro
Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.
Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.
Radix flavor
npx shadcn add "https://ui.beste.co/r/blog42?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/blog42?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/blog42.tsx, plus the badge shadcn/ui primitive it uses for the section eyebrow badge.
The installed file exports blog42Demo alongside the block: the exact props behind the preview above. Spread it to get a working year archive in one line.
import { Blog42, blog42Demo } from "@/components/beste/block/blog42";
export default function Page() {
return <Blog42 {...blog42Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Blog42 } from "@/components/beste/block/blog42";
export default function Page() {
return (
<Blog42
badge={{ label: "Archive", variant: "default" }}
heading="Blog Archive"
description="Browse articles by date."
posts={[
{ title: "The Future of Web Development", date: "January 28, 2026", href: "/blog/future-of-web" },
{ title: "Year in Review", date: "December 28, 2025", href: "/blog/year-in-review" },
]}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string; variant?: "default" | "secondary" | "outline" } | – | Optional centered eyebrow badge above the heading |
heading | string | – | Optional centered section heading |
description | string | – | Optional muted paragraph under the heading |
posts | BlogPost[] | [] | Posts grouped into the year/month timeline |
className | string | – | Extra classes for the outer <section> |
type BlogPost = {
title: string;
date: string;
href?: string;
};post.date by passing it to new Date(...), so dates must be parseable strings (e.g. "January 28, 2026"); a post with a falsy date is skipped from the reduce, and an unparseable one yields NaN year/"Invalid Date" labels rather than an error.Object.keys(archive).sort((a, b) => Number(b) - Number(a)), but months within a year keep their first-seen insertion order and are not chronologically sorted, so unordered input can produce out-of-order months.toLocaleDateString("en-US", { month: "short", day: "numeric" })), independent of the long month used for the group header.next/link pointing at post.href, falling back to "#" when href is omitted; there are no click callbacks, selection state, or internal useState, the block is purely presentational.badge, heading, or description is provided; each of the three is individually conditional as well.ChevronRight is decorative and hidden by default (opacity-0), fading in only on row hover via the group/blog42 hover group, and titles are clamped to a single line with line-clamp-1.blog18
Blog archive organized by month with compact list entries. Small thumbnails and formatted dates create a scannable chronological view.
blog5
Vertical stack of horizontal blog cards with left-aligned thumbnails. Features calendar and clock icons for metadata, author titles, and tag badges.
blog60
A blog section pairing one linked feature with a hover-zoom image, category label, and byline against a hairline list of five recent posts stamped with their date.
blog58
Image-free article index where every entry is one ruled row carrying the date, the category, the title and the reading time with a corner arrow, stacking to a readable block on mobile.