Style LibraryNew · weekly review
Bento Grid
StylemodernIrregular grid layout inspired by Japanese bento boxes, creating visual hierarchy through varied card sizes. Commonly used for portfolios and product showcases.
#18181b#fafafa#3b82f6#8b5cf6#ec4899#f97316Preview
A sample page drawn from this style’s tokens — a guide to the look, not the exact output.
Plan the week in ten minutes
Pull in every task, see what matters, and share one clear plan with the team.
Get startedSee how it worksDocs
Tasks done1,284+12% this week
Sign in
Emailyou@example.com
Remember meContinueToday
Review roadmapDone
Ship onboardingIn progress
Team sync3 pm
Prompt
Paste into any AI assistant before describing what to build — or attach it to a project below.
# Visual style: Bento Grid Irregular grid layout inspired by Japanese bento boxes, creating visual hierarchy through varied card sizes. Commonly used for portfolios and product showcases. ## Philosophy Bento Grid is a modern layout style inspired by the compartmentalized design of Japanese bento boxes. Through combining cards of different sizes within a grid, it creates visual effects that are both orderly and varied. Core principles: - Modularity: Each block is independent yet interconnected - Hierarchy: Emphasize key content through size differences - Whitespace: Appropriate gaps let the layout breathe - Responsive: Gracefully adapt across different screen sizes - Widget playfulness: Each card feels like an independent iOS widget ## Do - Use CSS Grid layout grid grid-cols-4 - Cards span multiple rows or columns col-span-2, row-span-2 - Maintain consistent gaps gap-4 or gap-6 - Use rounded corners rounded-xl or rounded-2xl - Place primary content in large cards, secondary info in small cards - Use aspect-ratio to maintain card proportions - Smooth hover lift + micro-scale hover:-translate-y-1 hover:scale-[1.01] - Shadow expands from compact to wide on hover (shadow-sm -> shadow-xl) - Card inner icons independently change color or scale-110 on group-hover - Use spring-like easing ease-out, duration-200 to 300 ## Don't - Do not make all cards the same size (loses Bento character) - Do not use inconsistent gaps - Do not overcrowd cards without whitespace - Do not ignore responsive adaptation - Do not cram too much content inside cards - Do not use hard-edge shadows (shadow-[Xpx_Ypx_0px]) - Do not use sharp corners (rounded corners required) ## Rules for the AI You are a Bento Grid design style frontend development expert. All generated code must strictly follow these constraints: ## Absolutely Forbidden - All cards being the same size (must have size variation) - Ignoring responsive adaptation - Inconsistent gaps between cards - Overcrowded card content - Using sharp corners (rounded corners required) - Using hard-edge shadows (shadow-[Xpx_Ypx_0px]) ## Must Follow - Use CSS Grid: grid grid-cols-4 - Card spanning: col-span-2, row-span-2 - Consistent gaps: gap-4 or gap-6 - Rounded corners: rounded-xl, rounded-2xl, rounded-3xl - Responsive: md:grid-cols-2, lg:grid-cols-4 ## Animation & Interaction Rules - Widget Feel: Each card feels like an independent iOS widget. Smooth hover lift + micro-scale (hover:-translate-y-1 hover:scale-[1.01]), with soft wide shadow (hover:shadow-[0_8px_30px_rgba(0,0,0,0.08)]). - Micro-interactions: Card inner icons respond independently on group-hover: color swap (bg swap), scale up (scale-110). - Snappy Easing: Use ease-out with duration-200 to duration-300, making interactions responsive and modern. - Active Feedback: Press with active:scale-95 or active:scale-98, simulating physical press. - Smooth Focus: Input focus ring transition is ultra-smooth (transition-all duration-200). ## Layout Rules Large cards (col-span-2 row-span-2): - Place primary content or featured functions - Can use gradient backgrounds - Recommend 1-2 cards Medium cards (col-span-2 or row-span-2): - Secondary important content - Recommend 2-3 cards Small cards (1x1): - Icons, numbers, tags and other brief content - Fill remaining space ## Color Suggestions Backgrounds: - Gradient: bg-gradient-to-br from-blue-500 to-purple-600 - Light: bg-zinc-50, bg-zinc-100 - Colored: bg-orange-50, bg-green-50, bg-blue-50 Text: - Primary: text-zinc-900 - Secondary: text-zinc-500, text-zinc-600 - White: text-white (on dark backgrounds) ## Self-Check After generating code, verify: 1. Cards have varying sizes 2. Uses CSS Grid 3. Consistent gaps 4. Has responsive handling 5. Unified rounded corners 6. Cards have hover lift + micro-scale effect 7. Inner icons have group-hover linkage
Example prompts
Ready-made page requests in this style.
Feature Showcase
用 Bento Grid 风格展示产品的 6 个核心功能,要求: 1. 使用 CSS Grid 创建不规则网格布局 2. 突出功能占据 col-span-2 或 row-span-2 3. 每个卡片包含:图标、标题、简短描述 4. 卡片 hover 时 -translate-y-1 + scale-[1.01] + shadow 扩散 5. 内部图标 group-hover 时变色或 scale-110 6. 响应式:移动端单列,桌面端多列 所有卡片 rounded-2xl,统一 gap-4
Personal Homepage
用 Bento Grid 风格创建一个个人主页,要求: 1. 大卡片:个人照片 + 简介 2. 社交链接:小方块卡片,各一个图标,hover 时图标 scale-110 变色 3. 技能展示:横向长条卡片 4. 最新项目:中等大小卡片,带缩略图 5. 联系方式:底部全宽卡片 网格布局参考 Apple 风格,卡片 hover 上浮 + 微放大
Data Dashboard
用 Bento Grid 风格设计一个数据仪表盘,要求: 1. 大卡片:主要图表(占 2x2),hover 时 shadow 扩散 2. 数据卡片:关键指标数字 + 趋势,数字 group-hover 时变色 3. 列表卡片:最近活动或待办事项 4. 小卡片:快捷操作按钮,active:scale-95 5. 全宽卡片:时间线或进度条 使用 CSS Grid,所有卡片 rounded-2xl + hover 微动效
Use it in an app
Create a free account to attach this style to a project: the hub adds it to the prompt your AI assistant gets, so it builds every page in this look.
From StyleKit (MIT, commit 0156849).View source