Web Implementation Guidelines Group Component Builder Information (v3+)

Component: Statistic latest

This builder will allow you to generate a custom version of the Statistic 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

(attribute)
Color theme used
(attribute)
Color accent if no theme
(attribute)
proportional sized used
Custom CSS Variables and Styles (advanced use only)
Base font size for the statistic component.
Base line-height for the statistic component.
Color of the statistic number.
Padding inside the statistic component.
Font size of the statistic number.
Line height of the statistic number.
Margin at the top of the statistic component.
Margin at the source of the statistic component.

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

Display a statistic nicely.

Full Version: latest

Type: web component

Date Created: 11/14/2025

Version notes:

Github repository: https://github.com/web-illinois/ilw-statistic/

Javascript file: https://dev.toolkit.illinois.edu/ilw-statistic/latest/ilw-statistic.js

CSS file: https://dev.toolkit.illinois.edu/ilw-statistic/latest/ilw-statistic.css

JSON information: ilw-statistic.latest.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.