Shipixen Logo

Blog List

Updated on

The LandingBlogList component displays a collection of blog posts (LandingBlogPost) in either a grid or list format. It includes customizable titles, descriptions, and various styling options.

Latest Articles

Check out our latest blog posts and stay updated with the newest trends.

Getting Started with Shipixen
Open post
Jack Doe
Jack Doe

Getting Started with Shipixen

Learn how to set up your first project using Shipixen templates and components.

5 min read
TutorialBeginners
Advanced Component Techniques
Open post
John Smith
John Smith

Advanced Component Techniques

Discover advanced patterns and techniques for building complex components.

8 min read
AdvancedComponents

Usage

Import the component and use it to display a collection of blog posts:

import { LandingBlogList } from '@/components/landing/LandingBlogList';
import { LandingBlogPost } from '@/components/landing/blog/LandingBlogPost';
<LandingBlogList
  title="Latest Articles"
  description="Check out our latest blog posts and stay updated with the newest trends."
>
  <LandingBlogPost
    post={{
      slug: "getting-started",
      date: "2023-08-10",
      title: "Getting Started with Shipixen",
      summary: "Learn how to set up your first project using Shipixen templates and components.",
      tags: ["Tutorial", "Beginners"],
      images: ["/static/images/backdrop-1.webp"],
      readingTime: 5,
      author: {
        name: "Jack Doe",
        avatar: "/static/images/people/1.webp"
      }
    }}
  />
</LandingBlogList>

Examples

Grid Display

Display blog posts in a grid format instead of a list.

Featured Articles

Our most popular content curated for you.

Essential React Patterns
Open post
Alex Johnson
Alex Johnson

Essential React Patterns

Learn the essential patterns that every React developer should know.

6 min read
ReactPatterns
Tailwind CSS Pro Tips
Open post
Brett Carlsen
Brett Carlsen

Tailwind CSS Pro Tips

Improve your Tailwind workflow with these professional tips and tricks.

4 min read
CSSTailwind

With Background and Left-Aligned Text

Add a background and left-align the title and description.

Latest Updates

Stay updated with our newest content and announcements.

Next.js 13 Features You Should Know
Open post
Michael Brown
Michael Brown

Next.js 13 Features You Should Know

Explore the most important features and improvements in Next.js 13.

7 min read
Next.jsFeatures

Secondary Variant with Background Glow

Use the secondary color variant with a background glow effect.

Editor's Picks

Hand-picked articles from our editorial team.

TypeScript Tips for React Developers
Open post
Timothy Billow
Timothy Billow

TypeScript Tips for React Developers

Improve your React applications with these TypeScript best practices.

6 min read
TypeScriptReact

API Reference

Prop NameProp TypeRequiredDefault
children ReactNodeYes-
title stringNo-
titleComponent ReactNodeNo-
description stringNo-
descriptionComponent ReactNodeNo-
className stringNo-
variant 'primary' | 'secondary'No'primary'
withBackground booleanNofalse
withBackgroundGlow booleanNofalse
backgroundGlowVariant 'primary' | 'secondary'No'primary'
textPosition 'center' | 'left'No'center'
display 'grid' | 'list'No'list'
export interface BlogPost {
  slug: string; // Unique identifier for the blog post
  date: string; // Publication date of the post
  title: string; // Title of the blog post
  summary?: string; // Brief summary of the blog post content
  tags?: string[] | Array<{url: string; text: string}>; // Array of category tags (strings) or objects with url and text properties
  images?: string[]; // Array of image URLs, with the first one used as the post thumbnail
  readingTime?: number; // Estimated reading time in minutes
  author?: {
    name?: string; // Name of the blog post author
    avatar?: string; // URL to the author's avatar image
  };
}

More Examples

For more examples, see Blog Post.