Skip to main content
Clever Ops

Free React Blog & Article Components

Long-form reading has well-earned conventions and these components respect them: an article header that establishes hierarchy without a hero image cliché, a sticky table-of-contents rail that tracks scroll position, pull quotes that break rhythm intentionally, an author bio card, prev/next navigation, and a card grid for the index page. Semantics come first, real heading structure, time elements, and nav landmarks, so your writing is as readable to crawlers and screen readers as it is to people.

6 components · MIT licensed · installable with the shadcn CLI

Frequently asked questions

Do these work with MDX or a headless CMS?

Yes. Every component takes plain props, title, date, author, headings, so the source can be MDX frontmatter, Contentlayer, Sanity, or hand-written data. The TOC rail accepts a heading list you can generate from any markdown pipeline.

Does the table of contents track scroll automatically?

The TOC rail uses IntersectionObserver to highlight the active section as you scroll, with smooth anchor navigation. You pass the heading ids; it handles observation, highlighting, and reduced-motion behaviour.

Are the blog components SEO-friendly?

They render semantic HTML, article, header, nav, and time elements with proper heading levels, which is the part a component can own. Structured data and metadata stay in your page layer, where frameworks like Next.js handle them best.