Blog 49 - Accordion post previewsPro

A single-open accordion of post titles; expanding a row reveals the cover image, excerpt and a read button with a height animation.

About Blog 49

A single-open accordion of post titles; expanding a row reveals the cover image, excerpt and a read button with a height animation.

Blog 49 is a blog block for React and Tailwind CSS, included in Chocolate UI Pro with motion animations that respect reduced-motion settings. It ships as 112 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • accordion
  • preview
  • expand
  • list

Installation

  1. Set up your project with npx chocolateui init and npx chocolateui login (see the installation guide).
  2. Run the Chocolate UI CLI:
npx chocolateui add blog-49

Dependencies installed automatically: lucide-react, motion.

Uses: button, motion-presets, reveal, use-reduced-motion, utils.

Usage

import Blog49 from "@/components/blocks/blog-49"

export default function Page() {
  return <Blog49 />
}

FAQ