Skip to main content
Clever Ops

Shipping Promise Strip

The conversion trust strip without the carnival, a preformatted delivery estimate, a data-true free-shipping progress hairline as the single accent, and a quiet returns note.

Preview & code

Loading Shipping Promise Strip preview

Installation

pnpm dlx shadcn@latest add @cleverui/shipping-promise-strip

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { ShippingPromiseStrip } from '@/components/ui/shipping-promise-strip'
Exampletsx
import { ShippingPromiseStrip } from '@/components/ui/shipping-promise-strip'

export default function ShippingPromiseStripDemo() {
  return (
    <div className="mx-auto flex w-full max-w-2xl justify-center px-4 py-10 sm:px-6 sm:py-14">
      <ShippingPromiseStrip
        estimate="Arrives Wed 16 Jul, order by 2pm"
        progress={0.72}
        thresholdNote="Add $18 more for free shipping"
        unlockedNote="Free shipping unlocked"
        returnsNote="30-day returns, free and tracked"
      />
    </div>
  )
}

API reference

ShippingPromiseStrip accepts the following props.

PropTypeDefaultDescription
estimate*stringPREFORMATTED display line like "Arrives Wed 16 Jul, order by 2pm". The strip never reads or constructs a Date.
progressnumber0–1 toward the free-shipping threshold; the fill renders this exact value. Omit to hide the meter.
thresholdNotestringPREFORMATTED, e.g. "Add $18 more for free shipping"
unlockedNotestring'Free shipping unlocked'replaces thresholdNote when progress reaches 1
returnsNotestring'30-day returns, free and tracked'the quiet third line

…plus everything from React.HTMLAttributes<HTMLElement>: className, event handlers, aria attributes and the rest pass straight through.

Frequently asked questions

How do I install the Shipping Promise Strip component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/shipping-promise-strip`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Shipping Promise Strip require?

Shipping Promise Strip uses motion and lucide-react on top of React and Tailwind CSS. You don't need to install them manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Shipping Promise Strip to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services