Overview
The React package (@suki-sdk/dictation-react) wraps the same DictationClient you use in JavaScript. You provide the client once via DictationProvider, then render Dictation where you need it.
This guide follows React Integration in Suki Dictation SDK.md.
Prerequisites
- Installation of
@suki-sdk/dictation-reactand@suki-sdk/core - A
DictationClientinstance built with Authentication
Wrap the tree once
React
client with new DictationClient({ authManager }) after you construct SukiAuthManager.
Render dictation conditionally
React
Unmounting and hide()
When theDictation component unmounts, the SDK automatically calls hide(). You do not need to call hide() yourself for normal React unmount flows.
Next steps
- Modes and callbacks for
mode,fieldId, and callbacks - JavaScript integration for imperative
show()details - Quickstart for an end-to-end example