Skip to content

Components

Eugene Croquette edited this page Nov 26, 2021 · 1 revision

Player

Use this code in the INI section to inject JS player into a current page/partial/layout.

[lottie]

When it's done, you can use Lottie player as many times as you want with different values of url property.

  • url *

    HTTP link to lottie animation JSON.

    Next example code will generate two animations following one-by-one:

    {% component 'lottie' url='https://example.com/path/to/file1.json' %}
    
    {% component 'lottie' url='https://example.com/path/to/file2.json' %}
  • look

    Lottie player CSS style

Clone this wiki locally