A beautiful and flexible guitar component for React.


Keywords
react, guitar
License
MIT
Install
npm install react-guitar@1.0.0

Documentation

React-Guitar · npm version

A beautiful and flexible guitar component for React.

Screenshot of the rendered component with an A minor chord

Edit quizzical-dawn-0hzuq

Installation

npm i react-guitar

Usage

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 stories for more advanced examples.

Developing

  • yarn start will spin up the storybook and the site.
  • yarn build will build the component and the site.