{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Free delivery, returns, warranty and help in one band.",
  "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/**\n * The promises of a store in one band: free delivery, returns, warranty, help. Axes: layout (strip: one muted\n * panel, cards: a card each, bar: a thin line of icons and titles), tone, density.\n */\nimport { type ReactNode } from \"react\";\nimport { Box, Grid, Inline, List, ListItem, Stack, Text } from \"../compose\";\nimport { LucideIcon } from \"../icons/LucideIcon\";\nimport { EmptyState } from \"../components/empty-state\";\nimport { SectionFrame } from \"../components/section-frame\";\nimport { cn } from \"../utils\";\nimport type { Feature } from \"./feature-grid.types\";\n\nexport type UspStripProps = {\n  id: string;\n  title?: string;\n  perks: Feature[];\n  empty?: string;\n  layout?: \"strip\" | \"cards\" | \"bar\";\n  tone?: \"default\" | \"muted\";\n  density?: \"default\" | \"compact\";\n  landmarkLabel?: string;\n};\n\nexport function UspStrip({\n  id,\n  title = \"\",\n  perks,\n  empty = \"\",\n  layout = \"strip\",\n  tone = \"default\",\n  density = \"default\",\n  landmarkLabel,\n}: UspStripProps) {\n  return (\n    <SectionFrame id={id} title={title} tone={tone} density={density} landmarkLabel={landmarkLabel}>\n      {((perks?.length ?? 0) === 0) ? (\n        <EmptyState icon=\"truck\" title={empty} />\n      ) : ((layout as string) === \"bar\") ? (\n        <List tag=\"ul\" className=\"flex flex-wrap items-center justify-center gap-x-8 gap-y-4\" data-slot=\"items\">\n          {(perks ?? []).map((p) => (\n            <ListItem key={p.id} className=\"flex items-center gap-2 text-sm font-medium\" data-slot=\"item\">\n              <LucideIcon name={p.icon} size={16} />\n              <Inline>\n                {p.title}\n              </Inline>\n            </ListItem>\n          ))}\n        </List>\n      ) : (\n        <Grid\n          cols=\"1-4\"\n          className={cn(\"gap-4\", (((layout as string) === \"strip\") ? \"rounded bg-muted p-6\" : \"\"))}\n          data-slot=\"items\"\n        >\n          {(perks ?? []).map((p) => (\n            <Stack key={p.id}\n              gap=\"4\"\n              className={\n                (layout as string) === \"cards\" ? \"rounded bg-card inset-ring inset-ring-border p-6\"\n                : \"\"\n              }\n              data-slot=\"item\"\n            >\n              <Box className=\"flex size-10 shrink-0 items-center justify-center rounded bg-muted\">\n                <LucideIcon name={p.icon} size={20} />\n              </Box>\n              <Stack gap=\"2\">\n                <Text size=\"sm\" weight=\"semibold\">\n                  {p.title}\n                </Text>\n                <Text size=\"sm\" className=\"text-muted-foreground\">\n                  {p.text}\n                </Text>\n              </Stack>\n            </Stack>\n          ))}\n        </Grid>\n      )}\n    </SectionFrame>\n  );\n}\n",
      "path": "blocks/usp-strip.tsx",
      "target": "blocks/usp-strip.tsx"
    }
  ],
  "meta": {
    "category": "commerce",
    "group": "storefront",
    "kind": "block",
    "tags": [
      "react",
      "block"
    ]
  },
  "name": "usp-strip",
  "registryDependencies": [
    "compose",
    "empty-state",
    "feature-grid",
    "lucide-icon",
    "section-frame",
    "utils"
  ],
  "runtime": "react",
  "title": "Usp Strip",
  "type": "registry:block"
}
