# Featured List

> A list led by one large featured article above smaller stacked posts. Use it to spotlight your top story while listing the rest of the feed.

A shadcn/ui block from the [@shadcn-ui-blocks](https://www.shadcn-ui-blocks.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcn-ui-blocks/marketing-blog-sections-featured-list).

- Page, with a live preview: https://shadcn.exchange/r/shadcn-ui-blocks/marketing-blog-sections-featured-list
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcn-ui-blocks/marketing-blog-sections-featured-list-light-b87b6ce6b7ed7693.png
- Registry item: https://www.shadcn-ui-blocks.com/r/marketing-blog-sections-featured-list.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://www.shadcn-ui-blocks.com/r/marketing-blog-sections-featured-list.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- npm packages: `class-variance-authority`, `lucide-react`, `radix-ui`

## Files

### `components/blocks/marketing/blog-sections/featured-list.tsx`

```tsx
import { Button } from '@/components/ui/button';
import { Badge } from '@/components/ui/badge';
import { Separator } from '@/components/ui/separator';
import {
  CalendarIcon,
  Clock3Icon,
  ArrowRightIcon,
  TrendingUpIcon,
  StarIcon,
  BookmarkIcon,
} from 'lucide-react';

// Define blog post types
interface Author {
  name: string;
  avatar: string;
}

interface BlogPost {
  id: number;
  title: string;
  excerpt: string;
  category: string;
  date: string;
  readTime: string;
  imageUrl: string;
  author: Author;
}

const featuredPost: BlogPost = {
  id: 1,
  title: 'The Future of Digital Marketing: Trends to Watch in 2023',
  excerpt:
    'Explore the emerging technologies and strategies that will shape the digital marketing landscape in the coming year.',
  category: 'Strategy',
  date: 'April 15, 2023',
  readTime: '14 min read',
  imageUrl:
    'https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2070&q=80',
  author: {
    name: 'Jessica Morgan',
    avatar:
      'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=256&q=80',
  },
};

const popularPosts: BlogPost[] = [
  {
    id: 2,
    title: 'Why Personalization is the Key to Customer Engagement',
    excerpt:
      'Learn how data-driven personalization can dramatically improve your marketing results and customer loyalty.',
    category: 'Personalization',
    date: 'April 12, 2023',
    readTime: '9 min read',
    imageUrl:
      'https://images.unsplash.com/photo-1557426272-fc759fdf7a8d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80',
    author: {
      name: 'David Chen',
      avatar:
        'https://images.unsplash.com/photo-1500648767791-00dcc994a43e?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=256&q=80',
    },
  },
  {
    id: 3,
    title:
      'Voice Search Optimization: Preparing Your Content for the Voice Revolution',
    excerpt:
      'Discover strategies to optimize your content for voice search and stay ahead of this rapidly growing trend.',
    category: 'SEO',
    date: 'April 8, 2023',
    readTime: '11 min read',
    imageUrl:
      'https://images.unsplash.com/photo-1562577309-4932fdd64cd1?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80',
    author: {
      name: 'Sarah Johnson',
      avatar:
        'https://images.unsplash.com/photo-1534751516642-a1af1ef26a56?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=256&q=80',
    },
  },
];

const latestPosts: BlogPost[] = [
  {
    id: 4,
    title: 'Social Media Algorithms: Understanding the Changes in 2023',
    excerpt:
      'Stay updated on the latest algorithm changes across major social platforms and how to adapt your strategy.',
    category: 'Social Media',
    date: 'April 10, 2023',
    readTime: '8 min read',
    imageUrl:
      'https://images.unsplash.com/photo-1611162616305-c69b3fa7fbe0?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1074&q=80',
    author: {
      name: 'Michael Thomas',
      avatar:
        'https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=256&q=80',
    },
  },
  {
    id: 5,
    title: 'Interactive Content: Boosting Engagement with Quizzes and Polls',
    excerpt:
      'Learn how to create interactive content that captivates your audience and increases time spent on your site.',
    category: 'Content',
    date: 'April 5, 2023',
    readTime: '10 min read',
    imageUrl:
      'https://images.unsplash.com/photo-1434030216411-0b793f4b4173?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80',
    author: {
      name: 'Emily Wilson',
      avatar:
        'https://images.unsplash.com/photo-1438761681033-6461ffad8d80?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=256&q=80',
    },
  },
  {
    id: 6,
    title: 'Email Deliverability: Ensuring Your Messages Reach the Inbox',
    excerpt:
      'Discover best practices and techniques to improve your email deliverability rates and avoid the spam folder.',
    category: 'Email',
    date: 'April 2, 2023',
    readTime: '7 min read',
    imageUrl:
      'https://images.unsplash.com/photo-1596526131083-e8c633c948d2?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1074&q=80',
    author: {
      name: 'Alex Rivera',
      avatar:
        'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=256&q=80',
    },
  },
  {
    id: 7,
    title: 'Video Marketing: Creating Content That Converts',
    excerpt:
      'Explore strategies for developing video content that not only engages viewers but drives them to take action.',
    category: 'Video',
    date: 'March 28, 2023',
    readTime: '12 min read',
    imageUrl:
      'https://images.unsplash.com/photo-1590856029826-c7a73142bbf1?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80',
    author: {
      name: 'Jason Park',
      avatar:
        'https://images.unsplash.com/photo-1522075469751-3a6694fb2f61?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=256&q=80',
    },
  },
];

export default function BlogSectionFeaturedList() {
  return (
    <section className="container mx-auto px-4 py-24 md:px-6 2xl:max-w-[1400px]">
      <div className="mb-12 space-y-4 text-center">
        <h2 className="text-3xl font-bold tracking-tight">
          Marketing Insights
        </h2>
        <p className="text-muted-foreground mx-auto max-w-2xl">
          Expert advice, analysis, and strategies to elevate your marketing
          game.
        </p>
      </div>

      {/* Featured Article */}
      <div className="mb-16">
        <div className="mb-6 flex items-center gap-3">
          <StarIcon className="text-primary h-5 w-5" />
          <h3 className="text-xl font-semibold">Featured Article</h3>
        </div>

        <div className="grid gap-8 lg:grid-cols-5">
          <div className="relative aspect-[16/9] overflow-hidden rounded-xl lg:col-span-3 lg:aspect-auto">
            <img
              src={featuredPost.imageUrl}
              alt={featuredPost.title}
              className="object-cover"
            />
            <div className="absolute inset-0 bg-gradient-to-t from-black/70 via-transparent to-transparent"></div>
            <div className="absolute right-0 bottom-0 left-0 p-6 text-white">
              <Badge className="mb-3">{featuredPost.category}</Badge>
              <h4 className="mb-2 text-2xl font-bold lg:text-3xl">
                {featuredPost.title}
              </h4>
            </div>
          </div>

          <div className="flex flex-col justify-between lg:col-span-2">
            <div className="space-y-4">
              <p className="text-muted-foreground">{featuredPost.excerpt}</p>

              <div className="flex items-center gap-4">
                <div className="relative h-10 w-10 overflow-hidden rounded-full">
                  <img
                    src={featuredPost.author.avatar}
                    alt={featuredPost.author.name}
                    className="object-cover"
                  />
                </div>
                <div>
                  <p className="font-medium">{featuredPost.author.name}</p>
                  <div className="text-muted-foreground flex items-center text-sm">
                    <CalendarIcon className="mr-1 h-3 w-3" />
                    <span>{featuredPost.date}</span>
                    <span className="mx-2">•</span>
                    <Clock3Icon className="mr-1 h-3 w-3" />
                    <span>{featuredPost.readTime}</span>
                  </div>
                </div>
              </div>
            </div>

            <div className="mt-6">
              <Button size="lg" asChild>
                <a href="#">Read Full Article</a>
              </Button>
            </div>
          </div>
        </div>
      </div>

      <Separator className="my-12" />

      {/* Popular Articles Section */}
      <div className="mb-16">
        <div className="mb-6 flex items-center gap-3">
          <TrendingUpIcon className="text-primary h-5 w-5" />
          <h3 className="text-xl font-semibold">Popular Articles</h3>
        </div>

        <div className="grid gap-8 md:grid-cols-2">
          {popularPosts.map((post) => (
            <div key={post.id} className="flex flex-col gap-6 md:flex-row">
              <div className="relative aspect-video flex-shrink-0 overflow-hidden rounded-md md:w-1/3">
                <img
                  src={post.imageUrl}
                  alt={post.title}
                  className="object-cover"
                />
                <Button
                  variant="ghost"
                  size="icon"
                  className="bg-background/50 hover:bg-background/70 absolute top-2 right-2"
                >
                  <BookmarkIcon className="h-4 w-4" />
                </Button>
              </div>

              <div className="space-y-3 md:w-2/3">
                <Badge variant="outline">{post.category}</Badge>
                <h4 className="text-lg font-semibold">{post.title}</h4>
                <p className="text-muted-foreground line-clamp-2 text-sm">
                  {post.excerpt}
                </p>

                <div className="flex items-center gap-2">
                  <div className="relative h-8 w-8 overflow-hidden rounded-full">
                    <img
                      src={post.author.avatar}
                      alt={post.author.name}
                      className="object-cover"
                    />
                  </div>
                  <span className="text-sm font-medium">
                    {post.author.name}
                  </span>
                  <span className="text-muted-foreground mx-2">•</span>
                  <div className="text-muted-foreground flex items-center text-sm">
                    <CalendarIcon className="mr-1 h-3 w-3" />
                    <span>{post.date}</span>
                  </div>
                </div>

                <Button variant="link" className="px-0" asChild>
                  <a href="#">
                    Read Article <ArrowRightIcon className="ml-1 h-4 w-4" />
                  </a>
                </Button>
              </div>
            </div>
          ))}
        </div>
      </div>

      <Separator className="my-12" />

      {/* Latest Articles Section */}
      <div>
        <div className="mb-6 flex items-center justify-between">
          <div className="flex items-center gap-3">
            <CalendarIcon className="text-primary h-5 w-5" />
            <h3 className="text-xl font-semibold">Latest Articles</h3>
          </div>
          <Button variant="outline" size="sm" asChild>
            <a href="#">View All</a>
          </Button>
        </div>

        <div className="space-y-6">
          {latestPosts.map((post, index) => (
            <div key={post.id}>
              <div className="flex flex-col items-start gap-4 sm:flex-row">
                <div className="relative aspect-video w-full flex-shrink-0 overflow-hidden rounded-md sm:hidden md:block md:w-48">
                  <img
                    src={post.imageUrl}
                    alt={post.title}
                    className="object-cover"
                  />
                </div>

                <div className="flex-grow space-y-2">
                  <div className="flex items-center gap-2">
                    <Badge variant="secondary" className="text-xs">
                      {post.category}
                    </Badge>
                    <span className="text-muted-foreground text-sm">
                      {post.date}
                    </span>
                  </div>

                  <h4 className="font-semibold">{post.title}</h4>

                  <div className="flex flex-wrap items-center gap-4">
                    <div className="flex items-center gap-2">
                      <div className="relative h-6 w-6 overflow-hidden rounded-full">
                        <img
                          src={post.author.avatar}
                          alt={post.author.name}
                          className="object-cover"
                        />
                      </div>
                      <span className="text-sm">{post.author.name}</span>
                    </div>

                    <div className="text-muted-foreground flex items-center text-sm">
                      <Clock3Icon className="mr-1 h-3 w-3" />
                      <span>{post.readTime}</span>
                    </div>

                    <Button variant="link" className="h-auto p-0" asChild>
                      <a href="#">Read More</a>
                    </Button>
                  </div>
                </div>
              </div>

              {index < latestPosts.length - 1 && <Separator className="my-6" />}
            </div>
          ))}
        </div>
      </div>

      <div className="mt-12 flex justify-center">
        <Button size="lg" className="gap-2">
          <a href="#">Explore All Articles</a>
          <ArrowRightIcon className="h-4 w-4" />
        </Button>
      </div>
    </section>
  );
}
```

### `components/ui/button.tsx`

```tsx
import * as React from "react"
import { cva, type VariantProps } from "class-variance-authority"
import { Slot } from "radix-ui"

import { cn } from "@/lib/utils"

const buttonVariants = cva(
  "group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
  {
    variants: {
      variant: {
        default: "bg-primary text-primary-foreground hover:bg-primary/80",
        outline:
          "border-border bg-background shadow-xs hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
        secondary:
          "bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
        ghost:
          "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
        destructive:
          "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
        link: "text-primary underline-offset-4 hover:underline",
      },
      size: {
        default:
          "h-9 gap-1.5 px-2.5 in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
        xs: "h-6 gap-1 rounded-[min(var(--radius-md),8px)] px-2 text-xs in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",
        sm: "h-8 gap-1 rounded-[min(var(--radius-md),10px)] px-2.5 in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5",
        lg: "h-10 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
        icon: "size-9",
        "icon-xs":
          "size-6 rounded-[min(var(--radius-md),8px)] in-data-[slot=button-group]:rounded-md [&_svg:not([class*='size-'])]:size-3",
        "icon-sm":
          "size-8 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-md",
        "icon-lg": "size-10",
      },
    },
    defaultVariants: {
      variant: "default",
      size: "default",
    },
  }
)

function Button({
  className,
  variant = "default",
  size = "default",
  asChild = false,
  ...props
}: React.ComponentProps<"button"> &
  VariantProps<typeof buttonVariants> & {
    asChild?: boolean
  }) {
  const Comp = asChild ? Slot.Root : "button"

  return (
    <Comp
      data-slot="button"
      data-variant={variant}
      data-size={size}
      className={cn(buttonVariants({ variant, size, className }))}
      {...props}
    />
  )
}

export { Button, buttonVariants }
```

### `components/ui/badge.tsx`

```tsx
import * as React from "react"
import { cva, type VariantProps } from "class-variance-authority"
import { Slot } from "radix-ui"

import { cn } from "@/lib/utils"

const badgeVariants = cva(
  "group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",
  {
    variants: {
      variant: {
        default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
        secondary:
          "bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",
        destructive:
          "bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",
        outline:
          "border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",
        ghost:
          "hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",
        link: "text-primary underline-offset-4 hover:underline",
      },
    },
    defaultVariants: {
      variant: "default",
    },
  }
)

function Badge({
  className,
  variant = "default",
  asChild = false,
  ...props
}: React.ComponentProps<"span"> &
  VariantProps<typeof badgeVariants> & { asChild?: boolean }) {
  const Comp = asChild ? Slot.Root : "span"

  return (
    <Comp
      data-slot="badge"
      data-variant={variant}
      className={cn(badgeVariants({ variant }), className)}
      {...props}
    />
  )
}

export { Badge, badgeVariants }
```

### `components/ui/separator.tsx`

```tsx
"use client";

import * as React from "react";
import { Separator as SeparatorPrimitive } from "radix-ui";

import { cn } from "@/lib/utils";

function Separator({
  className,
  orientation = "horizontal",
  decorative = true,
  ...props
}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {
  return (
    <SeparatorPrimitive.Root
      data-slot="separator"
      decorative={decorative}
      orientation={orientation}
      className={cn(
        "shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px ",
        className
      )}
      {...props}
    />
  );
}

export { Separator };
```
