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

1.1.2 • Public • Published

React-Guitar · npm version

A beautiful and accessible guitar component for React.

See https://react-guitar.com for a live demo.

For the full documentation go to the root README.

Screenshot of the rendered component with an E major chord

Edit quizzical-dawn-0hzuq

Usage

npm i react-guitar
import React from 'react'
import { render } from 'react-dom'
import Guitar from 'react-guitar'

render(
  <Guitar strings={[0, 1, 2, 2, 0, -1]} />,
  document.getElementById('root')
)

Check out the storybook for more advanced examples.

Developing

  • yarn start will spin up the storybook.
  • yarn build will generate the production scripts under the dist folder.

/react-guitar/

    Package Sidebar

    Install

    npm i react-guitar

    Weekly Downloads

    19

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    340 kB

    Total Files

    25

    Last publish

    Collaborators

    • 4lejandrito