Skip to main content
161

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Android docs
Data displayAndroid

Graphic

Frame application-provided artwork with token-aware glow, grid, or orbit decoration.

Public APILumenGraphicAndroid / Compose

Native example

Use Graphic

Use to frame meaningful application artwork with a restrained token-aware preset. Leave the label absent when the surrounding content already communicates the same meaning.

Graphic rendered in the Android phone emulator Lumen playground
Verified runtime captureAndroid phone emulator
kotlin
LumenGraphic(
    variant = LumenGraphicVariant.Orbit,
    label = "Project overview"
) {
    ProjectArtwork()
}

Reference

Public API

The primary shared and platform-specific options exposed by LumenGraphic.

APIValues or typeDefaultDescription
variantglow · grid · orbitorbitSelects the decorative composition.
sizesm · md · lgmdSelects a shared native dimension.
tonebrand · accent · neutralbrandSelects the semantic decoration color.
labelString?nullOptionally exposes the composition as one labeled image.

Native behavior

Design and accessibility

When to use it

Use to frame meaningful application artwork with a restrained token-aware preset. Leave the label absent when the surrounding content already communicates the same meaning.

Accessibility

Decorative graphics stay hidden from assistive technology; an optional label exposes the complete composition as one image.

Shared component

Available on other platforms

React NativeApple / SwiftUI
Android docsCompose module