Z
Zyeon UI

useTextToSpeech · Zyeon UI

The browser speech engine as a hook — speak/pause/resume/cancel, a voice list that survives the async voiceschanged population, word boundary events mapped back into your own string, and a cancel on unmount so navigation never leaves a voice talking.

npx shadcn@latest add @zyeon/use-text-to-speech
Preview useTextToSpeech on Zyeon UI's site (opens in a new tab)

Not checked yet

Zyeon UI limits how often it can be asked, and useTextToSpeech hasn't had its turn. Its source will show here once it has.