Skip to content
Back to top, light
Light
Back to top, dark
Dark

Every state

  • Back to top, default, light
    Back to top, default, dark

    default

  • Back to top, hover, light
    Back to top, hover, dark

    hover

  • Back to top, focus, light
    Back to top, focus, dark

    focus

  • Back to top, after-article, light
    Back to top, after-article, dark

    after-article

Props

PropTypeDefaultWhat it does
labelstring"Back to top"The visible label.
thresholdnumber600How far the page must scroll before it shows, in pixels.
position"fixed" | "inline""fixed"Fixed in the bottom-right corner, or in the flow where it is placed.
targetIdstring–Id of the element that gets focus at the top; defaults to <main>, then the body.
visibleboolean–Always show it (previews).
classNamestring–Extra classes on the button.

More buttons

All 14
button-02 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans