Blog Page React template for Tailwind CSS v4
v1.1.0Updated in 1.9.0
A React blog page template: a featured post, category chips, live search, a grid or list of post cards, pagination and a newsletter band.
The page opens with the featured post as one large card; every card is a single link to /blog/<slug> with its focus ring on the card. Tap a category chip (All, Product, Engineering, Design, Company, Guides; each shows its post count) to filter, or type in the search field (press / to focus it) and the cards filter live by title, excerpt and author while the field shows the result count. While filtering, the featured card steps aside and its post joins the grid; cards slide into place. No match shows an empty state with Clear filters. Load more posts appends the next page (the button spins while it loads and the bar under it shows how many you have seen), or numbered pagination pages through them and scrolls back to the filters. The newsletter band validates the email and confirms inline. On phones the chips become one row that scrolls sideways, the grid collapses to one column and the list layout puts a square cover beside each title.
Blog Page is a Pro React template in the React website templates category, written in TypeScript for React 19 and Tailwind CSS v4. It installs as source with npx wingo-ui@latest add blog-page, together with Marketing Section, Marketing Header, Marketing Footer, Avatar, Badge and 10 more and the npm packages motion and lucide-react.
Built with
The sections this page is made of. In the full-screen preview, hold Alt to outline each one on the page.
Add to a project
Requirements: React 19 and Tailwind CSS v4, in Next.js (App Router or Pages), Vite or React Router. Installation guide · Next.js setup · Vite setup
npx wingo-ui@latest add blog-pageBlog Page is part of Pro, with 298 more Pro items: $8 a month or $150 once. 14-day refund before you download any Pro item. See plans
Usage
Import BlogPage from @/components/templates/blog-page.
// app/(marketing)/blog/page.tsx
"use client"
import Link from "next/link"
import { BlogPage } from "@/components/templates/blog-page"
import { BLOG_POSTS } from "@/components/templates/blog-page-data"
export default function BlogRoute() {
return (
<BlogPage
linkComponent={Link}
posts={BLOG_POSTS}
onSubscribe={(email) =>
fetch("/api/newsletter", { method: "POST", body: JSON.stringify({ email }) })
}
/>
)
}Props
designdefault"classic""classic" | "editorial" | "minimal"The whole page's look. classic follows the layout props on a glow with muted bands; editorial: a soft page, a centered header, a display-size title over a heavy rule, the featured post as a big story with a wide square cover, tab-style category filters, posts as ruled rows with the date in its own column, a split newsletter and a centered footer; minimal: a plain page, a transparent header, a narrow column, the featured post and every post as plain text lines with no covers or cards, text filters, no band and a simple footer. headerProps and footerProps still win.
postsdefault"BLOG_POSTS"BlogPost[]Newest first: { slug, title, excerpt, category, date, readingTime, author, cover?, featured?, href? }. The one with featured: true leads the page.
categoriesdefault"BLOG_CATEGORIES"BlogCategory[]{ value, label } chips after All; a post's category is a value.
labelsdefault"DEFAULT_BLOG_PAGE_LABELS"Partial<BlogPageLabels>Every visible string: the heading, chips, search, empty state, pagination and newsletter copy.
categorystringControlled category filter ("all" or a category value); pair it with onCategoryChange.
defaultCategorydefault"all"stringThe category the page opens on while uncontrolled.
onCategoryChange(category: string) => voidCalled when a chip is picked.
defaultQuerydefault""stringThe search text the page opens with.
layoutdefault"grid""grid" | "list"grid: cover on top of each card; list: one post per row with the cover beside it. Applies to the classic design.
columnsdefault32 | 3Grid columns on desktop (one on phones, two on tablets). Applies to the classic design.
paginationdefault"load-more""load-more" | "numbers"load-more appends a page per press; numbers pages through the posts.
pageSizedefault6numberPosts per page (after the featured one).
onLoadMore() => (void | Promise<unknown>)Load more; a returned promise keeps the button loading. Without it the page waits 700 ms.
showFeatureddefaulttruebooleanThe featured post card under the heading.
showCategoriesdefaulttruebooleanThe category chips.
showSearchdefaulttruebooleanThe search field.
showNewsletterdefaulttruebooleanThe newsletter band before the footer.
headerdefaulttruebooleanThe sticky marketing header; turn it off when the page sits in a site layout.
footerdefaulttruebooleanThe marketing footer.
headerPropsPartial<MarketingHeaderProps>Passed to MarketingHeader (announcement, ctaTone, items...).
footerPropsPartial<MarketingFooterProps>Passed to MarketingFooter.
cardVariantdefault"plain""plain" | "raised"plain: covers and text right on the page; raised: each post on a surface card. Applies to the classic design.
coversdefault"color""color" | "mono"Drawn covers tinted per category, or all neutral.
tonedefault"neutral""neutral" | "brand" | "success" | "warning" | "danger" | "info"The selected chip, the pagination and the newsletter button.
backgrounddefault"glow""plain" | "soft" | "glow" | "aurora" | "grid" | "dots"The main background: plain is the bare page color; the others tint the page and add a glow, an aurora, a grid or dots over the first screen. A design picks its own unless you set one.
backgroundColordefault"oklch(0.62 0.14 275)"stringThe tint and glow color of the main background.
bandBackgrounddefault"muted""muted" | "tinted" | "gradient" | "dots"The secondary background of the alternating bands. Cards, fields and tiles inside a band are lifted one step above it, so they never share its color.
bandColordefault"oklch(0.62 0.14 275)"stringThe tint of tinted and gradient bands; defaults to backgroundColor.
radiusdefault"md""sm" | "md" | "lg"Radius of covers and cards: 12, 16 or 24px.
loadingdefaultfalsebooleanSkeleton cards in the real layout.
animateIndefaulttruebooleanThe heading and featured post rise in once on mount; off in thumbnails and under reduced motion.
localedefault"en-US"stringIntl locale for dates and counts.
getPostHref(post: BlogPost) => stringWhere a card links; default post.href, else /blog/<slug>.
onSubscribe(email: string) => (void | Promise<unknown>)The newsletter signup; a rejected promise shows the error. Without it the form waits 900 ms and succeeds.
linkComponentdefault"<a>"(props: LinkComponentProps) => ReactNodeThe router link for every link (next/link in an app); default the LinkProvider's.
classNamestringClasses for the root.
classNamesPartial<Record<BlogPageSlot, string>>Classes for intro, featured, filters, chips, search, posts, pagination and newsletter.
Parts
BlogPostCard
componentOne post as a single stretched link: grid, list or the large featured layout. Takes article props.
postBlogPostThe post.
hrefstringDefault post.href, else /blog/<slug>.
layoutdefault"grid""grid" | "list" | "featured" | "story" | "row" | "text"Cover on top, beside the text, the large lead card; story: a wide cover over a display title; row: a ruled row with a date column; text: a plain text line with no cover.
variantdefault"plain""plain" | "raised"Right on the page or on a surface card.
radiusdefault"md""sm" | "md" | "lg"Cover and card radius.
categoryLabelstringThe category's display name.
coversdefault"color""color" | "mono"Tinted per category or neutral.
headingAsdefault"h3""h2" | "h3"The title element.
localedefault"en-US"stringDate format.
featuredLabeldefault"Featured"stringThe badge on the featured layout.
minRead(minutes: number) => string"11 min read".
linkComponent(props: LinkComponentProps) => ReactNodeThe router link.
BlogCover
componentA cover drawn in code (a category tint, a pattern picked per post and the category glyph), or a photo when src is set. Takes div props; size it with an aspect class.
srcstringA photo; without it the cover is drawn.
altdefault""stringAlt text of the photo.
seedstringPicks the pattern and glow (the post slug).
categorystringThe category value: its glyph and tone.
toneToneReplaces the category's tone.
iconReactNodeReplaces the category's glyph.
sizedefault"md""sm" | "md" | "lg"The glyph tile.
BlogPostMeta
componentThe author avatar, name, date and reading time of a post. Takes div props.
postBlogPostThe post.
sizedefault"sm""sm" | "lg"sm: one line with a 24px avatar; lg: a 40px avatar over two lines.
showAvatardefaulttruebooleanThe author avatar.
localedefault"en-US"stringDate format.
minRead(minutes: number) => string"11 min read".
formatBlogDate
functionformatBlogDate("2026-09-29", "en-US") gives "Sep 29, 2026", in UTC so server and browser agree.
BLOG_POSTS
constantTwelve sample Acme posts from 2026, newest first; the board performance post is featured.
BLOG_CATEGORIES
constantProduct, Engineering, Design, Company and Guides.
BLOG_AUTHORS
constantThe Acme team as BlogAuthor objects with roles and bios.
BLOG_CATEGORY_ICONS
constantThe lucide glyph drawn on each category's covers.
BLOG_CATEGORY_TONES
constantThe tint of each category's covers and label.
DEFAULT_BLOG_PAGE_LABELS
constantThe English strings.
BlogPost
type{ slug, title, excerpt, category, date, readingTime, author, cover?, featured?, href? }.
BlogAuthor
type{ name, role, avatar?, bio?, href? }.
BlogCategory
typeOne category chip, { value, label }; a post's category holds the value.
BLOG_PAGE_DESIGNS
constantThe design names, classic first: ["classic", "editorial", "minimal"].
BlogPageProps
typeProps of BlogPage: content, layout switches, labels and callbacks.
BlogPageDesign
type"classic" | "editorial" | "minimal".
Examples
Editorial design
design="editorial": a display title over a heavy rule, the featured post as a big story, tab filters and ruled rows with a date column.
Minimal design
design="minimal": a transparent header and a narrow column of plain text lines, with no covers, cards or bands.
List layout, numbered pages
One post per row with the cover beside it, four per page, paged with numbers.
Raised cards, brand tone
Surface cards in two columns, larger radius and the marketing orange on the chips and the newsletter.
Engineering, no results
Opens on the Engineering chip with a search nothing matches: the empty state with Clear filters.
Monochrome, inside a site layout
Neutral covers, no header, footer or newsletter: the index inside an existing layout.
Loading
Skeleton cards in the real layout while posts load.
Dependencies
Files
- components/templates/blog-page.tsx
- components/templates/blog-page-data.ts
FAQ
Is the React Blog Page template free?
The preview, props and docs are free; copying the source needs a Pro plan. See plans.
How do I install Blog Page?
Run npx wingo-ui@latest add blog-page. It also adds the Wingo UI items it builds on (Marketing Section, Marketing Header, Marketing Footer, Avatar, Badge and 10 more) and the npm packages motion and lucide-react. With shadcn, add the @wingo-ui registry with your API key, then run npx shadcn@latest add @wingo-ui/blog-page.
How does Blog Page behave on phones?
On phones the chips become one row that scrolls sideways, the grid collapses to one column and the list layout puts a square cover beside each title.
See also
Used in
Related guides
- Nextjs Blog Template: Markdown, Live Demos and JSON-LD
Build it: screens and apps10 min read
New components by email
New posts, product news and occasional offers from Wingo UI. We count clicks to keep it relevant.