Command Palette
Search for a command to run

Spotify Card

Display Spotify tracks with album art and blurred background.

spotify-url-info

Installation

pnpm dlx shadcn-svelte@latest add https://sv-animations.vercel.app/s/spotify-card.json

API Route

Create

src/routes/api/spotify/+server.ts
so the card can fetch Spotify metadata from
/api/spotify
.

+server.ts

Props

NameTypeDefaultDescription
url
string required The Spotify track, album, playlist, or episode URL sent to the API route for preview metadata.
class
string '' Custom classes merged onto the root card wrapper.