Skip to content

Back To Top

Last updated 27 Oct 2026

NbBackToTop is a round floating button in the bottom corner that takes the visitor back to the top of a long page. It appears once the page has been scrolled past one screen height, and disappears again near the top. Place it once, in the layout every long page shares.

Props ​

PropTypeDefaultDescription
thresholdnumberone screen heightHow far the page must be scrolled, in px
labelstring'Back to top'Accessible name and tooltip