TTextMaskAnimation

type
Data Display

Animation strategy applied to the background painted under the background-clip: text mask in OrigamTextMask. Every strategy respects prefers-reduced-motion.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Accepted

Values

Accepted string literal values for this type. Click a value to copy it.

zoom
Continuous scale from 1 to 2 — a cinematic moving-forward feel that progressively reveals finer gradient detail.
rotate
Rotates the background-image continuously. Best fit for conic gradients where every angle is meaningful.
pulse
Scales 1 to 1.2 and back to 1 — a subtle breathing effect that keeps the gradient visible throughout.
pan
Translates the gradient horizontally in a continuous loop. Default. Best fit for long horizontal linear-gradient ramps.

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

TextMask with rotating conic gradient

html