UNPKG

@rhds/elements

Version:

Red Hat Design System Elements

24 lines (16 loc) 467 B
# Back to Top The back to top component is a shortcut that allows users to quickly navigate to the top of a lengthy content page. ## Installation If using npm/bundlers: ```bash npm install @rhds/elements ``` Then once installed, import it to your application: ```js import '@rhds/elements/rh-button/rh-button.js'; ``` ## Usage Back to top button is designed to only be used once per page. ```html <rh-back-to-top href="#top">Back to top</rh-back-to-top> ```