Web Implementation Guidelines Group Component Builder Information (v3+)

Component: Card 1.2

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

Additional Components

In addition to the main component, the following additional components and/or CSS/JS modules have been added to help you build your version of the component:

Template -- enter raw HTML here

Attributes, Classes, and CSS Variables

(attribute)
Color theme used
(attribute)
Align text inside the card
(attribute)
Make the entire card clickable
(attribute)
Force image aspect ratio
(attribute)
Use a div tag instead of article
Custom CSS Variables and Styles (advanced use only)
Margin above cards [default: 0]
Margin below cards [default: 0]
Top padding around main content in the card [default: 2.5rem]
Right padding around main content in the card [default: 2rem]
Bottom padding around main content in the card [default: 2rem]
Left padding around main content in the card [default: 2rem]
Card text font size [default: 1.2rem]
Font size for a card's heading [default: 1.45em]
Limit for an icon's width [default: 120px]
Limit for an icon's height [default: 80px]
Font size for a clickable card heading [default: 1.34rem]

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

A card component that can be used as a container for grouping information.

Full Version: 1.2.0

Type: web component

Date Created: 10/3/2025

Version notes:

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

Javascript file: https://cdn.toolkit.illinois.edu/ilw-card/1.2.0/ilw-card.js

CSS file: https://cdn.toolkit.illinois.edu/ilw-card/1.2.0/ilw-card.css

JSON information: ilw-card.1.2.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.