
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@speechly/react-ui
Advanced tools
Website | Docs | Discussions | Blog | Podcast
Ready made Speechly UI components to build a reactive voice interface to a React or Next.js app.
If you want to build a custom interface for you web app, you may want to check out react-client library for direct access to Speechly API.
Make sure you have created and deployed a Speechly application. Take note of the App ID, you'll need it shortly.
You'll also need a React app. Use your existing app, or create a new one using:
npx create-react-app my-app
Install Speechly React client and Speechly React UI components:
npm install @speechly/react-client
npm install @speechly/react-ui
Import SpeechProvider
and wrap the app with it, passing the App ID of your Speechly application:
// index.js
import { SpeechProvider } from '@speechly/react-client';
<React.StrictMode>
<SpeechProvider appId="YOUR_APP_ID">
<App />
</SpeechProvider>
</React.StrictMode>
Import the required UI components and take them into use:
// App.js
import {
PushToTalkButton,
BigTranscript,
IntroPopup
} from "@speechly/react-ui";
function App() {
return (
<div className="App">
<BigTranscript placement="top" />
<PushToTalkButton placement="bottom" captureKey=" " />
<IntroPopup />
</div>
);
}
Start the development server:
npm run start
Navigate to http://localhost:3000 to see your app running!
FAQs
Speechly UI Components
The npm package @speechly/react-ui receives a total of 199 weekly downloads. As such, @speechly/react-ui popularity was classified as not popular.
We found that @speechly/react-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.