Docs
Prompt InputPro

Dictation ComposerNew

A message composer with voice input: a live level meter, elapsed time, Cancel and Done, and the transcript filling the field.

$npx swiftpieces add DictationComposer

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
DictationComposer
Inside
Live level meter, Transcript as you speak, Speech permission handling, Send that turns into Stop
Install, with a Pro license
npx swiftpieces add DictationComposer
Depends on
Pro's Design System, which installs with it

A composer pinned above the keyboard whose mic turns the bar into a recording state, with a level meter that moves with the voice, the elapsed time, Cancel and Done, while the transcript fills the field. It runs on the Speech framework and AVAudioEngine, asks for access and offers Settings when it is off, and takes your own transcription for previews or another engine.

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