---
id: Back to top
section: components
---

import DashboardWrapper from '@patternfly/react-core/src/demos/examples/DashboardWrapper';

## Demos

### Using name selector

Note that `tabIndex={0}` is added to the scrolling `PageSection` of the page to allow keyboard users the ability to focus and scroll.

```js isFullscreen file="./examples/BackToTop/BackToTopNameDemo.tsx"
```
