Design system · Component review 08

Demo label

Labels identify a class, object or condition without becoming the lesson. The adopted shared label keeps the original Guide’s quiet monospace character and improves small-text readability.

Approved direction: the shared DemoLabel uses the refined text treatment. The original Guide labels retain their established styling.

Class and metadata labels

Each treatment shows the same class, descriptive name, and long utility string above a specimen. The cards and their content are identical.

01

Original Guide

Small muted mono label

shadow-sm
Standard surface

One utility, one visible effect.

Collection / 024
Asset library

Descriptive metadata stays readable.

width:100% min-width:0 @container((width>=28rem))
Long class string

The annotation wraps inside a narrow document column.

A block label with its own bottom margin, as used by the original Guide.

02

Previous

Earlier shared inline label

shadow-sm
Standard surface

One utility, one visible effect.

Collection / 024
Asset library

Descriptive metadata stays readable.

width:100% min-width:0 @container((width>=28rem))
Long class string

The annotation wraps inside a narrow document column.

Small mono text that joins the surrounding line and has no built-in spacing.

03

Adopted

Readable annotation

shadow-sm
Standard surface

One utility, one visible effect.

Collection / 024
Asset library

Descriptive metadata stays readable.

width:100% min-width:0 @container((width>=28rem))
Long class string

The annotation wraps inside a narrow document column.

A slightly larger, weight-balanced mono label with tabular numerals and explicit wrapping; spacing remains with the scene.

Actual Guide use

The elevation guide retains its original utility labels above the shadow specimens.

Open /guide/elevation
shadow-xs
Quiet separation

Small controls, table rows, and subtle raised states.

shadow-sm
Standard surface

Cards, reusable panels, and quiet product surfaces.

shadow-md
Temporary lift

Hover lift, floating toolbars, and command surfaces.

shadow-lg
Detached overlay

Dropdowns, popovers, toasts, and menus.

shadow-xl
Workflow interruption

Drawers, dialogs, and focused panels.

shadow-2xl
Blocking layer

Modals and spotlight surfaces above a dimmed page.

The shared label changes text treatment only. The lesson continues to own its card geometry, alignment and spacing.