Marketing · Gutenberg

Pricing Slider block for WordPress

Interactive pricing section with a usage/tier slider — drag to select a plan and prices update dynamically with smooth animation.

Get Blockenberg

Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.

Get Blockenberg

What it actually does

Interactive pricing section with a usage/tier slider — drag to select a plan and prices update dynamically with smooth animation.

Inspector panels on this block: Pricing Tiers, Section Settings. Those titles come from index.js, not from a shared template.

Behavior controls: “Features (one per line)” (One feature per line).

Where to find it

Gutenberg inserter → Marketing → search “Pricing Slider” (block name `blockenberg/pricing-slider` in block.json). Style it in the sidebar after insert.

How to use Pricing Slider block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Pricing Slider”, insert it. Category: Marketing.
  3. Configure inspector controls that exist on this block. Open Pricing Tiers. Set “Label”, “User count label”, “Monthly price (number)”, “Features (one per line)”.
  4. Check the published page. The view script reads HTML data attributes: data-opts. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
LabelText field in the inspector.
User count labelText field in the inspector.
Monthly price (number)Text field in the inspector.
Features (one per line)Text field in the inspector. One feature per line.
Show billing toggleOn/off toggle in the inspector. On by default. Saved as `showBilling`.
Annual discount (%)Numeric range control in the inspector. Range 0–60. block.json default: 20. Saved as `annualDiscount`.
Currency symbolText field in the inspector. block.json default: $. Saved as `currency`.
Period labelText field in the inspector. block.json default: /month. Saved as `period`.
CTA button textText field in the inspector. block.json default: Get Started. Saved as `ctaText`.
HeadingShared Blockenberg typography popover (family, size, weight, spacing). Saved as `headingTypo`.
SubheadingShared Blockenberg typography popover (family, size, weight, spacing). Saved as `subheadingTypo`.
PriceShared Blockenberg typography popover (family, size, weight, spacing). Saved as `priceTypo`.
CTA ButtonShared Blockenberg typography popover (family, size, weight, spacing). Saved as `ctaTypo`.
FeatureShared Blockenberg typography popover (family, size, weight, spacing). Saved as `featureTypo`.
Card radiusNumeric range control in the inspector. Range 0–60. block.json default: 24. Saved as `cardRadius`.
Section backgroundColor control in the inspector. block.json default: #f8fafc. Saved as `sectionBg`.
Card backgroundColor control in the inspector. block.json default: #ffffff. Saved as `cardBg`.
Heading colorColor control in the inspector. block.json default: #1e1b4b. Saved as `headingColor`.
Price colorColor control in the inspector. block.json default: #6366f1. Saved as `priceColor`.
Feature textColor control in the inspector. block.json default: #374151. Saved as `featureColor`.
Accent / borderColor control in the inspector. block.json default: #6366f1. Saved as `accentColor`.
CTA button bgColor control in the inspector. block.json default: #6366f1. Saved as `ctaBg`.
CTA textColor control in the inspector. block.json default: #ffffff. Saved as `ctaColor`.
Slider colorColor control in the inspector. block.json default: #6366f1. Saved as `sliderColor`.
Track backgroundColor control in the inspector. block.json default: #e5e7eb. Saved as `trackBg`.
Check icon colorColor control in the inspector. block.json default: #6366f1. Saved as `checkColor`.

What the front-end script actually does

When this is the right block

Notes from the implementation

viewScript: this folder’s frontend.js is enqueued on the front end for this block.

FAQ

How do I add the Pricing Slider block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Pricing Slider”. It sits under Marketing. After insert, open Pricing Tiers and set “Label”, “User count label”, “Monthly price (number)”, “Features (one per line)”.

What makes Pricing Slider different from other Blockenberg blocks?

Interactive pricing section with a usage/tier slider — drag to select a plan and prices update dynamically with smooth animation. Inspector labels on this block include “Label”, “User count label”, “Monthly price (number)”, “Features (one per line)”.

Is the Pricing Slider Gutenberg block free?

Yes. Pricing Slider ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Pricing Slider to match my theme?

Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Pricing Tiers, Section Settings).

Related marketing blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Pricing Slider from the Gutenberg inserter.

Get Blockenberg