moving-letters-android

Text animation library for Android (Jetpack Compose).

Guide

Following text animations are available:

ScaleInAnimatedText

ScaleOutAnimatedText

FadeAnimatedText

JumpAnimatedText

RotateAnimatedText

Programmatic API

You may use AnimatedTextState as follows to control the animation programmatically:

val state = rememberAnimatedTextState()

XYZAnimatedText(
    state = state,
    text = "I like Jetpack Compose"
)

state.stop()
state.pause()
state.start()
state.resume()

Example Application

You may download the APK quick trial.

The source-code of the example application provides more details.

Inspiration

Moving Letters for Web / JavaScript by @tobiasahlin.

I wanted to implement it in Jetpack Compose!

License

Copyright © 2023 & onwards, Hitesh Kumar Saini.

This project & the work under this repository is governed by MIT license that can be found in the LICENSE file.

GitHub

View Github