customizable-react-audio-player allows you to change styles and colors to your app with ease.
npm install customizable-react-audio-player
please install material icons if you haven't installed already!
npm install @mui/icons-material @mui/material @emotion/styled @emotion/react
- you can add your desirable background color to react audio player .
- you can select any color for icons .
- you can change border radius accordingly .
- responsive and ready to use react audio player .
import React from 'react';
import ReactAudioPlayer from 'customizable-react-audio-player'
function App(){
return (
<div>
<ReactAudioPlayer
audioSource="my_audio_file.ogg"
bgColor="#1F2943"
textColor="white"
border="rounded"
/>
</div>
);
}