Docs
Prompt InputPro

Model ComposerNew

A message composer with a model menu, Search, Think and Image chips, and a usage line that warns near the limit.

$npx swiftpieces add ModelComposer

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
ModelComposer
Inside
Model menu, Search, Think and Image, Daily message limit, Upgrade at the limit
Install, with a Pro license
npx swiftpieces add ModelComposer
Depends on
Pro's Design System, which installs with it

A composer pinned above the keyboard with a model pill whose menu describes each model and marks locked ones as Pro, mode chips that toggle, and a line of messages left that turns to the warning colour near the limit. At the limit the composer turns off and offers Upgrade; the app owns the model and modes through bindings.

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