← All presets
Foundationper-character

Warm Up

Characters warm from a cool muted tone into the final brand color.

pnpm

Installation

Run the following command:

pnpmdlx shadcn@latest add https://mutype.dev/r/gradient-warm-up.json

Props

PropTypeDefaultDescription
specAnimationSpecAnimation spec object (imported from components/mutype/specs/<id>).
textstringThe text to animate.
as"span" | "div" | "h1"–"h4" | "p""span"The HTML element to render.
triggerKeystring | numberRe-runs the animation when the value changes.
duration_multipliernumber1Scales duration_ms and stagger_ms uniformly. >1 slower, <1 faster.
y_travel_multipliernumber1Multiplier on y_px values; useful to dampen lift on small text.
forceReducedMotionbooleanfalseForces the reduced-motion fallback even when the user has not opted in (testing).
onFinished() => voidFires once when the enter phase completes (not on cancel).
classNamestringTailwind / CSS class names. Forwarded to the host element.

Usage notes

Override `color` on the from/to frames to match your brand: any cool→warm or muted→saturated pairing reads as a 'warming up' gesture. Avoid pairing with low contrast backgrounds; the color delta needs at least 4.5:1 contrast at the to-state to remain WCAG-AA compliant. For dark themes, invert the cool/warm pairing (warm→cool also works as a 'cooling down' cue for dismissals).

Inspired by Apple Intelligence color reveals; warm-on backlights of premium hardware; OLED state-of-rest fades..