Content

Icon

A legacy compatibility component for displaying a limited set of Material icons with controlled size and color.

Reviewed
On this page

Icon · Content · legacy

A legacy compatibility component for displaying a limited set of Material icons with controlled size and color.

Android and KMP are declared rendering targets in the contract. Editor scope: Fallback props.

AI authoring: contract flag set; excluded from Stage 3 screen generation — outside the Palette+Inspector editor scope. Actual selection depends on the generation route and research input conditions.

Support and authoring conditions were checked against source on 2026-10-13. Properties, behavior and examples below retain the 2026-09-10 reference snapshot; they do not replace device validation.

All components

Preview and property controls

Start the KMP preview and adjust properties to update the example screen and JSON. Reset the example to restore its initial state.

Usage guidance

Use it for

  • Preserving decorative icons in existing JSON
  • Information icons and simple directional cues

Avoid it for

  • Prefer Image when adding media or icons to new screens
  • When the icon alone must communicate an action

Anatomy and accessibility

  • Icon name

  • Size and inner padding

  • Optional background and tint

  • The current renderer treats it as decorative, so pair meaningful actions with a text label.

Props contract

Runtime defaults and example values are different. Properties without a documented default remain explicitly unspecified.

Key · labelType · constraintsRequiredRuntime defaultExampleSupport
name · Icon nameselect · Info, ChevronRight, TrendingUp, SsidChart, Close, Assignment, AutoAwesome, WbSunny, NightlightRoundYesNo documented default"Info"Android / KMP
colorRole · Color roleselect · primary, onPrimary, text, mutedNoNo documented default—Android / KMP
size · Sizenumber · min 1No2428Android / KMP
padding · Paddingnumber · min 0No08Android / KMP
tint · TintcolorNoNo documented default"#1F2937"Android / KMP
backgroundColor · Background colorcolorNoNo documented default"#F3F4F6"Android / KMP
shape · Shapeselect · small, circleNo"small""circle"Android / KMP

Binding

This static content component has no default binding.

Supported actions

EventAndroidKMP PreviewNotes
onClickYesYesUse only within a container that also provides a text label.

Runtime notes

  • KMP supports only Info, ChevronRight, TrendingUp, SsidChart, and Close; Android drawable fallback is not rendered.

Contract verified: 2026-09-02 · schemaVersion 2.

Based on the reference-site snapshot generated on September 10, 2026. The documentation import date and runtime verification date are separate.

Original detail reference

Documentation evidence

Working-tree baseline · source paths · HEAD 8213e6b7

  • docs-site/lib/builder-components.json
  • shared/contracts/ui-component-catalog.json
  • shared/contracts/ui-component-guidance.json
  • app-electron/src/shared/componentCatalog.mjs
  • app-electron/src/shared/designCapabilities.mjs
  • app-electron/src/shared/screenAuthoring.mjs
  • app-electron/src/main/llm/screenPipeline.ts

References

DTRAC BuilderYonsei University · Bongshin Lee’s research team