Skip to main content
239

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Themes
React Native docs
Data displayReact Native

Attachment list

Group attachments in one framed list.

Public APILumenAttachmentListReact Native

Native example

Use Attachment list

Use it for message or form attachments.

Attachment list rendered in the Expo web renderer Lumen playground

Captured exampleExpo web renderer

Open interactive preview
Open the Attachment list demo
tsx
import { LumenAttachment, LumenAttachmentList } from '@santi020k/lumen-react-native'

export function ProjectFiles() {
  return (
    <LumenAttachmentList label="Project files">
      <LumenAttachment name="Design-system.fig" meta="Figma · 8.1 MB" />
      <LumenAttachment busy icon="image" name="Onboarding-flow.png" meta="Uploading · 32%" />
      <LumenAttachment icon="file-text" name="Release-notes.md" meta="Text · 4 KB" />
    </LumenAttachmentList>
  )
}
React Native
Project files in one framed list, with one image still uploading.

Reference

Public API

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

APIValues or typeDefaultDescription
label / attachmentslist name / rowsrequired / requiredUse it for message or form attachments.

Native behavior

Design and accessibility

When to use it

Use it for message or form attachments.

Accessibility

Named list; each row keeps its own actions.

Shared component

Available on other platforms

Apple / SwiftUIAndroid / Compose Web
React Native docsNative primitives