📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

chakra-player

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chakra-player

React player, made with [`Chakra UI`](https://chakra-ui.com/), can play the audio that you push in it.

1.1.10
latest
Source
npm
Version published
Maintainers
2
Created
Source

chakra-player v1.1.10

React player, made with Chakra UI, can play the audio that you push in it.

Usage

npm install chakra-player

or

yarn add chakra-player
import React from 'react'
import Audio from 'chakra-player'

// Add {.mp3 / .mp4} file format
<Audio song="****.mp3" />

Instead of using a common url of a .mp3, you also can download this file to your project folder and refer to it:

import React from 'react'
import Audio from 'chakra-player'
import song form './audio.mp3'

// Add {.mp3 / .mp4} file format
<Audio song={song} color='blue.600' background='white.600' sliderBackground="white" width="500px"/>

Props

PropDescriptionDefault
songThe file of an audio that has to be in .mp3/.mp4/.wav format
colorString with Chakra UI colorblue.600
backgroundString with Chakra UI colorwhite.600
sliderBackgroundString with colorwhite
widthString with width of the container component500px

Keywords

chakra-player

FAQs

Package last updated on 15 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts