Skip to content

shadcn.io is an independent project built on shadcn/ui

Subscription Product Card Block for Solid

A pantry crate drawn with four items and a One-time, Every 4 weeks or Every 8 weeks choice that sets a 15 percent subscribe price and a list of the next three delivery dates.

UI library: Ark UI

Preview

Preview width

Installation

Part of Pro
Pro unlocks the code and one-line install of every Pro button and text effect, plus the MCP for your AI editor.
Have Pro already? Sign in to open it.Opens here as soon as you're Pro.

Overview

Sell a repeat order on one product with this subscription product card for Solid with Ark UI. A drawn greyscale crate holds four pantry items. A segmented choice switches between One-time, Every 4 weeks and Every 8 weeks; the subscribe price is 15% under, with the usual price struck through, and a list of "Next deliveries" holds three dates counted in UTC days from a typed first delivery (one date for a one-time order). "Skip or cancel any time" is said in words. The single Shine Button says what you pay and turns into "Added" with an Undo. Guides rule the bands. For goods that are reordered.

FAQ

Where do the delivery dates come from?

From the typed FIRST date plus 28 or 56 days per delivery, added as whole UTC days so every viewer sees the same list. Swap it for your scheduler's next dates.

How is the subscribe price worked out?

subscribedCents takes OFF percent from the crate's price in cents and rounds once. A one-time order pays the full price.

What stays local, and how do I wire it for real?

The rhythm and the bag are page state; nothing is scheduled. Nothing is stored, charged or sent. Create the subscription on your billing service and show its real next dates in the list.

How does it look on a phone?

The crate comes first, then the choice, the price and the button, and the dates under them.

Is it accessible?

The choice is a named segmented group, the dates are an ordered list of time elements, and the status line announces each change.