# blockenberg/2.0.12/blocks/scroll-to-top/block.json

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

- Page: https://pluginprobe.com/plugins/blockenberg/2.0.12/code/blocks/scroll-to-top/block.json
- Raw: https://pluginprobe.com/plugins/blockenberg/2.0.12/raw/blocks/scroll-to-top/block.json
- Modified: 2026-08-23T11:58:34+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.12/code/blocks/scroll-to-top/block.json#L10-L20`.

```json
{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "blockenberg/scroll-to-top",
    "title": "Scroll To Top",
    "category": "bkbg-layout",
    "icon": "arrow-up-alt2",
    "description": "Fixed scroll-to-top button that appears after scrolling down the page.",
    "keywords": [
        "scroll",
        "top",
        "button",
        "fixed",
        "floating"
    ],
    "textdomain": "blockenberg",
    "editorScript": "bkbg-scroll-to-top-editor",
    "editorStyle": "bkbg-scroll-to-top-style",
    "style": "bkbg-scroll-to-top-style",
    "viewScript": "bkbg-scroll-to-top-frontend",
    "supports": {
        "html": false,
        "anchor": true,
        "className": true
    },
    "attributes": {
        "position": {
            "type": "string",
            "default": "bottom-right"
        },
        "offsetX": {
            "type": "number",
            "default": 24
        },
        "offsetY": {
            "type": "number",
            "default": 24
        },
        "scrollTrigger": {
            "type": "number",
            "default": 400
        },
        "icon": {
            "type": "string",
            "default": "arrow-up-alt2"
        },
        "label": {
            "type": "string",
            "default": ""
        },
        "showLabel": {
            "type": "boolean",
            "default": false
        },
        "btnBg": {
            "type": "string",
            "default": "#6c3fb5"
        },
        "btnColor": {
            "type": "string",
            "default": "#ffffff"
        },
        "btnRadius": {
            "type": "number",
            "default": 50
        },
        "btnSize": {
            "type": "number",
            "default": 48
        },
        "pulsing": {
            "type": "boolean",
            "default": false
        },
        "smooth": {
            "type": "boolean",
            "default": true
        },
        "shadow": {
            "type": "boolean",
            "default": true
        },
        "zIndex": {
            "type": "number",
            "default": 9990
        },
        "labelFontSize": {
            "type": "number",
            "default": 11
        },
        "labelFontWeight": {
            "type": "number",
            "default": 700
        }
    }
}

```
