Skip to main content
161

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Apple docs
Data displayApple

Backdrop

Place a token-aware ambient pattern behind native application content.

Public APILumenBackdropApple / SwiftUISwift product: LumenUI

Apple availability

Supported native targets

Import LumenUI in the target that uses this component. iPad support follows the iOS package baseline and uses native iPad layout behavior.

iPhone · iOS 16+iPad · iPadOS 16+Mac · macOS 13+Apple Vision · visionOS 1+

Native example

Use Backdrop

Use behind meaningful hero, empty-state, or highlighted content. Keep child surfaces and text on semantic tokens so contrast does not depend on the decoration.

Backdrop rendered in the iPhone simulator Lumen playground
Verified runtime captureiPhone simulator
swift
LumenBackdrop(
    intensity: .medium,
    variant: .aurora
) {
    ProjectOverview()
}

Reference

Public API

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

APIValues or typeDefaultDescription
variantaurora · dots · grid · raysauroraSelects the ambient pattern.
tonebrand · accent · neutralbrandSelects the semantic decoration color.
intensitysubtle · medium · strongmediumControls only the decoration opacity.
contentNative view contentRequiredRenders meaningful content above the decorative layer.

Native behavior

Design and accessibility

When to use it

Use behind meaningful hero, empty-state, or highlighted content. Keep child surfaces and text on semantic tokens so contrast does not depend on the decoration.

Accessibility

The ambient layer has no accessibility semantics; child content keeps its native reading order, names, and controls.

Shared component

Available on other platforms

React NativeAndroid / Compose
Apple docsSwiftUI package