Docs
Prompt InputPro

Command ComposerNew

A message composer with slash commands and at mentions: a filtered suggestion panel, chips for picks, and structured tokens on send.

$npx swiftpieces add CommandComposer

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
CommandComposer
Inside
/ commands, @ people and files, Search states, Token chips
Install, with a Pro license
npx swiftpieces add CommandComposer
Depends on
Pro's Design System, which installs with it

A composer pinned above the keyboard that opens a suggestion panel when a word starts with / or @. Commands filter as you type, mentions search through your closure with Searching, no matches and Retry, and a pick becomes a chip above the text that onSend receives as a structured token.

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