@speechly/react-voice-forms
TypeScript icon, indicating that this package has built-in type declarations

1.3.6 • Public • Published

speechly-logo-duo-black

Website  ·  Docs  ·  Support  ·  Blog  ·  Login


Speechly voice form components for React

build npm license

Ready-made React form components that can be controlled with voice using Speechly. They also work with other modalities like tap, pointer and keyboard.

🚧 This project is no longer actively maintained and is looking for a maintainer. If you're interested, get in touch https://www.speechly.com/contact

Documentation

Usage

Install Speechly React Client and Speechly React voice form components:

npm install @speechly/react-client
npm install @speechly/react-voice-forms

Include the components:

import {
  VoiceDatePicker,
  VoiceCheckbox,
  VoiceInput,
  VoiceSelect,
  VoiceToggle,
} from '@speechly/react-voice-forms';

Place the form components inside your SpeechProvider block:

import { SpeechProvider } from '@speechly/react-client';

<SpeechProvider appId="YOUR-APP-ID">
  <VoiceInput label="From" changeOnEntityType="from" />
</SpeechProvider>

Styling

Add a voice-form-theme-mui.css to your src folder, then include it in index.tsx:

import "voice-form-theme-mui.css";

Readme

Keywords

none

Package Sidebar

Install

npm i @speechly/react-voice-forms

Weekly Downloads

0

Version

1.3.6

License

MIT

Unpacked Size

114 kB

Total Files

42

Last publish

Collaborators

  • aukkonen
  • thisismatu
  • speechlynpm
  • langma
  • hheikinh