Skip to content

Animatable vector buttons that I used in the photo editing app for the worldwide Telegram iOS contest in late 2022. I took 4th place.

License

Notifications You must be signed in to change notification settings

zsergey/Telegram-Inspired-Animatable-Buttons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿฅ‡ Telegram-Inspired Animatable Buttons

In the media editing app contest of Telegram in late 2022, there were vector buttons that could be animated to different vector shapes. Telegram provided Lottie animation for these buttons, but I decided to implement a mechanism for animating this type of buttons from scratch. Please feel free to use the button code and give it a star if you find it useful.

๐Ÿ›  Usage

let cancelBackView = CancelBackView()
cancelBackView.apply(model: .init(state: .back))

let textAligmentView = TextAligmentView()
textAligmentView.apply(model: .init(aligment: .left))

๐Ÿ๏ธ Example

About

Animatable vector buttons that I used in the photo editing app for the worldwide Telegram iOS contest in late 2022. I took 4th place.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages