{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "features-list",
  "type": "registry:block",
  "title": "Features, list",
  "description": "Heading and a link on the left, a vertical list of up to six features with icon, title and description on the right.",
  "categories": [
    "features"
  ],
  "dependencies": [
    "zod@^4.6.5"
  ],
  "registryDependencies": [
    "https://ui.klarhimmel.com/r/block-kit.json",
    "https://ui.klarhimmel.com/r/editing.json",
    "https://ui.klarhimmel.com/r/kit-c-proof.json"
  ],
  "files": [
    {
      "path": "src/blocks/features-list/spec.ts",
      "type": "registry:file",
      "target": "components/klarhimmel/blocks/features-list/spec.ts",
      "content": "import { z } from 'zod';\nimport { defineSpec, icon, link, t } from '../_shared/schema';\n\nconst schema = z.object({\n  eyebrow: t(60),\n  title: t(120),\n  description: t(300),\n  link,\n  items: z.array(z.object({ icon, title: t(60), description: t(200) })).min(1).max(6),\n});\n\nexport const spec = defineSpec({\n  type: 'features-list',\n  aliases: ['features/list'],\n  name: 'Features, list',\n  category: 'features',\n  role: 'body',\n  description: 'Heading and a link on the left, a vertical list of up to six features with icon, title and description on the right.',\n  schema,\n  defaults: {\n    eyebrow: 'Name the reason',\n    title: 'Say what the reader gets and what goes away',\n    description: 'Say in one sentence who this is for and what they would rather be doing.',\n    link: { label: 'Read more', href: '#how-it-works' },\n    items: [\n      { icon: 'layers', title: 'Name the first benefit', description: 'Say what the first benefit means for the reader, in one sentence.' },\n      { icon: 'clock', title: 'Name the second benefit', description: 'Say what the second benefit means for the reader, in one sentence.' },\n      { icon: 'shield', title: 'Name the third benefit', description: 'Say what the third benefit means for the reader, in one sentence.' },\n      { icon: 'chart', title: 'Name the fourth benefit', description: 'Say what the fourth benefit means for the reader, in one sentence.' },\n    ],\n  },\n});\n"
    },
    {
      "path": "src/blocks/features-list/index.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/blocks/features-list/index.tsx",
      "content": "import { Text, withHeadingLevel } from '../../editing';\nimport { ActionLink, Container, Icon, Section } from '../_shared/kit';\nimport { Heading, useHeadingId } from '../_shared/c-proof-kit';\nimport { spec } from './spec';\nimport type { BlockProps } from '../types';\nimport type { z } from 'zod';\n\nexport { spec };\ntype Props = z.infer<typeof spec.schema>;\n\nfunction FeaturesList({ props }: BlockProps<Props>) {\n  const id = useHeadingId(props.title);\n  return (\n    <Section labelledBy={id}>\n      <Container className=\"grid gap-12 @4xl:grid-cols-[1fr_1.4fr] @4xl:gap-20\">\n        <div>\n          <Heading id={id} eyebrow={props.eyebrow} title={props.title} description={props.description} />\n          <ActionLink path={['link']} value={props.link} variant=\"secondary\" size=\"md\" className=\"mt-8\" />\n        </div>\n        <ul className=\"divide-y divide-kh-line border-y border-kh-line\">\n          {props.items.map((item, i) => (\n            <li key={i} className=\"flex gap-5 py-7\">\n              <span className=\"inline-flex size-10 shrink-0 items-center justify-center rounded-kh border border-kh-line bg-kh-surface text-kh-accent-ink\">\n                <Icon name={item.icon} />\n              </span>\n              <div className=\"min-w-0\">\n                <Text path={['items', i, 'title']} value={item.title} as=\"h3\" className=\"text-kh-heading font-semibold\" />\n                <Text path={['items', i, 'description']} value={item.description} as=\"p\" className=\"mt-1.5 text-kh-body text-kh-muted\" />\n              </div>\n            </li>\n          ))}\n        </ul>\n      </Container>\n    </Section>\n  );\n}\n\nexport default withHeadingLevel(FeaturesList);\n"
    }
  ]
}
