{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"features-grid","type":"registry:block","title":"Features grid","description":"Six features with an icon, a title and one sentence each, in three columns, then two, then one.","dependencies":["lucide-react"],"registryDependencies":["https://dashral.com/r/utils.json"],"files":[{"path":"registry/dashral/blocks/features-grid.tsx","type":"registry:file","target":"components/dashral/blocks/features-grid.tsx","content":"import { BellRing, Blocks, FileSpreadsheet, Gauge, Lock, Zap } from \"lucide-react\"\n\n// The products named here are real ones, as examples: their names are their owners' trademarks, no affiliation implied. Put in the tools your product really works with.\nconst brands = { payments: \"Stripe\", store: \"Shopify\" }\n\nexport type Feature = { icon: React.ReactNode; title: string; text: React.ReactNode }\n\nconst sampleFeatures: Feature[] = [\n  { icon: <Zap />, title: \"Live numbers\", text: \"Charts update the moment your data does — no refresh, no nightly export.\" },\n  { icon: <Blocks />, title: \"Every source, one place\", text: `${brands.payments}, ${brands.store}, Postgres and 40 more, connected in a couple of clicks.` },\n  { icon: <BellRing />, title: \"Alerts that matter\", text: \"Get a message when revenue dips or signups spike, not a daily wall of email.\" },\n  { icon: <FileSpreadsheet />, title: \"Exports people open\", text: \"CSV and real Excel files, with the columns and filters you chose.\" },\n  { icon: <Lock />, title: \"Secure by default\", text: \"Roles, SSO and an audit log, so the right people see the right numbers.\" },\n  { icon: <Gauge />, title: \"Fast on any device\", text: \"A dashboard that loads in a blink on a phone in a taxi, too.\" },\n]\n\n/**\n * What the product does, in six short parts: an icon, a title and one sentence each, in a grid that becomes two\n * columns, then one, on smaller screens. Every part comes from props.\n */\nexport function FeaturesGrid({\n  eyebrow = \"Features\",\n  title = \"Everything a team needs to see the business clearly\",\n  description = \"One place for the numbers, built so the whole team actually uses it.\",\n  features = sampleFeatures,\n}: {\n  eyebrow?: React.ReactNode\n  title?: React.ReactNode\n  description?: React.ReactNode\n  features?: Feature[]\n}) {\n  return (\n    <section className=\"bg-background px-4 py-16 sm:px-6 sm:py-24\">\n      <div className=\"mx-auto max-w-6xl\">\n        <div className=\"max-w-2xl\">\n          {eyebrow && <p className=\"text-sm font-medium text-primary-text\">{eyebrow}</p>}\n          <h2 className=\"mt-3 text-3xl font-semibold tracking-[-0.03em] text-balance sm:text-4xl\">{title}</h2>\n          {description && <p className=\"mt-4 text-pretty text-muted-foreground\">{description}</p>}\n        </div>\n        <ul className=\"mt-12 grid gap-x-8 gap-y-10 sm:grid-cols-2 lg:grid-cols-3\">\n          {features.map((feature) => (\n            <li key={feature.title} className=\"grid content-start gap-3\">\n              <span aria-hidden className=\"grid size-10 place-items-center rounded-lg bg-primary/10 text-primary-text [&>svg]:size-5\">\n                {feature.icon}\n              </span>\n              <h3 className=\"font-semibold\">{feature.title}</h3>\n              <p className=\"text-sm leading-relaxed text-muted-foreground\">{feature.text}</p>\n            </li>\n          ))}\n        </ul>\n      </div>\n    </section>\n  )\n}\n"}],"cssVars":{"theme":{"color-primary-text":"var(--primary-text, var(--primary))"},"light":{},"dark":{}}}