Music Wrapped Web Component
- Spanish Love Songs
- Hot Mulligan
- Heart Attack Man
- Real Friends
- Trophy Eyes
- Sunshine
- The World
- Pendulum
- Sway
- Freak of Nature
This is a demo of the music wrapped web component.
The default design is inspired by Spotify Wrapped.
You can download code from the
music wrapped
repository on GitHub.
Web Components
These cards are built using
Web Components
and must be imported before they are rendered.
import './MusicWrapped.js';
Cards
To use the music wrapped card you must create a
<music-wrapped>
element with the required
lists inside. The title=""
attribute on the list is
used for the list title. You can add the optional minutes
listened and top genre by using attributes.
seconds="integer"
- The total time listened, in seconds.
- Represented in minutes.
genre="string"
- The top genre value.
Spotify Wrapped
These are inspired by the 2023 Spotify Wrapped designs.
- Spanish Love Songs
- Hot Mulligan
- Heart Attack Man
- Real Friends
- Trophy Eyes
- Sunshine
- The World
- Pendulum
- Sway
- Freak of Nature
- Spanish Love Songs
- Hot Mulligan
- Heart Attack Man
- Real Friends
- Trophy Eyes
- Sunshine
- The World
- Pendulum
- Sway
- Freak of Nature
- Spanish Love Songs
- Hot Mulligan
- Heart Attack Man
- Real Friends
- Trophy Eyes
- Sunshine
- The World
- Pendulum
- Sway
- Freak of Nature
- Spanish Love Songs
- Hot Mulligan
- Heart Attack Man
- Real Friends
- Trophy Eyes
- Sunshine
- The World
- Pendulum
- Sway
- Freak of Nature
- Spanish Love Songs
- Hot Mulligan
- Heart Attack Man
- Real Friends
- Trophy Eyes
- Sunshine
- The World
- Pendulum
- Sway
- Freak of Nature