• Auto
  • Light
  • Dark

Animations

All animations use motion tokens for duration and easing. Durations zero automatically under prefers-reduced-motion — no per-animation media queries needed.

Usage

@use "mixins" as *;

.my-element {
  @include fade-up;
}

// with custom duration
.my-element {
  @include fade-up(var(--duration-slow));
}

Fade

Aa

Soft In

Simple opacity fade. Default entrance animation.

@include soft-in;
Aa

Fade Up

Fades in while translating up from below.

@include fade-up;
Aa

Fade In Top

Fades in while dropping from above.

@include fade-in-top;
Aa

Fade In Bottom

Fades in while rising from below.

@include fade-in-bottom;
Aa

Fade In Right

Fades in while sliding from the right.

@include fade-in-right;
Aa

Fade Left

Fades in while sliding from the right toward left.

@include fade-left;
Aa

Fade Out Top

Fades out while moving upward. Use for exit animations.

@include fade-out-top;

Scale

Aa

Scale In Center

Scales in from zero. Clean entrance for modals and cards.

@include scale-in-center;
Aa

Scale Up

Scales from 50% with a slight overshoot. Springy entrance.

@include scale-up;
Aa

Puff In Center

Scales in from large with a blur. Dramatic entrance.

@include puff-in-center;

Rotate

Aa

Swing In Top

Rotates in from above on the X axis. Good for dropdowns.

@include swing-in-top;

Attention

Aa

Jello Horizontal

Elastic squash and stretch. Use for attention or error states.

@include jello-horizontal;