Docs
Prompt InputPro

Attachment ComposerNew

A message composer that attaches photos and files, uploads each with its own progress ring, and turns Send into Stop.

$npx swiftpieces add AttachmentComposer

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 · Prompt InputiOS 17+Themed by Pro's design system
Type
AttachmentComposer
Inside
Photos, Camera and Files, Thumbnail tray, Upload states with Retry, Growing field and Send
Install, with a Pro license
npx swiftpieces add AttachmentComposer
Depends on
Pro's Design System, which installs with it

A composer pinned above the keyboard with a plus menu for Photos, Camera and Files. Each pick lands in a tray as a thumbnail or file chip and uploads through your closure with a ring that fills, or a failure you can retry; Send waits for text or an attachment and every upload, and turns into Stop while the reply runs.

Its SwiftUI source comes with SwiftPieces Pro: Attachment Composer 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