A tall vertical Spotify card where the album art fills the top half with a progressive blur fade, leaving room for song info and transport controls.
Installation
Requires a /api/spotify route. See the Spotify
Card docs for setup instructions.
Usage
How It Works
- Fetches track metadata via
GET /api/spotify?url=.... - Two image layers create the progressive blur effect: a heavily blurred base and a sharp layer that fades out downward via a CSS mask, blending naturally into the dark controls area.
- A dark gradient at the bottom ensures text and controls remain legible against any album palette.
- The seek bar uses a custom
.spotify-seekCSS class (add it to yourglobals.css).
API Reference
VerticalSpotifyCard1
| Prop | Type | Default |
|---|---|---|
url? | string | - |
className? | string | - |
onPrev? | () => void | - |
onNext? | () => void | - |