Pick the adapter that matches your UI, install it, and pass the Markdown accumulated so far. Styles load with the package. You do not need Tailwind CSS.
Install and render
React 18.2 or 19, plus React DOM, must already be in the project.
Vue 3.5 or later is a peer dependency.
Close the stream
receiving tells Smoothstream whether the snapshot may still change shape. It is not an animation on/off switch.
Set receiving to true while tokens arrive
Incomplete emphasis, links, list items, and code lines stay withheld until they are safe. The default is false, so omit this flag only when the Markdown is already complete.
Set receiving to false when the model is done
Smoothstream flushes the remaining safe content and finishes the scheduled reveal. Keep the same instance mounted so queued presentation can complete.
Start a new instance for the next response
Markdown is append-only for the life of a component or controller. Remount with a new React or Vue key, or call createSmoothstream again, when the user starts a different answer.

