Pinned Blogs

A responsive blog grid where each card’s title bar pins while scrolling. Accepts an array of items with title, description, image, and href.

A scrollable, columnar blog collection. Titles remain pinned (sticky) as their image and description scroll underneath, creating a magazine-style reading effect.

Behavior

  • Responsive grid — single column on mobile, 2 columns on medium, 3 on large screens.
  • Sticky title bar — each card’s header pins near the top while its content scrolls below.
  • Animated entrance — cards fade/slide in as they come into view.
  • Hover effect — cover image scales up slightly on hover.
  • Decorative grid — subtle background pattern + vertical dividers for structure.

Props

  • items: { title: string; description: string; img: string; href?: string }[] — array of blog entries.
  • className — optional extra classes for the container.
  • colGap — column spacing (px, default 32).
  • rowGap — row spacing (px, default 48).
  • pinTop — (planned) custom offset for sticky titles; currently top: -20 by default.