layout style · Claude Design
Masonry Flow UI Style for Claude Design
Pinterest-style masonry layout with variable-height cards, achieved through CSS columns or masonry grid for a naturally flowing visual effect. Ideal for image galleries, portfolios, and social media.
Build a clearer product story.
Previewing the hero direction. Pinterest-style masonry layout with variable-height cards, achieved through CSS columns or masonry grid for a naturally flowing visual effect. Ideal for image galleries, portfolios, and social media.
Do
-
border-0 -
border-zinc-200 -
rounded-xl -
border-solid -
shadow-sm -
shadow-md -
shadow-lg -
shadow-none
Don't
-
shadow-none -
rounded-none -
focus:outline-none
Tokens and component states
Use this token set as the source of truth. Apply it once at the system layer so Claude Code does not improvise spacing, radius, shadow, or typography per component.
{
"border": {
"width": "border-0",
"color": "border-zinc-200",
"radius": "rounded-xl",
"style": "border-solid"
},
"shadow": {
"sm": "shadow-sm",
"md": "shadow-md",
"lg": "shadow-lg",
"none": "shadow-none",
"hover": "hover:shadow-lg",
"focus": "focus:shadow-md",
"colored": {}
},
"interaction": {
"transition": "transition-all duration-300",
"active": "active:scale-95",
"hoverScale": "hover:scale-[1.02]",
"hoverTranslate": "hover:-translate-y-1"
},
"typography": {
"heading": "font-semibold tracking-tight",
"body": "font-sans",
"mono": "font-mono",
"sizes": {
"hero": "text-3xl md:text-4xl lg:text-5xl",
"h1": "text-2xl md:text-3xl",
"h2": "text-xl md:text-2xl",
"h3": "text-lg md:text-xl",
"body": "text-sm md:text-base",
"small": "text-xs md:text-sm"
}
},
"spacing": {
"section": "py-8 md:py-12 lg:py-16",
"container": "px-4 md:px-6 lg:px-8",
"card": "p-4 md:p-5",
"gap": {
"sm": "gap-3 md:gap-4",
"md": "gap-4 md:gap-6",
"lg": "gap-6 md:gap-8"
}
},
"colors": {
"background": {
"primary": "bg-zinc-50",
"secondary": "bg-white",
"accent": [
"bg-[#e94560]",
"bg-[#16c79a]",
"bg-[#ffd460]",
"bg-[#7579e7]"
]
},
"text": {
"primary": "text-zinc-900",
"secondary": "text-zinc-600",
"muted": "text-zinc-400"
},
"button": {
"primary": "bg-zinc-900 text-white",
"secondary": "bg-zinc-100 text-zinc-700"
}
},
"forbidden": {
"classes": [
"rounded-none",
"border-2",
"border-4",
"border-8",
"shadow-[",
"font-black"
],
"patterns": [
"^border-[248]",
"^shadow-\\["
],
"reasons": {
"rounded-none": "Masonry Flow uses rounded corners (rounded-xl) for soft card aesthetics",
"border-4": "Masonry Flow uses borderless or very subtle borders",
"font-black": "Masonry Flow uses semibold weight, not black"
}
},
"required": {
"button": [
"rounded-lg",
"font-medium text-sm",
"transition-colors"
],
"card": [
"break-inside-avoid",
"rounded-xl",
"overflow-hidden",
"bg-white"
],
"input": [
"rounded-full",
"bg-zinc-100",
"border-0",
"focus:outline-none",
"focus:ring-2 focus:ring-zinc-900/10",
"transition-all"
]
}
}Component recipes
Each recipe retains its own parameters, variants, slots, and interaction states.
How to use Masonry Flow with Claude Code
- 01
Choose this style as the single base direction and describe the product job.
- 02
Give Claude the palette, token object, component recipes, and the explicit do/don’t rules.
- 03
Ask for one complete page, then review responsive states, focus, reduced motion, and contrast before shipping.
Templates that fit this direction
Preview styles for free. Buy only when you need a complete, downloadable page template.
landing
Brutal Landing Page
High-impact Neo-Brutalist landing page for launches and brand-first campaigns.
Preview · $10landing
Glass Landing Page
Modern glassmorphism landing page ideal for SaaS products and technology showcases.
Preview · $10blog
Editorial Blog
Magazine-inspired reading layout focused on typography, rhythm, and long-form content.
Preview · $10blog
Anx Avant Blog
Experimental portfolio-blog mix with loud typography, brutal borders, and kinetic sections.
Preview · $10blog
Yohaku Blog
Minimalist paper-textured blog inspired by Japanese Yohaku (white space) philosophy. Single-column reading layout with timeline posts and spring animations.
Preview · $10dashboard
Warm Dashboard
Warm-toned analytics dashboard with sidebar navigation, stat cards, charts, and data tables.
Preview · $10FAQ
Is Masonry Flow itself a paid template?
No. This page is the free style reference: palette, tokens, rules, recipes, and preview. Paid templates are complete page deliverables that apply a style to a real product scenario.
Can Claude combine this style with other source entities?
Yes. Use the Source Composer to add one font pairing, motion pattern, gradient, shadow, and background while keeping Masonry Flow as the base system.