C Carbon · 17

Product list

추천 준비물

Coupang links kept low-key. The disclosure comes first in a bordered box, and links can be outlined blue buttons, links in a table, or links under checklist items.

RuleThe affiliate disclosure sits right above the product block, links are marked as sponsored, and items without a real link stay plain text.

Also known as: ProductList
···
usage (Astro)
---
// src/pages/[post].astro
import { ProductList } from '../components/registry';
---
<ProductList items={products} disclosure={AFFILIATE_DISCLOSURE} />
site.json
// sites/<사이트>/site.json — 적지 않으면 사이트 이름으로 자동으로 고른다
{
  "variants": { "ProductList": "rows" }
}
props (TypeScript)
export interface ProductListProps {
  items: Product[];
  /** 대가성 문구 — 상품 블록(data-product-block) 바로 앞 형제 요소에 있어야 한다(seo:audit) */
  disclosure: string;
  variant?: VariantOf<'ProductList'>;
}

rows puts the product name and reason on the left and an outlined blue "View on Coupang" button on the right (label left, external-link icon at the far right, no fill). table uses a grey header row (Item, Why you need it) with the link as text in the right column. checklist writes the name and reason next to an empty square, with a text link underneath.

For visible links, rows; to feel least like an ad, table or checklist. The checklist squares are drawn as empty checkboxes.

Products without a link appear only as an item row. Each link also carries a "new window, ad link" note, but it is read aloud by screen readers and is not visible on screen.

Use it when — Variants 3

  1. rowsRows When there are two or three items — a quiet button on each row.Used by 3: babyplay, babysick, feeding
  2. tableTable When the reason matters — item | why you need it | link.Used by 5: babysleep, milestone, newborn, vaccination, 허브
  3. checklistChecklist Packing-list posts such as birth prep — empty checkboxes and text links.Used by 3: babyfood, birthprep, toddlerfood
Open as page ↗

Suggest an entry

Tell us about a missing component or variant, or something a pack should fix. We read every suggestion.