Skip to content

NavigationBackToTop ​

A button that appears after some scrolling and goes back to the top, without animation if the visitor asked for less motion.

ts
import { NavigationBackToTop } from '@zairakai/vue-components/Navigation'

Usage ​

vue
<NavigationBackToTop />

Props ​

NameTypeDefaultDescription
idstring
classstring
thresholdnumber300The scroll distance, in pixels, after which the button shows.
labelstring'Back to top'

Events ​

NameDescription
click

Slots ​

NameDescription
default

See Theming for the class hooks and the data-* state of the components.

Documentation of 1.4.4 , built from 8e9b054 on 1.4.4 by pipeline #2989941079 on 2026-10-26.