React-Plug

Build audio plug-ins with
Rust and React.

React-Plug is a batteries-included framework for building
Rust audio plugins with a React GUI.
Why React-Plug?

React-Plug is the simplest way of creating a
VST3 / CLAP plug-in with React and Rust.

It’s a framework that works on top of nih-plug. Out of the box, it gives you strongly typed access to your plugin’s state, from your React code. It leverages code-generating macros for a delightful developer experience.
Parameters

Define parameters once in Rust.
Directly use them inside React.

When you define your parameters, React-Plug handles the rest, generating a plugin provider that you can simply import in your UI code. Its parameters already include your chosen formatting, range, scaling, and more.
Learn more
Messages

Add your own messages for
plugin-to-GUI communication

For updates and state that aren’t related to parameters, define your own messages to send from the GUI to your plugin, or vice-versa. Once you've defined messages in Rust, you get typed access to them in React.
Learn more