Docs
AI ChatPro

Attachment ChatNew

An assistant chat with photos and files: thumbnails and file chips with upload rings and Retry, returned files to open or share.

$npx swiftpieces add AttachmentChatBlock

Needs a SwiftPieces Pro license: npx swiftpieces login first.

Open in the Pro library View pricing Live preview in every Pro style, and its source with SwiftPieces Pro.
ProPattern · AI ChatiOS 17+Themed by Pro's design system
Type
AttachmentChatBlock
Inside
Photo layouts with +N, File chips, Upload rings with Retry, Full-screen photo viewer
Install, with a Pro license
npx swiftpieces add AttachmentChatBlock
Depends on
Pro's Design System, which installs with it

A conversation where the person shares photos and files. Their photos lay out one large, two side by side or in a grid with +N, files show as chips with a type icon, name and size, and each attachment shows its upload progress or Retry. The assistant's replies can return files as cards that open in Quick Look or share, and tapping a photo opens a full-screen viewer with zoom.

Its SwiftUI source comes with SwiftPieces Pro: Attachment Chat in the Pro library.

All patterns →
SwiftPiecesPro

Build the whole app with one library.

Production-ready screens, whole flows, complete app templates, a Build Kit your agent follows and Pro remixing.

54 screens · 46 patterns · 48 flows · 12 templates · 31 Build Kit skills

Explore Pro