---
title: "Spotify Clone with Astro View Transitions"
description: "Spotify clone built with Astro View Transitions integration for fluid navigation + TailwindCSS + Svelte.\n"
url: "https://vercel.com/templates/astro/view-transitions"
links:
  repository: "https://github.com/igorm84/spotify-astro-transitions"
  demo: "https://spotify-astro-transitions.vercel.app/"
  deploy: "https://vercel.com/new/clone?demo-title=Spotify+Clone+with+Astro+View+Transitions&demo-description=Spotify+clone+built+with+Astro+View+Transitions+integration+for+fluid+navigation+%2B+TailwindCSS+%2B+Svelte.%0A&demo-url=https%3A%2F%2Fspotify-astro-transitions.vercel.app%2F&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F59uwliGeS8XoE5nHRBEsfI%2F2232d50cdddae956828ddb501ff2d993%2FCleanShot_2023-09-05_at_16.13.01_2x.png&project-name=Spotify+Clone+with+Astro+View+Transitions&repository-name=view-transitions&repository-url=https%3A%2F%2Fgithub.com%2Figorm84%2Fspotify-astro-transitions&from=templates&skippable-integrations=1"
---

# Spotify Clone with Astro View Transitions

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

# Spotify clone with Astro 7 View Transitions [![Built with Astro](https://astro.badg.es/v2/built-with-astro/tiny.svg)](https://astro.build)

A Spotify-inspired interface using Astro's [client router and View Transitions](https://docs.astro.build/en/guides/view-transitions/) for fluid navigation. The example also uses Tailwind CSS and Svelte.

## Local development

Node.js 22.12 or newer and [Bun](https://bun.sh/) are required.

```sh
bun install
bun run dev
```

Run the migration checks before submitting changes:

```sh
bun run check
bun run build
bun run format:check
```

## Deploy

You can deploy the example using [Vercel Template](https://vercel.com/templates/astro/view-transitions) or see a [live demo](https://spotify-astro-transitions.vercel.app/)

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Figorm84%2Fspotify-astro-transitions)

#### 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](https://developer.mozilla.org/en-US/docs/Web/API/Document/startViewTransition#browser_compatibility).

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

## Related Templates

### [Welcome to Astro](https://vercel.com/templates/astro/welcome-to-astro)

The official 'Getting Started' template for Astro.

### [Astroship](https://vercel.com/templates/astro/astroship)

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

### [Astro Blog](https://vercel.com/templates/astro/astro-blog)

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

---

## Additional documentation

The [Vercel Knowledge Base](https://vercel.com/kb) contains guides and answers to common questions about Vercel, including deployment, framework configuration, domains, caching, and troubleshooting.
