A simple React component for embedding a Spotify song or album preview.
npm install react-spotify-embedUse this component to create a Spotify embed for a given Spotify link. In
Spotify, click ••• > Copy Link, and paste it in the prop.
Any link should work (albums, songs, etc.). All other props on the Spotify embed
widget can also be overridden (see
here).
``tsx
// Displaying a single track.
// Displaying an album.
// Using wide attribute.`
Demo: Normal song link, Album link, and wide`

This repository itself is a Next project demonstrating the use of this
component.