react-kokoro-tts
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

React Component for Kokoro TTS

Source code

Usage

To use the Kokoro TTS component in your React project, follow these steps:

  1. Install the package: pnpm install react-kokoro-tts
  2. Import the component: import {KokoroTTS} from 'react-kokoro-tts';

Usage

🚀 Features

  • Storybook: Interactive UI component explorer and documentation.
  • Tailwind CSS: Utility-first CSS framework for rapid UI development.
  • ShadCN: Accessible and customizable component primitives.
  • Playwright: End-to-end testing for reliable and maintainable tests.
  • Dark Mode Toggle: Easily switch between light and dark themes for testing.
  • ESM & CJS Support: Generates both ES Modules and CommonJS for maximum compatibility.
  • Typescript Support: Generates properly .d.ts.
  • Structured Folder Layout: Organized directory structure for scalability and maintainability.
  • Example Folder: Contains example usage of components with a simple setup.

/react-kokoro-tts/

    Package Sidebar

    Install

    npm i react-kokoro-tts

    Weekly Downloads

    5

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    2.67 MB

    Total Files

    11

    Last publish

    Collaborators

    • guo-astro