Payment explainer numbered rows — Storefront block

Pro

storefront-payment-explainer-numbered-rows · for checkout, cart, product pages

Payment explainer numbered rows

A trust section of the shop: what we see, what we keep, what cannot leak, as numbered rows

Documentation

Installation

One command copies the block into your project with the shadcn CLI (the registry is set once: Installation).

pnpm dlx shadcn-vue@latest add @trame/storefront-payment-explainer-numbered-rows

Usage

Its demo data, shortened (Using blocks).

<script setup lang="ts">
import StorefrontPaymentExplainerNumberedRows from '@/components/trame/blocks/storefront/storefront-payment-explainer-numbered-rows.vue'

const props = {
title: "How payment works",
intro: "You are charged when your order ships, and your card number never touches our servers.",
items: [
{
heading: "When is my card charged?",
body: "When your order ships, never before. A pre-authorization may appear on your statement."
},
{
heading: "Where do my card details go?",
body: "To our payment provider. The shop never sees or stores your card number."
}
],
options: {
numbered: true
}
}
</script>

<template>
<StorefrontPaymentExplainerNumberedRows v-bind="props" />
</template>

Props

Each prop says who changes it: Words, Picture, Action, Design, Data.* required.

PropTypeDescription
title*stringWordswhat the block answers ("How payment works")
introstringWordsone sentence of the merchant’s real payment policy
items*Item[]2 to 6 claims the merchant can stand behind; each is their own policy
caveatstringWordsone line of fine print, only if the merchant has one
optionsOptionsthe block’s settings: layout choices and secondary words, read by every variant
Item items[] · 2 props
PropTypeDescription
heading*stringWordsa short question or fact ("When is my card charged?")
body*stringWordsone sentence, the merchant’s real policy ("At shipping, never before.")
Options options · 2 props
PropTypeDescription
numberedbooleanshow 01, 02, 03
mood'inverse' | 'brand' | 'warm' | 'tint' | stringa band of the page that redefines the theme surfaces inside it
What it asks your app for

The block never knows your app: it asks it, through one context provided once, where its links lead, what its actions do, how a price reads and which words to say (The host context).

MemberWhat it is for
labelyour word for an interface key, or undefined to keep the block’s own

Features

  • Every word in the server HTML
  • Same markup in Vue and React
  • Theme tokens only: every theme, light and dark
  • Shows what you give it, invents nothing
  • No motion; still under reduced motion
  • Real buttons and links, a visible focus

A storefront section, for checkout, cart, product pages.

More storefront blocks

  • Parcel cart by shipment: when the order leaves in several parcels or to several people: one card per delivery with its own heading and arrival, the summary beside.
  • Party details lead plus names: the one who books in a full form, then the others as one compact roster, a row per guest: a larger party where only names (or a meal choice) are needed of the rest.
  • Party details per person: a card per guest, the one who books first with every field, the others with theirs, each added or removed in place beside the booking’s summary: a small party whose guests each need a few details.
  • Past lookbooks covers grid: past lookbooks as a grid of covers with their season and status: the archive of a brand that has history.
  • Payment instalments plan schedule: the provider offers pay-in-full or N payments: the chosen plan shows its dated schedule and any extra cost.
  • Payment methods radio accordion: several unlike methods (card, PayPal, transfer): each a row that opens only its own fields.
  • Payment methods wallets then card: the shop takes wallets: express buttons first, a divider, then a card panel that can fold.
  • Payment recovery actions list: a page of its own after a declined or failed payment: what happened, then up to three ways forward as stacked rows.

All 409 storefront blocks