Search Plus UI Blocks

Find a block, a category or a site

Subscription buildersubscription-builder-steps

Use in Plus UI
npx shadcn@latest add https://blocks.plusui.com/r/subscription-builder-steps.json

Subscriptions · 2 variants

← → to step through · + on a thumbnail to compare side by side (up to 3)

/preview/subscription-builder-steps
Open ↗

Default content

{
  "eyebrow": "Subscription",
  "title": "Fresh coffee, roasted on Tuesday, at your door by Thursday",
  "description": "Build it in four choices. Change the coffee, the grind or the pace from your account whenever you like — the price updates as you go.",
  "currency": "GBP",
  "steps": [
    {
      "id": "coffee",
      "title": "Choose a coffee",
      "hint": "Roaster's choice rotates every delivery, so you taste the whole wall over a year.",
      "layout": "cards",
      "options": [
        {
          "id": "rotation",
          "label": "Roaster's choice",
          "detail": "A different single origin every bag",
          "image": {
            "src": "https://images.unsplash.com/photo-1447933601403-0c6688de566e?auto=format&fit=crop&w=900&h=1100&q=80",
            "alt": "Roasted coffee beans filling the frame"
          },
          "badge": "Most popular"
        },
        {
          "id": "espresso",
          "label": "Barrow Street espresso",
          "detail": "Hazelnut, dark cherry, cocoa",
          "image": {
            "src": "https://images.unsplash.com/photo-1511920170033-f8396924c348?auto=format&fit=crop&w=900&h=1100&q=80",
            "alt": "Portafilters with ground coffee beside a latte"
          },
          "priceDelta": -1
        },
        {
          "id": "bensa",
          "label": "Bensa natural",
          "detail": "Strawberry, jasmine, cacao",
          "image": {
            "src": "https://images.unsplash.com/photo-1498804103079-a6351b050096?auto=format&fit=crop&w=900&h=1100&q=80",
            "alt": "Small cups of coffee in a ring on a round table"
          },
          "priceDelta": 1.3
        },
        {
          "id": "decaf",
          "label": "Cerrado decaf",
          "detail": "Toffee, almond, sugarcane process",
          "image": {
            "src": "https://images.unsplash.com/photo-1524350876685-274059332603?auto=format&fit=crop&w=900&h=1100&q=80",
            "alt": "A burlap sack of roasted beans"
          },
          "priceDelta": -1
        }
      ],
      "defaultId": "rotation"
    },
    {
      "id": "grind",
      "title": "Whole bean or ground?",
      "hint": "Whole beans stay fresh about twice as long. We grind to order on the morning it ships.",
      "layout": "pills",
      "options": [
        {
          "id": "whole",
          "label": "Whole bean"
        },
        {
          "id": "filter",
          "label": "Filter"
        },
        {
          "id": "cafetiere",
          "label": "Cafetière"
        },
        {
          "id": "espresso",
          "label": "Espresso"
        },
        {
          "id": "moka",
          "label": "Moka pot"
        }
      ],
      "defaultId": "whole"
    },
    {
      "id": "size",
      "title": "How much?",
      "layout": "pills",
      "options": [
        {
          "id": "250",
          "label": "250 g",
          "detail": "About 16 cups",
          "price": 11.5
        },
        {
          "id": "500",
          "label": "2 × 250 g",
          "detail": "About 32 cups",
          "price": 22
        },
        {
          "id": "1000",
          "label": "1 kg",
          "detail": "About 65 cups",
          "price": 38
        }
      ],
      "defaultId": "250"
    }
  ],
  "frequency": {
    "title": "How often?",
    "hint": "Most people with one cafetière a day choose every two weeks.",
    "options": [
      {
        "id": "1w",
        "label": "Every week",
        "everyDays": 7,
        "discount": 15
      },
      {
        "id": "2w",
        "label": "Every 2 weeks",
        "everyDays": 14,
        "discount": 10
      },
      {
        "id": "4w",
        "label": "Every 4 weeks",
        "everyDays": 28,
        "discount": 5
      }
    ],
    "defaultId": "2w"
  },
  "labels": {
    "step": "Step {n}",
    "summaryTitle": "Your subscription",
    "perDelivery": "per delivery",
    "saving": "{percent}% off every delivery",
    "monthly": "About {amount} a month",
    "firstDelivery": "First bag roasted next Tuesday, posted free"
  },
  "action": {
    "label": "Start my subscription",
    "href": "#",
    "variant": "primary"
  },
  "perks": [
    "Skip or pause from your account",
    "Free UK postage",
    "Cancel any time, no questions"
  ],
  "note": "Letterbox-sized bags. If a coffee isn't for you, tell us and the next one is on us."
}