{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"bento-grid-six-tiles-with-one-large-feature-tile","type":"registry:block","title":"Bento Grid With Six Tiles and One Large Feature Tile","description":"Free bento grid feature section in CSS and Tailwind: one large lead tile with a drawn invoice, five smaller tiles, and grid-template-areas for every breakpoint.","dependencies":[],"files":[{"path":"components/we-inc/bento-grid-six-tiles-with-one-large-feature-tile.tsx","type":"registry:component","content":"// A six-tile bento: one large tile for the lead feature, five smaller ones around it.\n// Layout uses grid-template-areas so each breakpoint is one readable map.\nconst tiles = [\n  { 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.\" },\n  { area: \"a\", title: \"Paid in 40 currencies\", body: \"Clients pay in theirs, you are paid in yours.\" },\n  { area: \"b\", title: \"Receipts by photo\", body: \"Snap a receipt and the amount, date and shop are filled in.\" },\n  { 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.\" },\n  { area: \"d\", title: \"Time to invoice\", body: \"Tracked hours turn into a draft invoice in one click.\" },\n  { area: \"e\", title: \"Your accountant, invited\", body: \"Give read-only access to the books without sharing a password.\" },\n];\n\nfunction LeadArt() {\n  return (\n    <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\">\n      <div className=\"flex items-center justify-between\">\n        <div className=\"h-2.5 w-24 rounded-full bg-slate-200\" />\n        <span className=\"rounded-full bg-emerald-100 px-2.5 py-1 text-xs font-medium text-emerald-800\">Paid</span>\n      </div>\n      <p className=\"mt-4 text-3xl font-semibold tracking-tight text-slate-900\">$4,820.00</p>\n      <div className=\"mt-4 space-y-2\">\n        {[[\"Reminder sent\", \"Day 3\"], [\"Reminder sent\", \"Day 7\"], [\"Paid by card\", \"Day 9\"]].map(([a, b], i) => (\n          <div key={i} className=\"flex items-center gap-3 text-sm\">\n            <span className={`h-2 w-2 rounded-full ${i === 2 ? \"bg-emerald-500\" : \"bg-indigo-400\"}`} />\n            <span className=\"flex-1 text-slate-700\">{a}</span>\n            <span className=\"text-slate-500\">{b}</span>\n          </div>\n        ))}\n      </div>\n    </div>\n  );\n}\n\nexport default function BentoGridSixTilesWithOneLargeFeatureTile() {\n  return (\n    <section className=\"bg6 bg-slate-50 px-5 py-16 sm:py-24\">\n      <style>{`\n        .bg6-grid { display: grid; gap: 16px; grid-template-columns: 1fr; grid-template-areas: \"lead\" \"a\" \"b\" \"c\" \"d\" \"e\"; }\n        @media (min-width: 640px) { .bg6-grid { grid-template-columns: 1fr 1fr; grid-template-areas: \"lead lead\" \"a b\" \"c c\" \"d e\"; } }\n        @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\"; } }\n      `}</style>\n      <div className=\"mx-auto max-w-6xl\">\n        <p className=\"text-sm font-semibold text-indigo-700\">Ledgerly for freelancers</p>\n        <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>\n        <div className=\"bg6-grid mt-12\">\n          {tiles.map((t) => (\n            <article\n              key={t.area}\n              style={{ gridArea: t.area }}\n              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\"}`}\n            >\n              <h3 className={`font-semibold tracking-tight text-slate-900 ${t.area === \"lead\" ? \"text-2xl\" : \"text-lg\"}`}>{t.title}</h3>\n              <p className=\"mt-2 text-[15px] leading-relaxed text-slate-600\">{t.body}</p>\n              {t.area === \"lead\" && <LeadArt />}\n            </article>\n          ))}\n        </div>\n      </div>\n    </section>\n  );\n}\n"}]}
