{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The features as rows: text beside a picture (the rows layout of FeatureGrid). Icons are Lucide names.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n/** The features as rows: text beside a picture (the rows layout of FeatureGrid). Icons are Lucide names. */\nimport { type ReactNode } from \"react\";\nimport { Box, Grid, Stack, Text, Title } from \"../compose\";\nimport { LucideIcon } from \"../icons/LucideIcon\";\nimport { MediaFrame } from \"../components/media-frame\";\nimport { cn } from \"../utils\";\nimport type { Feature } from \"../blocks/feature-grid.types\";\n\nexport type FeatureRowsProps = {\n  features: Feature[];\n  mediaSide?: \"end\" | \"start\" | \"alternate\";\n};\n\nexport function FeatureRows({ features, mediaSide = \"end\" }: FeatureRowsProps) {\n  return (\n    <Stack gap=\"8\" align=\"stretch\" data-slot=\"feature-rows\">\n      {(features ?? []).map((feature) => (\n        <Grid key={feature.id} cols=\"1-2\" className=\"group items-center gap-8\" data-slot=\"feature-card\">\n          <Stack gap=\"2\" className=\"min-w-0\">\n            <LucideIcon name={feature.icon} size={24} />\n            <Title as={3} size=\"xl\" weight=\"bold\">\n              {feature.title}\n            </Title>\n            <Text size=\"base\" className=\"text-muted-foreground\">\n              {feature.text}\n            </Text>\n          </Stack>\n          <Box\n            className={cn(\n              \"w-full min-w-0\",\n              (\n                (mediaSide as string) === \"start\" ? \"md:order-first\"\n                : (mediaSide as string) === \"alternate\" ? \"md:group-even:order-first\"\n                : \"\"\n              )\n            )}\n          >\n            <MediaFrame alt={feature.title} src={feature.image} ratio=\"4/3\" />\n          </Box>\n        </Grid>\n      ))}\n    </Stack>\n  );\n}\n",
      "path": "components/feature-rows.tsx",
      "target": "components/feature-rows.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "react",
      "component"
    ]
  },
  "name": "feature-rows",
  "registryDependencies": [
    "compose",
    "feature-grid",
    "lucide-icon",
    "media-frame",
    "utils"
  ],
  "runtime": "react",
  "title": "Feature Rows",
  "type": "registry:component"
}
