Animation in lulancy

Please tell me how to add animation efects
e.g When the user scrolls up, the text should magically reveal
or only in one picture many text should be scrollable

also how to export it through code

Lunacy doesn’t support animation, I’m afraid. You can upvote for this feature here, though: https://lunatics.icons8.com/posts/479/animation-effects

As for the exporting the file to code, Lunacy allows you to view and copy CSS, XAML and SVG code for all objects in your document.
image
Please follow the steps described in this article in order to copy your designs into the code: Export