When to use it
Use a pressable attachment to open the file with the platform viewer.
Show a file with its name, metadata, and actions.
Native example
Use a pressable attachment to open the file with the platform viewer.

Captured exampleExpo web renderer
Open interactive previewimport { LumenAttachment, LumenIconButton } from '@santi020k/lumen-react-native'
export function ReportAttachment({ onOpen, onDownload }: { onOpen: () => void; onDownload: () => void }) {
return (
<LumenAttachment
name="Quarterly-report-2026.pdf"
meta="PDF · 2.4 MB"
onPress={onOpen}
trailing={
<LumenIconButton label="Download Quarterly-report-2026.pdf" name="download" size="sm" onPress={onDownload} />
}
/>
)
}Reference
The primary shared and platform-specific options exposed by LumenAttachment.
| API | Values or type | Default | Description |
|---|---|---|---|
| name / meta / busy | filename / size or type / upload state | required / none / false | Use a pressable attachment to open the file with the platform viewer. |
Native behavior
Use a pressable attachment to open the file with the platform viewer.
Filename and metadata read as one element; busy state is exposed.
Shared component