Table of Contents#
Default Back To Top#
BackToTop Props#
Prop | Type | Default | Description |
---|---|---|---|
threshold | number | 300 | Scroll distance in pixels before the button appears. |
smooth | boolean | true | Enables smooth scroll to top. |
children | ReactNode | - | Custom content for the button. |
className | string | '' | Additional CSS classes for the button. |