Skip to main content
239

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Themes
Apple docs
Data displayApple

Descriptions

Show term and detail pairs in a framed grid.

Public APILumenDescriptionsApple / 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 Descriptions

Use it for read-only record facts. Use a table for comparable rows.

Descriptions rendered in the iPhone simulator Lumen playground
Captured exampleiPhone simulatorView dark appearance
swift
import LumenUI
import SwiftUI

struct DescriptionsExample: View {
    var body: some View {
        LumenDescriptions(items: [
            .init("Project", value: "Lumen UI"),
            .init("Owner", value: "Design systems"),
            .init("Release", value: "6.0.0"),
            .init("Status", value: "In review")
        ], columns: 2, label: "Project details")
    }
}
Apple
Four project details laid out as term and value pairs in a framed two-column grid.

Reference

Public API

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

APIValues or typeDefaultDescription
items / columns / labelpairs / grid columns / list namerequired / 1 / noneUse it for read-only record facts. React Native items use id ?? label as stable identity; provide unique IDs for repeated or changing labels. Duplicate identities are rejected.

Native behavior

Design and accessibility

When to use it

Use it for read-only record facts. Use a table for comparable rows.

Accessibility

Each item reads its term before its detail.

Shared component

Available on other platforms

React NativeAndroid / Compose Web
Apple docsSwiftUI package