๐Ÿš€ Revolutionary Animation Library

Anim8 - Core

Transform your web experiences with lightning-fast animations

A lightweight, modular, and powerful JavaScript animation library built for developers who want precise control over UI animations without the bloat of large frameworks.

0KB
Dependencies
60fps
Performance
7+
Animations
Scroll to explore
โ†“

Why Choose Anim8-Core?

๐Ÿš€

Zero Dependencies

Pure JavaScript with no external libraries. Keep your bundle size minimal.

โšก

High Performance

Built with requestAnimationFrame for smooth 60fps animations across all devices.

๐Ÿงฉ

Modular & Tree-shakable

Import only what you need. Optimize your bundle size with selective imports.

๐ŸŽฏ

Custom Easing

Built-in easing curves for natural motion. Create your own custom easing functions.

๐Ÿ“ฑ

Mobile-Friendly

Optimized for touch devices and responsive design. Works great on all screen sizes.

๐Ÿงช

Unit Tested

Comprehensive test coverage with Jest + JSDOM for reliable performance.

Live Animation Demos

Click on any element to see the animation in action!

fadeIn Animation

Click Me!

Smoothly fades element into view with customizable duration and easing.

slideIn Animation

Slide!

Slides element from specified direction with configurable distance.

rotate Animation

Spin!

Rotates element with configurable speed and duration.

rotateScale Animation

Scale!

Combines rotation with scaling effect for dynamic animations.

typewriterPulse Animation

Types text with pulsing cursor effect, perfect for dynamic content.

scrollReveal Animation

Scroll!

Triggers animation when element enters viewport. Perfect for scroll-based reveals.

Easy Installation

NPM Installation

npm install anim8-core

CDN Usage

<script src="https://unpkg.com/anim8-core/dist/anim9.umd.js"></script>

Basic Usage

import { fadeIn, slideIn, rotate } from 'anim8-core';

// Get your element
const element = document.querySelector('.my-element');

// Fade in with custom options
fadeIn(element, {
  duration: 800,
  delay: 200,
  easing: 'easeOutExpo'
});

// Slide in from the left
slideIn(element, {
  direction: 'left',
  duration: 600,
  distance: '100px'
});

// Rotate continuously
rotate(element, {
  speed: 2,
  duration: 3000
});