Skip to content
New Project

Spotify Clone with Astro View Transitions

Spotify clone built with Astro View Transitions integration for fluid navigation + TailwindCSS + Svelte.

DeployView Demo

Spotify clone with Astro 7 View Transitions

A Spotify-inspired interface using Astro's client router and View Transitions for fluid navigation. The example also uses Tailwind CSS and Svelte.

Local development

Node.js 22.12 or newer and Bun are required.

bun install
bun run dev

Run the migration checks before submitting changes:

bun run check
bun run build
bun run format:check

Deploy

You can deploy the example using Vercel Template or see a live demo

Video

https://github.com/igorm84/spotify-astro-transitions/assets/16727448/1e34f079-1f17-4ff1-9285-1dc406f0c631

About

View Transitions animate between DOM states. Learn more in these links:

  • Astro Documentation: https://docs.astro.build/en/guides/view-transitions/
  • MDN Documentation: https://developer.mozilla.org/en-US/docs/Web/API/View_Transitions_API

Browser support

Native same-document View Transitions are supported in Chrome and Edge 111+, Firefox 144+, Safari and iOS 18+, and corresponding mobile browsers. MDN marks the feature as Baseline 2025.

This project intentionally configures Astro's client router with fallback="none". Older browsers still navigate, but use full-page navigation without animation.

GitHub
Ownerigorm84
Repositoryspotify-astro-transitions
Use Cases
Starter
Stack
Astro
Svelte
Tailwind

Related Templates

Astroship

Starter template for startups, marketing websites & blogs built with Astro and TailwindCSS.
Astroship thumbnail

Welcome to Astro

The official 'Getting Started' template for Astro.
Welcome to Astro thumbnail

Astro Blog

An ultra-minimal personal site & blog built with Astro.
Astro Blog thumbnail
DeployView Demo