@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
20 lines (13 loc) • 361 B
Markdown
id: Back to top
section: components
cssPrefix: pf-v6-c-back-to-top
propComponents: ['BackToTop']
import './BackToTop.css'
Below example does not demonstrate functionality see React demos for a full demonstration.
Back to top only shows after overflowing element has been scrolled 400px.
## Examples
### Basic
```ts file="./BackToTopBasic.tsx"
```