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.
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.
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/blog60?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/blog60?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/blog60.tsx plus the badge23 and button21 components it uses for the eyebrow and the archive link.
The installed file exports blog60Demo alongside the block: the exact props behind the preview above. Spread it to get a working blog section in one line.
import { Blog60, blog60Demo } from "@/components/beste/block/blog60";
export default function BlogPage() {
return <Blog60 {...blog60Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Blog60 } from "@/components/beste/block/blog60";
export default function BlogPage() {
return (
<Blog60
badge={{ label: "Writing" }}
heading="Notes from inside a working practice"
button={{ label: "All articles", href: "/blog" }}
featured={{
category: "Migration",
title: "What eleven years of records actually looks like when you export it",
excerpt: "We opened one practice's full export and read every column.",
author: "Priya Nandan",
readingTime: "9 min read",
href: "/blog/eleven-years",
image: { src: "/blog/export.jpg", alt: "Paperwork and a calculator on a desk" },
}}
posts={[
{
date: "12 May",
category: "Operations",
title: "The waiting list is a scheduling problem, not a queue",
href: "/blog/waiting-list",
},
{
date: "28 Apr",
category: "Billing",
title: "Why we raise the invoice from the appointment, not the month",
href: "/blog/invoicing",
},
]}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string } | – | Eyebrow above the heading, rendered through Badge23 |
heading | string | – | Section heading, capped at max-w-2xl |
button | { label: string; href: string } | – | Outline archive link, aligned to the heading baseline |
featured | FeaturedPost | – | The lead article, rendered as one linked column |
posts | ListedPost[] | [] | Recent posts as linked hairline rows |
className | string | – | Extra classes for the outer section |
type PostImage = {
src: string;
alt: string;
};
type FeaturedPost = {
category: string;
title: string;
excerpt: string;
author: string;
readingTime: string;
href: string;
image: PostImage;
};
type ListedPost = {
date: string;
category: string;
title: string;
href: string;
};Link elements, so the entire card and the entire row are single targets. Everything inside is a span rather than a block element, which is what keeps that markup valid.group/blog60 on the feature and group/blog60row on the rows, so the image zoom and the row arrow never trigger each other. Named groups also mean nesting this block inside another grouped component is safe.motion-safe:, so they are skipped for anyone who has asked their system to reduce motion.first:border-t-0 first:pt-0 and last:pb-0, so the list sits flush at both ends of its column and lines up with the top of the feature image beside it.lg:pt-2 to compensate for the optical difference between an image edge and a text baseline.flex-wrap items-end justify-between, so the archive button sits on the heading's baseline on wide screens and drops below it when the heading needs the width.date and readingTime are plain strings, never parsed or formatted, so the block renders exactly what you pass and stays free of locale differences between server and client.blog4
Large featured article with side-by-side image and content, followed by a three-column grid of secondary posts. Read more buttons and author details included.
blog43
A blog listing with an eyebrow over a hairline rule, a two-column heading, and three linked article cards with a hover-zoom image, a category label, a title, an excerpt, and byline.
blog25
Two-column layout with featured image on left and article list on right. Divider-separated entries with arrow hover effects.
blog13
Main content area with horizontal post cards plus sidebar. Categories show post counts and popular tags section with clickable badges.