Skip to main content

Getting Started

Seamlessly integrate your favorite animation libraries (Motion, AnimeJS, GSAP) into your Svelte projects using Mercury.

The following guide will walk you through the process of installing Mercury.

Installation

You can easily install Mercury with npm or your preferred package manager:

npm i @omicrxn/mercury

Animating Elements

Mercury leverages Svelte Attachments to provide intuitive animation handling. Here’s a basic example demonstrating its usage: