OdysseyUI

Vertical Spotify Card 1

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.

Loading...

Installation

Requires a /api/spotify route. See the Spotify Card docs for setup instructions.

Usage

import { VerticalSpotifyCard1 } from '@/components/odysseyui/vertical-spotify-card-1';

export default function Page() {
  return (
    <VerticalSpotifyCard1 url="https://open.spotify.com/track/0DTSnA1bcVI5niJzoyBPyZ" />
  );
}

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-seek CSS class (add it to your globals.css).

API Reference

VerticalSpotifyCard1

PropTypeDefault
url?
string
-
className?
string
-
onPrev?
() => void
-
onNext?
() => void
-

Built by Shr3kx & iam-sahil. The source code is available on GitHub.

Last updated: 4/15/2026