reactjs-human-body

Build one Human Body figure inyour web Page using React. Show the parts you want and click on them to select it.

Usage no npm install needed!

<script type="module">
  import reactjsHumanBody from 'https://cdn.skypack.dev/reactjs-human-body';
</script>

README

reactjs-human-body

Build one Human Body figure inyour web Page using React. Show the parts you want and click on them to select it.

Human figure example

How to use it

const exampleParams = {
  head: { selected: true },
  left_arm: { show: false }
}

export const App: VFC = () => {
  const [params, setParams] = useState<any>()
  return (<div>
      <BodyComponent partsInput={params} />
    )}
  </div>
  )
}

TODO

  • Individual Protection Equipment (helmet...)

Contribute:

To contribute check the Contribute.

Thanks to: