Bento Grid With Six Tiles and One Large Feature Tile
A feature section for an invoicing app laid out as a classic bento: the lead feature fills a two by two tile with a small drawn invoice showing its reminder history, and five shorter features sit around it. The whole layout is three grid-template-areas maps, four columns on laptops, two on tablets and one on phones, so the lead tile always comes first.
Code
// A six-tile bento: one large tile for the lead feature, five smaller ones around it.
// Layout uses grid-template-areas so each breakpoint is one readable map.
const tiles = [
{ area: "lead", title: "Invoices that chase themselves", body: "Send once. Polite reminders go out at 3, 7 and 14 days until the client pays, then stop on their own." },
{ area: "a", title: "Paid in 40 currencies", body: "Clients pay in theirs, you are paid in yours." },
{ area: "b", title: "Receipts by photo", body: "Snap a receipt and the amount, date and shop are filled in." },
{ area: "c", title: "Tax set aside as you go", body: "A share of every payment moves to a separate pot, so January holds no surprises." },
{ area: "d", title: "Time to invoice", body: "Tracked hours turn into a draft invoice in one click." },
{ area: "e", title: "Your accountant, invited", body: "Give read-only access to the books without sharing a password." },
];
function LeadArt() {
return (
<div className="relative mt-8 h-48 overflow-hidden rounded-xl border border-indigo-100 bg-white p-4 sm:h-56" aria-hidden="true">
<div className="flex items-center justify-between">
<div className="h-2.5 w-24 rounded-full bg-slate-200" />
<span className="rounded-full bg-emerald-100 px-2.5 py-1 text-xs font-medium text-emerald-800">Paid</span>
</div>
<p className="mt-4 text-3xl font-semibold tracking-tight text-slate-900">$4,820.00</p>
<div className="mt-4 space-y-2">
{[["Reminder sent", "Day 3"], ["Reminder sent", "Day 7"], ["Paid by card", "Day 9"]].map(([a, b], i) => (
<div key={i} className="flex items-center gap-3 text-sm">
<span className={`h-2 w-2 rounded-full ${i === 2 ? "bg-emerald-500" : "bg-indigo-400"}`} />
<span className="flex-1 text-slate-700">{a}</span>
<span className="text-slate-500">{b}</span>
</div>
))}
</div>
</div>
);
}
export default function BentoGridSixTilesWithOneLargeFeatureTile() {
return (
<section className="bg6 bg-slate-50 px-5 py-16 sm:py-24">
<style>{`
.bg6-grid { display: grid; gap: 16px; grid-template-columns: 1fr; grid-template-areas: "lead" "a" "b" "c" "d" "e"; }
@media (min-width: 640px) { .bg6-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "lead lead" "a b" "c c" "d e"; } }
@media (min-width: 1024px) { .bg6-grid { grid-template-columns: repeat(4, 1fr); grid-template-areas: "lead lead a b" "lead lead c c" "d e e e"; } }
`}</style>
<div className="mx-auto max-w-6xl">
<p className="text-sm font-semibold text-indigo-700">Ledgerly for freelancers</p>
<h2 className="mt-2 max-w-2xl text-3xl font-semibold tracking-tight text-slate-900 sm:text-4xl">Everything between the work and getting paid</h2>
<div className="bg6-grid mt-12">
{tiles.map((t) => (
<article
key={t.area}
style={{ gridArea: t.area }}
className={`flex flex-col rounded-2xl border p-6 ${t.area === "lead" ? "border-indigo-200 bg-indigo-50 sm:p-8" : "border-slate-200 bg-white"}`}
>
<h3 className={`font-semibold tracking-tight text-slate-900 ${t.area === "lead" ? "text-2xl" : "text-lg"}`}>{t.title}</h3>
<p className="mt-2 text-[15px] leading-relaxed text-slate-600">{t.body}</p>
{t.area === "lead" && <LeadArt />}
</article>
))}
</div>
</div>
</section>
);
}
Install with one command: npx shadcn@latest add https://we.inc/r/bento-grid-six-tiles-with-one-large-feature-tile.json
When to use it
- A product has one feature that sells it and four or five supporting ones that deserve a line each.
- You want a feature section that looks considered without commissioning screenshots for every point.
- The page already has an even three-column grid elsewhere and this section needs a different rhythm.
- You are building a landing page in plain HTML and want a layout you can change by editing one text map.
How to customize it
- Rearrange tiles by editing the quoted rows in grid-template-areas; each word is a tile and repeating a word stretches it across cells.
- Change --bg6-lead and --bg6-accent (or the indigo-50 and indigo-700 classes) to recolour the lead tile and the kicker together.
- Replace LeadArt with a screenshot or your own drawing; keep its fixed height so the tile does not jump while an image loads.
- Tighten or loosen the tray with --bg6-gap or the gap-4 value; 12 to 20 pixels keeps tiles reading as one group.
Accessibility
- Each tile is an article with its own h3 under the section's h2, so screen reader users can jump tile to tile by heading.
- The drawn invoice is aria-hidden because it illustrates the copy rather than adding to it.
- Tile order in the HTML matches the visual order at every breakpoint, so keyboard and reading order never jump across the grid.
Questions
Why use grid-template-areas instead of col-span classes?
With six fixed tiles, a named map shows the whole layout at a glance and lets you move a tile by editing one word. Spans are better when tiles are added from a CMS, because you do not have to update a map each time.
How do I give the large tile more height?
It already spans two rows at the widest size. To make it taller still, add a third row to the map that repeats lead, or set grid-auto-rows to a minimum height such as minmax(180px, auto).
Can I use this in Tailwind without a style tag?
Yes. Replace the areas with lg:grid-cols-4 on the grid, lg:col-span-2 lg:row-span-2 on the lead tile, sm:col-span-2 on the wide tiles, and the rest flow into place in source order.
What happens if a tile's text is much longer?
Grid rows grow to fit the tallest tile in that row, so the neighbours stretch with it. Keep supporting tiles to one or two sentences so the tray stays even.
Related: Bento Grid Layouts: 10 Tailwind Designs with Copyable Code, Product Launch Bento Grid With Mini UI Mockups, Asymmetric Editorial Bento Grid.
More feature sections or all free UI components. Build your site free to have a full site built around it.
More in Feature Sections
- Moulded Pulp Bento Tray Feature Section in WebGL Where a Glass Loupe, a Brass Key, a Spool and a Folded Card Lift into Focus
- Bento Grid Layouts: 10 Tailwind Designs with Copyable Code
Product
Who It's For
- For Agencies
- For Freelancers
- For Hosting Providers
- For SaaS Platforms
- For Startups
- For Financial Services
- For Healthcare
Features
Resources
- Blog
- Help Center
- Free Business Tools
- Free UI Components
- Website Templates
- Template Collections
- Website Examples
- Guides
- Comparisons
- Alternatives
- Best Lists
- Reviews
- Pricing Guides
- Use Cases
- Glossary & Guides
- Integrations
- Developers
- Benchmark
- Windows App