{
  "$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-->\n<script lang=\"ts\">\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</script>\n\n<script setup lang=\"ts\">\nimport Box from \"../compose/Box.vue\";\nimport Grid from \"../compose/Grid.vue\";\nimport Inline from \"../compose/Inline.vue\";\nimport List from \"../compose/List.vue\";\nimport ListItem from \"../compose/ListItem.vue\";\nimport LucideIcon from \"../icons/LucideIcon.vue\";\nimport Stack from \"../compose/Stack.vue\";\nimport Text from \"../compose/Text.vue\";\nimport EmptyState from \"../components/empty-state.vue\";\nimport SectionFrame from \"../components/section-frame.vue\";\nimport { cn } from \"../utils\";\n\nconst {\n  id,\n  title = \"\",\n  perks,\n  empty = \"\",\n  layout = \"strip\",\n  tone = \"default\",\n  density = \"default\",\n  landmarkLabel,\n} = defineProps<UspStripProps>();\n</script>\n\n<template>\n  <SectionFrame :id=\"id\" :title=\"title\" :tone=\"tone\" :density=\"density\" :landmarkLabel=\"landmarkLabel\">\n    <EmptyState v-if=\"((perks?.length ?? 0) === 0)\" icon=\"truck\" :title=\"empty\" />\n    <List\n      v-else-if=\"((layout as string) === 'bar')\"\n      tag=\"ul\"\n      class=\"flex flex-wrap items-center justify-center gap-x-8 gap-y-4\"\n      data-slot=\"items\"\n    >\n      <ListItem v-for=\"p in perks\" :key=\"p.id\" class=\"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    </List>\n    <Grid v-else\n      cols=\"1-4\"\n      :class=\"cn('gap-4', (((layout as string) === 'strip') ? 'rounded bg-muted p-6' : ''))\"\n      data-slot=\"items\"\n    >\n      <Stack v-for=\"p in perks\" :key=\"p.id\"\n        gap=\"4\"\n        :class=\"(((layout as string) === 'cards') ? 'rounded bg-card inset-ring inset-ring-border p-6' : '')\"\n        data-slot=\"item\"\n      >\n        <Box class=\"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\" class=\"text-muted-foreground\">\n            {{ p.text }}\n          </Text>\n        </Stack>\n      </Stack>\n    </Grid>\n  </SectionFrame>\n</template>\n",
      "path": "blocks/usp-strip.vue",
      "target": "blocks/usp-strip.vue"
    }
  ],
  "meta": {
    "category": "commerce",
    "group": "storefront",
    "kind": "block",
    "tags": [
      "vue",
      "block"
    ]
  },
  "name": "usp-strip",
  "registryDependencies": [
    "box",
    "empty-state",
    "feature-grid",
    "grid",
    "inline",
    "list",
    "list-item",
    "lucide-icon",
    "section-frame",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "vue",
  "title": "Usp Strip",
  "type": "registry:block"
}
