Vue Starport is a library for Vue 3 that allows shared components to animate across route transitions while preserving internal component state. Traditional transitions between routes in Vue often destroy and recreate components, losing state. Starport solves this by hoisting the component to a root level container (<StarportCarrier>), using a proxy at the source and destination positions, and then using Teleport to land the component in its new place. It uses the FLIP (First, Last, Invert, Play) technique: it captures initial position & size, moves the component in a floating state, then lands it into the new layout. This gives a smooth “fly from one page to another” animation effect for components that appear across routes (e.g., a card in list view flying into detail view). It’s especially suited for immersive UI/UX flows in single-page apps built with Vue. The library is experimental and requires Vue 3.

Features

  • Allows a component to persist across route transitions instead of re-mounting
  • Uses Proxy components to capture position/size and animate between pages
  • Built upon Vue’s <Teleport> to re-attach component at target location
  • Applies FLIP animation technique to create smooth movement of elements between pages
  • Works in Vue 3 environment and supports complex UI where shared components move
  • MIT licensed and open source, enabling customization of animation behavior

Project Samples

Project Activity

See All Activity >

Categories

Animation

License

MIT License

Follow Vue Starport

Vue Starport Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Vue Starport!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Animation Software

Registered

2 days ago