Sidebar with Categories

Main content area with horizontal post cards plus sidebar. Categories show post counts and popular tags section with clickable badges.

PRO

Blog13: Sidebar with Categories

A two-column blog index whose main column stacks horizontal post cards (image beside title, tag badge, summary, author avatar and date) and whose sidebar lists categories with post counts and a wrap of clickable popular-tag badges, all wrapped in an optional badge, heading, and description header.

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.

Installation

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

bash
npx shadcn add "https://ui.beste.co/r/blog13?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/blog13?email=YOUR_EMAIL&license_key=YOUR_KEY"

This installs the block to components/beste/block/blog13.tsx, plus the badge and avatar shadcn/ui primitives it uses for the eyebrow/tag badges and the author avatars.

Quick start

The installed file exports blog13Demo alongside the block: the exact props behind the preview above. Spread it to get a working blog index with sidebar in one line.

tsx
import { Blog13, blog13Demo } from "@/components/beste/block/blog13";

export default function BlogPage() {
  return <Blog13 {...blog13Demo} />;
}

Then replace the demo with your own props. Written out, a trimmed setup looks like this:

tsx
import { Blog13 } from "@/components/beste/block/blog13";

export default function BlogPage() {
  return (
    <Blog13
      badge={{ label: "Blog", variant: "default" }}
      heading="Latest Articles"
      description="Insights and tutorials from our team."
      posts={[
        {
          image: { src: "/posts/design-systems.jpg", alt: "Design systems" },
          title: "The Future of Design Systems",
          summary: "How design systems evolve to meet complex web apps.",
          date: "January 15, 2026",
          readTime: "8 min read",
          author: { name: "Lisa Park", title: "Senior Developer" },
          tags: [{ label: "Design", href: "/blog/design" }],
          href: "/blog/design-systems",
        },
      ]}
      categories={[
        { label: "All Posts", count: 24, href: "/blog" },
        { label: "Design", count: 8, href: "/blog/design" },
      ]}
      popularTags={[
        { label: "React", href: "/blog/tags/react" },
        { label: "TypeScript", href: "/blog/tags/typescript" },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string; variant?: "default" | "secondary" | "outline" }Optional eyebrow badge above the heading
headingstringSection heading
descriptionstringSub-heading paragraph under the heading
postsBlogPost[][]Horizontal post cards in the main column
categoriesCategory[][]Rows in the sidebar Categories card
popularTagsTag[][]Badges in the sidebar Popular Tags card
classNamestringExtra classes for the outer <section>
ts
type Author = {
  name: string;
  title?: string;
  avatar?: { src: string; alt: string };
  href?: string;
};

type Tag = {
  label: string;
  href?: string;
};

type BlogPost = {
  image: { src: string; alt: string };
  title: string;
  summary: string;
  date?: string;
  readTime?: string;
  author?: Author;
  tags?: Tag[];
  href?: string;
};

type Category = {
  label: string;
  count?: number;
  href?: string;
};

Behavior notes

More Blog blocks

View all Blog
PRO

blog5

Horizontal List with Icons

Vertical stack of horizontal blog cards with left-aligned thumbnails. Features calendar and clock icons for metadata, author titles, and tag badges.

PRO

blog10

Alternating Feature Cards

Large alternating left-right blog cards with full article summaries. Image and content switch sides for visual variety. Read more buttons included.

FREE

blog4

Featured Hero with Grid

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.

FREE

blog25

Split Image with List

Two-column layout with featured image on left and article list on right. Divider-separated entries with arrow hover effects.

PRO

blog22

Full-Width Stacked Cards

Vertically stacked blog cards with 2:1 aspect ratio images. Full article summaries with author avatars and read more buttons. Long-form content showcase.

PRO

blog27

Newspaper Editorial Style

Classic newspaper layout with serif fonts and bordered headline. Large main story on left, stacked secondary stories on right with dividers.