An assistant home with a briefing, suggested prompts and a composer that grows, attaches and records.
An assistant home screen: a briefing card with highlighted figures, suggested prompts as chips and a composer with a spring-growing field, sliding attachment chips, a hold-to-record pill with live waveform and timer, and a send button that pops in and morphs to stop while generating; glass on iOS 26.
$199 once, every piece included. See how installing works · Sign in
SwiftUI source you own, built on Apple frameworks only.
AI Assistant (brief), AI Assistant (recipe). Your agent builds around this screen in the same design.
How it behaves, what it handles, and the decisions behind it.
The home of an assistant: a two-tone greeting, a briefing block with the day's figures, suggested prompts as chips and PromptComposer riding the bottom edge. The composer's field grows with a spring up to maxLines, attachment chips slide in above it, and the trailing button follows the state: a mic when there is nothing to send, a send button that pops in when there is, and a stop button that morphs from it while generating. Hold the mic and a recording pill with a live waveform and a timer grows out of it; release to finish. Tap the mic to latch recording instead. Glass on iOS 26 with a Material fallback, or a solid surface when you pass one.
DragGesture(minimumDistance: 0): a release before 280 ms toggles the latch, a hold past it records until the finger lifts. The mic stays under the finger throughout so the gesture is never cancelled.recordingLevel drives the pill's waveform; without it the bars idle at a low amplitude. The timer rolls with numericText..safeAreaInset(edge: .bottom) so it rides the keyboard; tapping the surface focuses the field.PromptComposerExample at the end of PromptComposer.swift is the Ask screen from the preview.Pieces that work well next to this one.