GitPedia

Equation editor react

Equation editor based on Mathquill for React web apps

From flw0·Updated March 28, 2026·View on GitHub·

**By [Douwe den Blanken](https://nl.linkedin.com/in/douwedenblanken) ([v0xnihili](https://github.com/V0XNIHILI/))** The project is written primarily in TypeScript, distributed under the MIT License license, first published in 2019. Key topics include: demo, equations, latex, math, mathematics.

Latest release: v0.0.9Stable with merged PRs
May 13, 2021View Changelog →

<img src="demo/public/logo192.png" style="margin: auto; width: 192px; display: block; margin-top: 24px">

Equation Editor for React Applications

Version of package

<!-- [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/flw0/equation-editor-react/issues) [![Node version](https://img.shields.io/node/v/[equation-editor-react].svg?style=flat)](http://nodejs.org/download/) -->

By Douwe den Blanken
(v0xnihili)

Demo

To see this package in action, a demo is available
here. It is possible to type
an equation and see the output in LaTeX underneath the editor in pink.

Usage

When embedding the EquationEditor component into your project, you have four properties you have
to set. value and onChange speak for themselves, while autoCommands contains a list of commands
for which you only have to type the name of the command with a \ in front of it. The same goes for
the autoOperatorNames but then for operators.

tsx
import React, { useState } from "react"; import EquationEditor from "equation-editor-react"; const Example = () => { const [equation, setEquation] = useState("y=x"); console.log(equation); return ( <EquationEditor value={equation} onChange={setEquation} autoCommands="pi theta sqrt sum prod alpha beta gamma rho" autoOperatorNames="sin cos tan" /> ) }; export default Example;
<!-- ## Size Please see [BundlePhobia](https://bundlephobia.com/result?p=equation-editor-react). -->

License

MIT

Contributors

Showing top 3 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from flw0/equation-editor-react via the GitHub API.Last fetched: 6/20/2026