Playful polaroid-style cards with random rotations and white borders. Cards straighten on hover for a fun, casual photo gallery feel.
A centered header (optional badge, heading, and description) above a responsive 1/2/3-column grid of polaroid-style post cards, each a linked white-bordered frame with a square cover image and a centered title plus an author-and-date caption line, tilted by a repeating rotation pattern that straightens to level on hover.
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.
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
npx shadcn add "https://ui.beste.co/r/blog26?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/blog26?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/blog26.tsx, plus the badge shadcn/ui primitive it uses for the section eyebrow.
The installed file exports blog26Demo alongside the block: the exact props behind the preview above. Spread it to get a working polaroid gallery in one line.
import { Blog26, blog26Demo } from "@/components/beste/block/blog26";
export default function Page() {
return <Blog26 {...blog26Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Blog26 } from "@/components/beste/block/blog26";
export default function Page() {
return (
<Blog26
badge={{ label: "Gallery", variant: "default" }}
heading="Photo Stories"
description="Visual stories from our team."
posts={[
{
image: { src: "/photos/design-systems.jpg", alt: "Design systems" },
title: "The Future of Design Systems",
summary: "How design systems are evolving.",
date: "January 15, 2026",
author: { name: "Lisa Park", title: "Senior Developer" },
href: "/blog/design-systems",
},
]}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string; variant?: "default" | "secondary" | "outline" } | – | Optional eyebrow badge above the heading |
heading | string | – | Section heading, rendered as plain text |
description | string | – | Supporting paragraph under the heading |
posts | BlogPost[] | [] | Cards rendered in the grid |
className | string | – | Extra classes for the outer <section> |
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;
};-rotate-2, rotate-1, -rotate-1, rotate-2, -rotate-1, rotate-1) indexed by index % 6, so the tilt sequence repeats every six posts and is deterministic, not random per render.<article> animates to hover:rotate-0 (straightening the polaroid) while the inner frame swaps shadow-lg for shadow-xl and the title shifts to text-primary.next/link pointing at post.href, falling back to "#" when href is omitted, so a hrefless card is still clickable but goes nowhere.badge, heading, or description is provided; with all three absent the grid renders alone.post.author?.name and appends · {date} only when date is set; if author is missing the caption starts with the separator-less date or renders empty.line-clamp-1, so long titles are truncated to a single line, and cover images are forced into a aspect-square frame with object-cover.summary, readTime, author.title, author.avatar, author.href, and every tags field are accepted by the types but never rendered by this block; only image, title, href, author.name, and date reach the DOM.card tokens under dark:, so the polaroid frame is not theme-token driven in light mode.blog30
Grid of image cards with gradient overlays. Summaries expand on hover with smooth max-height animation. Titles always visible with white text.
blog5
Vertical stack of horizontal blog cards with left-aligned thumbnails. Features calendar and clock icons for metadata, author titles, and tag badges.
blog3
Three-column responsive grid of blog cards featuring author avatars, tag badges, and hover zoom effects. Clean card design with date and read time metadata.
blog25
Two-column layout with featured image on left and article list on right. Divider-separated entries with arrow hover effects.
blog10
Large alternating left-right blog cards with full article summaries. Image and content switch sides for visual variety. Read more buttons included.
blog22
Vertically stacked blog cards with 2:1 aspect ratio images. Full article summaries with author avatars and read more buttons. Long-form content showcase.