react-metaballs-js
React component for metaballs-js
Install
npm install --save react-metaballs-js
Usage
import React Component from "react";import Metaballs from "react-metaballs-js"; { return <Metaballs = = = = ="#ff0024" ="#121212" ="balls" /> ; }
Props
Accepts all options from metaballs-js.
Additionally, any other props will be forwarded to the underlying
canvas
element. This enables styling and setting the size throughclassName
orstyle
props.
License
MIT © MrToph