Properties

Lists the Lottie-Vue properties for playing animations.
Property
Description
Type
Default Value
autoplay
When set to true, automatically plays the animation on loading it.
boolean
false
backgroundColor
Background color. By default, the background is transparent and will take the color of the parent container.
string
Not defined
mode
Play mode. Setting the mode to PlayMode.Bounce plays the animation in an indefinite cycle, forwards and then backwards.
Either PlayMode.Bounce or PlayMode.Normal
PlayMode.Normal
playercontrols
When set to true, displays player controls.
boolean
false
showColorPicker
Displays the color picker and allows the user to change animation colors.
boolean
false
playerSize
Set the player size.
string The value is one of hide, minimal, or standard.
standard
loop
When set to true, loops the animation.
boolean
false
speed
Animation speed. Set this parameter to any positive number.
number
1
style
Container style
object
undefined
src
The animation to play, either Bodymovin JSON data or a URL to a JSON file. This parameter is mandatory.
object
string
Last modified 6mo ago