Menu
Libraries |
Category

trpc-svelte-query-adapter

A lightweight, framework-agnostic animation library

Purpose

  • Provides a simple way to create smooth animations and transitions
  • Designed to be performant and lightweight
  • Works with any JavaScript framework or vanilla JS

Key Features

  • Small bundle size (under 5kb gzipped)
  • Hardware-accelerated animations
  • Supports both CSS and JavaScript-based animations
  • Chainable API for complex animation sequences
  • Built-in easing functions
  • Promise-based API for easy sequencing

Framework Support

  • Works with Svelte, React, Vue, Angular, and others
  • Framework-specific wrappers available (including Svelte support)
  • Can be used without any framework

Target Audience

  • Frontend developers needing performant animations
  • Teams working with multiple frameworks
  • Projects where bundle size is a concern
  • Developers who want a simple animation API

Basic Usage Example

import { animate } from '@lib';

animate('.element', {
  opacity: [0, 1],
  duration: 500
});

adapterreact-querysveltesvelte-querysveltekittanstack-querytrpctypescript

Comments