Lottie Only
A media section that renders a standalone Lottie JSON animation. The section wraps the lottie partial, which loads the Lottie player web component and plays the animation with configurable speed, autoplay, and loop settings.
A media section that renders a standalone Lottie JSON animation. The section wraps the lottie partial, which loads the Lottie player web component and plays the animation with configurable speed, autoplay, and loop settings.
- sectionType: lottie-only
containerTag: section
# more settings
lottie:
src: '/assets/lotties/example4.json' # URL of the Lottie JSON file
speed: 1 # playback speed multiplier
control:
autoplay: true # start playing when loaded
loop: true # repeat the animation| Property | Type | Required | Description |
|---|---|---|---|
lottie.src | string | Yes | URL of the Lottie JSON animation file |
lottie.speed | number | No | Playback speed multiplier (default1) |
lottie.control.autoplay | boolean | No | Starts the animation automatically whentrue |
lottie.control.loop | boolean | No | Repeats the animation whentrue |
mediaType: lottie