# `useSpeech` React UI hook that synthesizes human voice that speaks a given string. [](https://codesandbox.io/s/n090mqz69m) ## Usage ```jsx import {useSpeech} from 'react-use'; const Demo = () => { const state = useSpeech('Hello world!'); return (
{JSON.stringify(state, null, 2)}
);
};
```