Web Implementation Guidelines Group Component Builder Information (v3+)

Component: Back to Top 1.0-beta

This builder will allow you to generate a custom version of the Back to Top component.

The component will show up in between the pink lines below. The pink lines will not show up in production -- they are only used to allow you to view margins and paddings. In the case of specialized components (things that are meant to be invisible or have a fixed location), the component may not display in this area.

Template -- enter raw HTML here

Attributes, Classes, and CSS Variables

(text attribute)
The ID of the element which represents the top of the page. If provided, the page will scroll to this element.
(text attribute)
The accessible text label of the button, defaults to 'Back to top'
Custom CSS Variables and Styles (advanced use only)
Hex color of the arrow and border
Background hex color
Position in pixels from the bottom of the screen
Position in pixels from the right of the screen

HTML listed here

This parent has a style of that is not figured into the source HTML. You can change this by opening the Custom CSS Variables and Styles and editing the parent style.

Details

The Illinois component back-to-top allows you to provide a simple way to skip either to the top of a page or to a designated point in the page (such as the page content area).

Full Version: 1.0.0-beta

Type: web component

Date Created: 09/13/2024

Version notes:

Github repository: https://github.com/web-illinois/ilw-back-to-top

Javascript file: https://dev.toolkit.illinois.edu/ilw-back-to-top/1.0.0-beta/ilw-back-to-top.js

CSS file: https://dev.toolkit.illinois.edu/ilw-back-to-top/1.0.0-beta/ilw-back-to-top.css

JSON information: ilw-back-to-top.1.0-beta.json

Web Implementation Guidelines Group Component Builder Information (v3+)

Note: this page is not using the toolkit because it is meant to test individual components in isolation.