# AOS Animation Catalog
Complete catalog of all 50+ built-in animations available in AOS (Animate On Scroll).
## Table of Contents
- [Fade Animations](#fade-animations)
- [Slide Animations](#slide-animations)
- [Zoom Animations](#zoom-animations)
- [Flip Animations](#flip-animations)
- [Animation Combinations](#animation-combinations)
- [Custom Animations](#custom-animations)
## Fade Animations
Fade animations gradually change opacity. These are the simplest and most performant animations.
### Basic Fade
#### `fade-in`
Simple fade in from transparent to opaque.
```html
Fades in
```
**Use cases**: Simple reveals, subtle content appearance
### Directional Fades
#### `fade-up`
Fades in while moving upward from below.
```html
Fades up from bottom
```
**Use cases**: Content blocks, cards, text sections, CTA buttons
#### `fade-down`
Fades in while moving downward from above.
```html
Fades down from top
```
**Use cases**: Headers, hero titles, navigation menus
#### `fade-left`
Fades in while moving left (coming from the right).
```html
Fades left from right
```
**Use cases**: Text blocks, images on right side of layout
#### `fade-right`
Fades in while moving right (coming from the left).
```html
Fades right from left
```
**Use cases**: Text blocks, images on left side of layout
### Diagonal Fades
#### `fade-up-right`
Fades in while moving diagonally up and to the right.
```html
Fades up-right diagonally
```
**Use cases**: Grid items, cards in top-left position
#### `fade-up-left`
Fades in while moving diagonally up and to the left.
```html
Fades up-left diagonally
```
**Use cases**: Grid items, cards in top-right position
#### `fade-down-right`
Fades in while moving diagonally down and to the right.
```html
Fades down-right diagonally
```
**Use cases**: Grid items, cards in bottom-left position
#### `fade-down-left`
Fades in while moving diagonally down and to the left.
```html
Fades down-left diagonally
```
**Use cases**: Grid items, cards in bottom-right position
## Slide Animations
Slide animations move elements without changing opacity. More dramatic than fades.
### `slide-up`
Slides up from below (no fade).
```html
Slides up
```
**Use cases**: Modal overlays, bottom sheets, notifications
### `slide-down`
Slides down from above (no fade).
```html
Slides down
```
**Use cases**: Dropdown menus, alerts, top banners
### `slide-left`
Slides left from the right (no fade).
```html
Slides left
```
**Use cases**: Side panels, drawer menus, image carousels
### `slide-right`
Slides right from the left (no fade).
```html
Slides right
```
**Use cases**: Side panels, drawer menus, timeline items
## Zoom Animations
Zoom animations scale elements from small to normal size (or vice versa).
### Basic Zoom
#### `zoom-in`
Zooms in from smaller to normal size, centered.
```html
Zooms in
```
**Use cases**: Featured images, product photos, logos, icons
#### `zoom-out`
Zooms out from larger to normal size, centered.
```html
Zooms out
```
**Use cases**: Background images, hero sections, splash screens
### Directional Zoom In
#### `zoom-in-up`
Zooms in while moving upward.
```html
Zooms in from bottom
```
**Use cases**: Gallery images, product cards, testimonials
#### `zoom-in-down`
Zooms in while moving downward.
```html
Zooms in from top
```
**Use cases**: Headers, hero content, call-to-action sections
#### `zoom-in-left`
Zooms in while moving left (from right).
```html
Zooms in from right
```
**Use cases**: Content blocks, feature highlights (right side)
#### `zoom-in-right`
Zooms in while moving right (from left).
```html
Zooms in from left
```
**Use cases**: Content blocks, feature highlights (left side)
### Directional Zoom Out
#### `zoom-out-up`
Zooms out while moving upward.
```html
Zooms out moving up
```
**Use cases**: Attention-grabbing elements, special announcements
#### `zoom-out-down`
Zooms out while moving downward.
```html
Zooms out moving down
```
**Use cases**: Hero overlays, introductory content
#### `zoom-out-left`
Zooms out while moving left.
```html
Zooms out moving left
```
**Use cases**: Dynamic content transitions
#### `zoom-out-right`
Zooms out while moving right.
```html
Zooms out moving right
```
**Use cases**: Dynamic content transitions
## Flip Animations
Flip animations create 3D rotation effects. These are more complex and should be used sparingly.
### `flip-up`
Flips up (rotates around X-axis).
```html
Flips up
```
**Use cases**: Cards, product reveals, special features
**Note**: More CPU-intensive than other animations
### `flip-down`
Flips down (rotates around X-axis).
```html
Flips down
```
**Use cases**: Cards, dropdown reveals
**Note**: More CPU-intensive than other animations
### `flip-left`
Flips left (rotates around Y-axis).
```html
Flips left
```
**Use cases**: Card flips, panel transitions
**Note**: More CPU-intensive than other animations
### `flip-right`
Flips right (rotates around Y-axis).
```html
Flips right
```
**Use cases**: Card flips, panel transitions
**Note**: More CPU-intensive than other animations
## Animation Combinations
### Staggered Animations
Create sequential reveals by using delays:
```html
Item 1
Item 2
Item 3
Item 4
```
**Recommended delay increment**: 50-150ms between items
### Mixed Animations
Combine different animation types for visual interest:
```html
Heading
Subtext
```
### Alternating Patterns
Create rhythm with alternating directions:
```html
```
## Animation Performance Guide
### Performance Ranking (Best to Worst)
1. **Fade** animations (opacity only)
- Best performance, GPU-accelerated
- Use for most content
2. **Slide** and **Zoom** animations (transform only)
- Good performance, GPU-accelerated
- Use for featured content
3. **Flip** animations (3D transforms)
- Lower performance, more CPU-intensive
- Use sparingly for special elements
### Optimization Tips
#### 1. Prefer Simpler Animations
```html