Plugins
Speech
A plugin that enables the cursor to speak text aloud using the Speech Synthesis API.
SpeechPlugin
The SpeechPlugin uses the web's native Speech Synthesis API to read text aloud synchronously with your cursor flows, enhancing presentations and automated demos.
Demo
Options
Prop
Type
Usage
import { Cursor, SpeechPlugin } from '@cursor.js/core';
const cursor = new Cursor();
cursor.use(new SpeechPlugin({
voice: 'Google US English' // optional options
}));
cursor.hover('.btn').speak('I am about to click this button').click();