elixirlearners / compounds

A Phoenix UI Components Library | Brew Your Own Interfaces.
3 stars 0 forks source link

Animations #66

Closed faroutchris closed 1 year ago

faroutchris commented 1 year ago

First iteration of animations

I played around with creating some kind of animation api for compounds (not included in this PR) Something like this: <elem data-animation="fadeIn" duration="300">

That way we can standardise and have a simple to use API when we need to add rotations, fade ins, transforms + some simple options to set. What do you think?