Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Convert text to speech using React.

License

NotificationsYou must be signed in to change notification settings

morganney/tts-react

Repository files navigation

CIcodecovNPM version

TextToSpeech React component

Repository fortts-react, a React component and hook that uses theSpeechSynthesis andSpeechSynthesisUtterance API's to convert text to speech. You can fallback to theHTMLAudioElement API by providing afetchAudioData prop to the hook or component.

Important

Requires a peer dependency of React and ReactDOM >= 19.
Usetts-react@3 if your project is on React 18.

Install

npm i react react-dom tts-react

For projects using React 18:

npm i react@18 react-dom@18 tts-react@3

Table of Contents

Demo (Storybook)

morganney.github.io/tts-react

Progress

  • Helped fix aSpeechSynthesisUtterance default volumeChrome bug.

[8]ページ先頭

©2009-2025 Movatter.jp