# KptScrollTop (kpt-scroll-top)
A "back to top" button - appears after scrolling past `threshold` px.
Import: `import { KptScrollTop } from '@konce-pt/angular';`
## Inputs
- `threshold`: number (px, default 300)
- `target`: string | null - selector of the scrolled element; the window by default
## Example
## The scrolled element
Without `target` the button watches the window. `target` is a selector, resolved after render, so
the element must already be in the page; changing it re-attaches the listener, and the listener is
removed when the component is destroyed.
## Tokens
The button uses `--kpt-color-primary` / `--kpt-color-on-primary`, `--kpt-elevation-3`.
## Accessibility
A real `