Embedded Pricing

Add a fully hosted, responsive pricing table to any page with a single <script> tag. No React, no Vue, no build step required.

# noqa: E501

Live Example

This is the embedded widget running live on this page:

How It Works

  1. 1 — Add a container div
    <div id="pricing-root"></div>
  2. 2 — Load the widget script
    <script
      src="https://your-vbwd-instance.com/embed/widget.js"
      data-embed="landing1"
      data-category="root"
      data-container="pricing-root"
      data-locale="en"
      data-theme="indigo"
      data-height="700"
      data-highlight="pro"
      data-features="All core platform features,Unlimited projects,Priority email support,Cancel anytime"
    ></script>
  3. 3 — Done. The widget renders inside a sandboxed iframe. Billing, checkout, and plan management are fully handled by your VBWD backend. # noqa: E501

Configuration Attributes

# noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501
AttributeRequiredDefaultDescription
data-embedYesWidget preset. Use landing1 for the standard pricing table.
data-categoryNorootTariff plan category slug. root shows all plans.
data-containerYesID of the host <div>.
data-localeNoenUI language: en, ru, fr, de, …
data-themeNodefaultCard colour theme: default, light, dark, teal, indigo, emerald. Any other value falls back to default.
data-heightNo700iframe height in pixels.
data-highlightNoPlan slug rendered as featured.
data-imageNoHeader image URL for the card.
data-featuresNoComma-separated feature bullets.
data-headingNoOverrides the card heading.
data-subtitleNoOverrides the card subtitle.
data-ctaNoOverrides the CTA button label.
data-badgeNoOverrides the featured-plan badge.

data-features is one comma-separated list, so a single feature must not contain a comma. Leave data-heading, data-subtitle, data-cta and data-badge unset to use the built-in localised text.

Show a Specific Category

<script
  src="/embed/widget.js"
  data-embed="landing1"
  data-category="backend"
  data-container="pricing-root"
  data-theme="dark"
></script>

Customise Copy, Theme & Highlight

<script
  src="/embed/widget.js"
  data-embed="landing1"
  data-category="root"
  data-container="pricing-root"
  data-theme="emerald"
  data-highlight="pro"
  data-badge="Most popular"
  data-heading="Choose your plan"
  data-subtitle="Upgrade or downgrade anytime"
  data-cta="Get started"
  data-features="All core platform features,Unlimited projects,Cancel anytime"
></script>
\n\n

How It Works

\n
    \n
  1. \n 1 — Add a container div\n
    <div id=\"pricing-root\"></div>
    \n
  2. \n
  3. \n 2 — Load the widget script\n
    <script\n  src=\"https://your-vbwd-instance.com/embed/widget.js\"\n  data-embed=\"landing1\"\n  data-category=\"root\"\n  data-container=\"pricing-root\"\n  data-locale=\"en\"\n  data-theme=\"indigo\"\n  data-height=\"700\"\n  data-highlight=\"pro\"\n  data-features=\"All core platform features,Unlimited projects,Priority email support,Cancel anytime\"\n></script>
    \n
  4. \n
  5. \n 3 — Done. The widget renders inside a sandboxed iframe. Billing, checkout, and plan management are fully handled by your VBWD backend. # noqa: E501\n
  6. \n
\n\n

Configuration Attributes

\n \n \n \n \n \n # noqa: E501\n # noqa: E501\n # noqa: E501\n # noqa: E501\n # noqa: E501\n \n \n \n \n \n \n \n \n \n
AttributeRequiredDefaultDescription
data-embedYesWidget preset. Use landing1 for the standard pricing table.
data-categoryNorootTariff plan category slug. root shows all plans.
data-containerYesID of the host <div>.
data-localeNoenUI language: en, ru, fr, de, …
data-themeNodefaultCard colour theme: default, light, dark, teal, indigo, emerald. Any other value falls back to default.
data-heightNo700iframe height in pixels.
data-highlightNoPlan slug rendered as featured.
data-imageNoHeader image URL for the card.
data-featuresNoComma-separated feature bullets.
data-headingNoOverrides the card heading.
data-subtitleNoOverrides the card subtitle.
data-ctaNoOverrides the CTA button label.
data-badgeNoOverrides the featured-plan badge.
\n\n

data-features is one comma-separated list, so a single\n feature must not contain a comma. Leave data-heading, data-subtitle,\n data-cta and data-badge unset to use the built-in localised text.

\n\n

Show a Specific Category

\n
<script\n  src=\"/embed/widget.js\"\n  data-embed=\"landing1\"\n  data-category=\"backend\"\n  data-container=\"pricing-root\"\n  data-theme=\"dark\"\n></script>
\n\n

Customise Copy, Theme & Highlight

\n
<script\n  src=\"/embed/widget.js\"\n  data-embed=\"landing1\"\n  data-category=\"root\"\n  data-container=\"pricing-root\"\n  data-theme=\"emerald\"\n  data-highlight=\"pro\"\n  data-badge=\"Most popular\"\n  data-heading=\"Choose your plan\"\n  data-subtitle=\"Upgrade or downgrade anytime\"\n  data-cta=\"Get started\"\n  data-features=\"All core platform features,Unlimited projects,Cancel anytime\"\n></script>
\n\n \n\n\n\n", "seo": {"robots": "index,follow", "canonical_url": "https://vbwd.cc/pricing-embedded", "meta_description": "Learn how to embed the VBWD pricing widget in any website with a single script tag."}}