0.1.7 • Published 1 month ago
@kbthedeveloper/neumorph-player v0.1.7
NEUMORPH Player
NEUMORPH Player
is a simple player library for react SPA using Howler.js library for audio functionality
Installation
Several options to get up and running:
- Clone the repo: git clone https://github.com/KBTheDeveloper/neumorph-player.js.git
- Install with npm: npm install @kbthedeveloper/neumorph-player
- Install with Yarn: yarn add @kbthedeveloper/neumorph-player
Usage
Using as React component
import Player from "neumorph-player";
<Player theme="dark" tracks={tracksArr} />
Props
Tracks Array<Track>
[]
required
List of tracks to in a Track format
Position String
"fixed"
Set the player position
Theme String
"dark"
There are 3 themes out of the box: dark, light, and blue
Note
This package contains 3 audio tracks for testing player in demo mode