Widget
design system.

Explore the rules behind Lumo widgets. Try the layout, copy a token, or take the skill into your project.

Live specimen

Energy today

Home · last 24 hours

Live
kWh
Padding
–
Corner radius
–
Title
–
Description
–

Widget anatomy

Keep the title aligned with the icon. In the live specimen, Small shows the reading and status, Medium adds the trend, and Large adds time labels and comparison figures.

Icon disc
--widget-header-icon-size
28 px · fixed
Glyph
--widget-header-glyph-size
16 px · fixed
Card padding
--widget-padding-default
18 px default · 9–15 px compact via --widget-padding-compact
Card radius
--radius-widget
1.625 rem · full-screen Home View follows the device frame

Sizes & layout

Choose a profile and see how it fits on each Studio device. Home View keeps a fixed frame and reserves a safe area for navigation.

Resolved format
Small
Grid span
1 of 4 columns
Minimum width
176 px
Viewport
Fits content

Standalone maximum widths

Small · 15 rem
--widget-small-max-width
Medium · 24 rem
--widget-medium-max-width
Large · 34 rem
--widget-large-max-width

Tokens

Use semantic colors for surfaces and states. Select a swatch to copy its CSS variable.

Surfaces

Status

Corner radius

Spacing

Typography

Use Inter for titles and supporting text, and Geist with tabular digits for the main reading. Keep essential labels and units at 12 px or larger at the default text size. When space is tight, show fewer details before reducing type size.

Display--text-3xl
Room at a glance.
Metric--text-2xl
24.8kWh
Widget title--widget-title-size
Energy today
Description--widget-description-size
Home · last 24 hours
Label--text-xs
Updated now

Accessibility

Keep the same information and controls available with a keyboard, a screen reader, or reduced motion.

Keyboard & focus

Use native controls, keep focus visible, and provide a keyboard alternative to dragging or scrubbing.

WCAG keyboard guidance

Contrast & status

Check 4.5:1 for regular text and 3:1 for large text. Pair status colors with labels that state what changed.

WCAG contrast guidance

Readable data

Keep units with readings and give charts a text summary. Check that the content still fits at increased text sizes and browser zoom.

Reduced motion

Illustrative energy use rising through the day

The line and fill reveal together.

Follow the system preference and show the complete result immediately when motion is reduced. WCAG motion guidance

Patterns & motion

Give charts room to breathe, use alternating rows for scanning, and animate changes where they carry information.

Chart placement

Energy today

Illustrative data

24.8kWh
Illustrative energy use rising through the day

List & status

Room readings

Today

In range
  • Living room12.4 kWh
  • Kitchen8.1 kWh
  • Office4.3 kWh
Idle