@polyhymnia/notation-react
v0.5.0
Published
React SVG renderer for MNX scores laid out by @polyhymnia/notation-engine, with interaction, marks and playback highlighting.
Maintainers
Readme
@polyhymnia/notation-react
React SVG renderer for MNX scores laid out by @polyhymnia/notation-engine: a <Notation> component with interaction, note marks, playback highlighting and a cursor driven by your own clock.
npm install @polyhymnia/notation-react react react-domimport { Notation } from '@polyhymnia/notation-react';
import '@polyhymnia/notation-react/styles.css';
<Notation score={doc} />;The default is Polyhymnia Manuscript, with centered stems and the mensural color
palette. Use options={{ style: 'modern' }} for modern engraving, or pass a
NotationFont through options.font to select another family.
MIT licensed. Source: https://github.com/adrian729/notation
