Searches application-supplied voice names and metadata, with controlled selection and optional audio preview playback.
Preview
Voice
Mina
A supplied catalog entry for a calm reading voice.
Example provider · English · Warm · Measured
In action
Choose from a supplied voice catalog
Voice
Mina
A supplied catalog entry for a calm reading voice.
Example provider · English · Warm · Measured
Search names, languages, and metadata in this example catalog. The application supplies its provider’s voices. A previewSrc and previewText enable a real sample with a readable text alternative; selection alone does not generate speech.
When to use
Use it for
Supply provider voice records; name, provider, language, description and attributes all participate in search.
Use value/onValueChange or defaultValue for voice selection.
Supply previewSrc for a real audio sample and previewText for speech's text alternative.
Sample playback begins only after Preview voice. Selection changes or unmount stop this selector's previous sample.
CSS-only markup provides selection paint; search and sample playback need application code.
Avoid
Assuming this picker fetches a provider catalog or changes a speech engine by itself.
Inferring voice metadata instead of using the provider's supplied descriptions.
Install
React package
npm install @noorddev/vlak-react
Load the stylesheet once at your app root, then import the components you use.
import "@noorddev/vlak-react/css";
import { VoiceSelector } from "@noorddev/vlak-react";
Per-component imports are available at @noorddev/vlak-react/components/voice-selector.
Copy the source
npx @noorddev/vlak-cli add voice-selector
Adds the component and its dependencies to components/vlak/. Follow the StyleX setup to compile the source in your application.