Category Tabs Filter

Filterable blog grid with tab navigation for categories. Posts automatically filter by category selection with smooth content switching.

PRO

Blog8: Category Tabs Filter

A category-tabbed blog grid: a centered badge/heading/description header sits above a shadcn Tabs bar whose triggers come from your category list, and each tab panel renders a responsive card grid of matching posts, every card showing a hover-zoomed cover image, a two-line-clamped title and summary, and an author avatar with read time.

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/blog8?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

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

This installs the block to components/beste/block/blog8.tsx, plus the badge, avatar, and tabs shadcn/ui primitives it uses for the header eyebrow, author images, and the category tab bar.

Quick start

The installed file exports blog8Demo alongside the block: the exact props behind the preview above. Spread it to get a working filterable blog grid in one line.

tsx
import { Blog8, blog8Demo } from "@/components/beste/block/blog8";

export default function Page() {
  return <Blog8 {...blog8Demo} />;
}

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

tsx
import { Blog8 } from "@/components/beste/block/blog8";

export default function Page() {
  return (
    <Blog8
      badge={{ label: "Blog", variant: "default" }}
      heading="Browse by Category"
      description="Find articles that match your interests."
      categories={[
        { label: "All", value: "all" },
        { label: "Design", value: "design" },
        { label: "Development", value: "development" },
      ]}
      posts={[
        {
          image: { src: "/covers/design-systems.jpg", alt: "Design systems" },
          title: "The Future of Design Systems",
          summary: "How design systems evolve to meet complex app demands.",
          readTime: "8 min read",
          author: { name: "Lisa Park", avatar: { src: "/authors/lisa.jpg", alt: "Lisa Park" } },
          category: "design",
          href: "/blog/design-systems",
        },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string; variant?: "default" | "secondary" | "outline" }Centered eyebrow badge above the heading
headingstringSection heading
descriptionstringMuted paragraph under the heading
categoriesCategory[][]Tab triggers and the panels posts are grouped into
postsBlogPost[][]Cards rendered per tab, filtered by category
classNamestringExtra classes for the outer <section>
ts
type Category = {
  label: string;
  value: string;
};

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;
  category?: string;
};

Behavior notes

More Blog blocks

View all Blog
PRO

blog43

Editorial Article Grid

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 monospace category, a title, an excerpt, and byline.

PRO

blog13

Sidebar with Categories

Main content area with horizontal post cards plus sidebar. Categories show post counts and popular tags section with clickable 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

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

blog15

Minimal Text List

Clean text-only blog list with arrow icons. No images, just titles, dates, and authors. Lightweight design with hover arrow animation.

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.