SearchCtrlK

  • ↑↓navigate
  • ↵open
  • escclose

Can’t find it? Contact us

FulfilmentNote

A quiet line saying how an item reaches the buyer: a download, a parcel, or a pickup.

Instant download · PDF, 300 dpiShips in 3–5 days, rolled in a tubePick up at the Leeds studio
View code
tsx
<FulfilmentNote kind="download">Instant download · PDF, 300 dpi</FulfilmentNote>
<FulfilmentNote kind="ships">Ships in 3–5 days, rolled in a tube</FulfilmentNote>
<FulfilmentNote kind="pickup">Pick up at the Leeds studio</FulfilmentNote>

Installation

An ordinary dependency: install it, import the theme once, and import the component where it is used.

Terminal
npm add @sdxc/ui remix
typescript
import "@sdxc/ui/theme.css";

Usage

typescript
import { FulfilmentNote } from "@sdxc/ui/commerce";

Renders an inline icon and text in small muted type, so it flows inside a line of details or stands alone under a price. The kind is written to data-kind for a page to style by.

Examples

tsx
<FulfilmentNote kind="ships">Ships in 3–5 days</FulfilmentNote>

Props

Read from the component's own types, so every prop, every default and every allowed value is listed.

PropTypeRequiredDescription
kind"download" | "ships" | "pickup"Yes
childrenRemixNodeYesThe words, such as "Instant download" or "Ships in 3–5 days".

Also accepts everything in Omit<TagProps<"span">, "children">.

Types

NameValuesWhat it decides
Kind"download" | "ships" | "pickup"How the item reaches the buyer.
@sdxc/ui

Can’t find it? Contact us