No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

The component failed to render properly, likely due to a configuration issue in Storybook. Here are some common causes and how you can address them:

  1. Missing Context/Providers: You can use decorators to supply specific contexts or providers, which are sometimes necessary for components to render correctly. For detailed instructions on using decorators, please visit the Decorators documentation.
  2. Misconfigured Webpack or Vite: Verify that Storybook picks up all necessary settings for loaders, plugins, and other relevant parameters. You can find step-by-step guides for configuring Webpack or Vite with Storybook.
  3. Missing Environment Variables: Your Storybook may require specific environment variables to function as intended. You can set up custom environment variables as outlined in the Environment Variables documentation.

Welcome to Reacthub PixiTweenJS

PixiTweenJS Logo

Craft stunning, timeline-controlled canvas animations with the power of React, PixiJS, and GSAP.

PixiTweenJS bridges the gap between declarative React components and high-performance WebGL rendering, enabling you to build professional-grade interactive experiences with an elegant, intuitive API.

🎯 What is PixiTweenJS?

PixiTweenJS is a comprehensive animation library that unifies React's component model with PixiJS's hardware-accelerated rendering and GSAP's industry-leading animation engine. Think of it as your creative toolkit for building everything from video editors and design tools to data visualizations and interactive storytelling experiences.

🎬 Timeline-First Architecture

Every element operates on a precise timeline with start and end times, giving you frame-perfect control over your animations and compositions.

⚡ WebGL Performance

Leverage PixiJS's WebGL renderer for buttery-smooth 60fps animations, even with hundreds of simultaneous elements and effects.

🎨 Rich Media Support

Seamlessly integrate images, videos, audio, GIFs, SVGs, and Lottie animations with consistent APIs and automatic timeline synchronization.

🔄 Professional Animation

Harness GSAP's powerful tweening system for smooth, eased animations with full control over timing, easing curves, and complex sequences.

🚀 Who Is This For?

PixiTweenJS is perfect for developers building:

  • Video Editing Applications – Create Canva-style editors with drag-and-drop, timeline controls, and real-time preview
  • Design Tools – Build interactive canvases with transformation handles, layers, and visual effects
  • Data Visualizations – Animate charts, graphs, and infographics with timeline-based transitions
  • Interactive Experiences – Craft engaging web experiences with synchronized media and smooth animations
  • Creative Coding Projects – Experiment with generative art, particle systems, and visual effects

📚 What's Inside This Storybook?

This interactive documentation provides everything you need to master PixiTweenJS:

  • Live Component Playground – Explore all components with interactive examples and editable code
  • Installation Guide – Get started quickly with npm, yarn, or CDN integration
  • API Reference – Comprehensive documentation of props, methods, and configuration options
  • Framework Integration – Examples for integrating with React, Next.js, and other frameworks
  • Real-World Examples – Production-ready patterns and best practices

Pro Tip Navigate through the sidebar to explore components, from basic sprites to advanced effects. Each component includes live examples and full source code.

🛠️ The Technology Stack

PixiTweenJS combines best-in-class technologies:

  • React 18+ – Modern component architecture with concurrent features and hooks
  • PixiJS 7 – Industry-leading 2D WebGL rendering with excellent performance
  • GSAP 3 – Professional animation library trusted by major brands worldwide
  • TypeScript – Full type safety and IntelliSense for enhanced developer experience

🎨 From Simple to Sophisticated

Whether you're creating a basic animated banner or a complex video editing interface, PixiTweenJS scales with your needs. Start with simple sprites and text, then layer in video, audio, effects, and interactivity as your project grows.

The composable architecture means you can mix and match components freely, creating rich, multi-layered experiences while maintaining clean, readable code.

Ready to Get Started?

Browse the component examples in the sidebar, check out the installation guide, or dive straight into the code examples. The stories directory contains production-ready examples showcasing real-world patterns and best practices.

Welcome to the future of canvas animation in React. Let's build something amazing. 🚀