# Portfolio Blog and Writing: Archive By Year

A chronological archive grouping posts under large year labels with post counts, each year holding a ruled list of titles, dates, and read times.

- Page: https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/archive-by-year
- Collection: [Portfolio](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro), Standard tier
- Group: [Blog and Writing](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/archive-by-year.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/portfolio-pro-blog-sections-archive-by-year
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- Installs to: `@/components/blocks/portfolio-pro/blog-sections/archive-by-year`

## About this block

Archive by Year is my full writing history on one page: a
heading and lede up top, a post count reading 14 posts
since 2023 flush right, then a stack of year groups. Each
group pairs a large year label and its own post count in a
120px column beside a ruled card of that year's posts, and
every row carries the title, the publish date, and the read
time flush right. The years run newest first, from 2026
back to 2023.

Years are one array, each holding its own posts. The total
count is derived, so adding a post to any year updates the
header on its own and the two-column grid keeps the year
label anchored while the list grows underneath it.

## When to use

Reach for this block as the archive page a reader lands on
when they want everything, not just the latest few posts.
The installer swaps the year groups, post titles, dates,
and read times for their real content, and the counts follow
from the data.

A natural flow around it on a Portfolio Pro page:

**Before**

- [Recent writing](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections)
- [Name and role hero](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/hero-sections)

**After**

- [Newsletter signup](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/newsletter-sections)
- [Footer](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/footers)

## What you can display

One strong use is the complete writing archive. Other uses:

- **Talk history.** Group talks by year, conference name in
  place of the date, duration as the read time.
- **Release log.** Group versions by year, each row a
  release with its date and notes length.
- **Shipped work.** Group projects by year, the client or
  title as the row, launch month flush right.

> Tip: keep the years newest first so the reader meets your
> current work before scrolling into the older archive.

## More in Portfolio Blog and Writing

- [Article Body](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/article-body)
- [Article Series](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/article-series)
- [Article Table of Contents](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/article-toc)
- [Author Bio Card](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/author-bio-card)
- [Blog Categories](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/blog-categories)
- [Blog Post Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/blog-post-grid)
- [Blog Post Header](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/blog-post-header)
- [Blog Sidebar Layout](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/blog-sidebar-layout)
- [Featured And List](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/featured-and-list)
- [Featured Post](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/featured-post)
- [Link Roundup](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/link-roundup)
- [Magazine Blog Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/magazine-blog-grid)
- [Most Read List](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/most-read-list)
- [Newsletter Issues](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/newsletter-issues)
- [Post List Rows](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/post-list-rows)
- [Published Elsewhere](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/published-elsewhere)
- [Read Next Posts](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/read-next-posts)
- [Recent Writing](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/recent-writing)
- [Tag Filter Blog](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/tag-filter-blog)
- [Three Card Row](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/three-card-row)
- [Writing With Topics](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/blog-sections/writing-with-topics)
