# blockenberg/2.0.7/blocks/pricing-switcher/block.json

Blockenberg — 600+ Advanced Gutenberg Blocks &amp; AI Agent for WordPress Block Editor, version 2.0.7. 83 lines.

- Page: https://pluginprobe.com/plugins/blockenberg/2.0.7/code/blocks/pricing-switcher/block.json
- Raw: https://pluginprobe.com/plugins/blockenberg/2.0.7/raw/blocks/pricing-switcher/block.json
- Modified: 2026-03-06T12:32:40+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/blockenberg/2.0.7/code/blocks/pricing-switcher/block.json#L10-L20`.

```json
{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "blockenberg/pricing-switcher",
    "title": "Pricing Switcher",
    "category": "bkbg-marketing",
    "icon": "controls-repeat",
    "description": "Monthly/Yearly toggle that shows or hides pricing columns on the page.",
    "keywords": [
        "pricing",
        "toggle",
        "switcher",
        "billing"
    ],
    "textdomain": "blockenberg",
    "editorScript": "bkbg-pricing-switcher-editor",
    "editorStyle": "bkbg-pricing-switcher-style",
    "style": "bkbg-pricing-switcher-style",
    "viewScript": "bkbg-pricing-switcher-frontend",
    "supports": {
        "html": false,
        "anchor": true,
        "className": true,
        "align": [
            "wide",
            "full"
        ]
    },
    "attributes": {
        "labelMonthly": {
            "type": "string",
            "default": "Monthly"
        },
        "labelYearly": {
            "type": "string",
            "default": "Yearly"
        },
        "defaultActive": {
            "type": "string",
            "default": "monthly"
        },
        "switchStyle": {
            "type": "string",
            "default": "pills"
        },
        "accentColor": {
            "type": "string",
            "default": "#6c3fb5"
        },
        "bgColor": {
            "type": "string",
            "default": "#f3f3f7"
        },
        "activeText": {
            "type": "string",
            "default": "#ffffff"
        },
        "inactiveText": {
            "type": "string",
            "default": "#555555"
        },
        "borderRadius": {
            "type": "number",
            "default": 40
        },
        "savingBadge": {
            "type": "string",
            "default": "Save 20%"
        },
        "showBadge": {
            "type": "boolean",
            "default": true
        },
        "labelTypo": {
            "type": "object",
            "default": {}
        },
        "badgeTypo": {
            "type": "object",
            "default": {}
        }
    }
}
```
