Model ComposerNew
A message composer with a model menu, Search, Think and Image chips, and a usage line that warns near the limit.
Pro pattern · recorded from Pro
The SwiftUI source comes with SwiftPieces Pro.
Every Pro pattern installs with one command once your license is signed in, and re-skins with Pro's design system.
Open it in the Pro library ↗Needs a SwiftPieces Pro license: npx swiftpieces login first.
- 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.