Skip to content

MazAnimatedElement

MazAnimatedElement is a standalone component that animates its content with a sliding blur effect when it enters the viewport. It supports different animation directions (up, down, left, right) and allows customizing the animation delay and duration.

Basic usage

avatar image

Props

NameDescriptionTypeRequiredDefaultPossible values
directionThe direction of the animation"up" | "down" | "left" | "right"Noupup", "down", "left", "right
delayThe delay of the animationnumberNo0-
durationThe duration of the animationnumberNo2000-
oncePlay the animation only oncebooleanNotrue-

Slots

NameDescriptionBindings
default