Skip to content
New Project
Templates
Template name
Templates

Spotify Clone with Astro View Transitions

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

DeployView Demo
Owner
  • igorm84
Repository
  • spotify-astro-transitions
Use Cases
  • Starter
Stack
  • Astro
  • Svelte
  • Tailwind
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.

Local development

Node.js 22.23.4 or newer and Bun are required.

bun install
bun run dev

Run the migration checks before submitting changes:

bun run check
bun run test
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.

License

MIT — see LICENSE.

Related Templates

  • Astroship thumbnail

    Astroship

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

  • Welcome to Astro thumbnail

    Welcome to Astro

    The official 'Getting Started' template for Astro.

  • Astro Blog thumbnail

    Astro Blog

    An ultra-minimal personal site & blog built with Astro.

License
  • View License