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.

INFO

Before you have to import the global css files in your project, follow instructions in Getting Started

Basic usage

avatar image

Props & Slots

Props

Prop nameDescriptionTypeValuesDefault
directionThe direction of the animation
@default "up"
@values "up", "down", "left", "right"
union-
delayThe delay of the animation
@default 0
number-
durationThe duration of the animation
@default 2000
number-
oncePlay the animation only once
@default true
boolean-

Slots

NameDescriptionBindings
default