BackToTop

BackToTop Component

autodocs
Playground
Props
PropTypeDefaultValue
thresholdnumber
smoothboolean
positionselectleft | right
Default
LowThreshold
LeftPosition
PROPTYPEDEFAULTDESCRIPTION
positionselect
smoothboolean
thresholdnumber
Using BackToToptsx
import { BackToTop } from '@/components/BackToTop'

<BackToTop
  threshold="..."
  smooth="..."
  position="..."
/>
Tokens Used
No design tokens detected