Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Scrollreveal | 21,716 | 2,504 | 83 | 24 days ago | 72 | March 05, 2021 | 30 | JavaScript | ||
Animate elements as they scroll into view. | ||||||||||
Material Animations | 13,282 | 4 years ago | 19 | mit | Java | |||||
Android Transition animations explanation with examples. | ||||||||||
Barba | 10,977 | 7 | 15 | 17 days ago | 67 | January 16, 2020 | 2 | mit | TypeScript | |
Create badass, fluid and smooth transitions between your website’s pages. | ||||||||||
Lax.js | 10,046 | 22 | 9 | 7 months ago | 15 | December 28, 2020 | 15 | mit | JavaScript | |
Simple & lightweight (<4kb gzipped) vanilla JavaScript library to create smooth & beautiful animations when you scroll. | ||||||||||
React Transition Group | 9,771 | 47,715 | 6,163 | 5 months ago | 43 | August 01, 2022 | 218 | other | JavaScript | |
An easy way to perform animations when a React component enters or leaves the DOM | ||||||||||
React Native Animatable | 9,498 | 2,130 | 338 | 4 months ago | 23 | October 13, 2019 | 209 | mit | JavaScript | |
Standard set of easy to use animations and declarative transitions for React Native | ||||||||||
Macaw | 5,940 | 21 | 2 months ago | 11 | April 10, 2020 | 135 | mit | Swift | ||
Powerful and easy-to-use vector graphics Swift library with SVG support | ||||||||||
Ramjet | 5,441 | 23 | 7 | 7 years ago | 9 | February 05, 2016 | 11 | mit | JavaScript | |
Morph DOM elements from one state to another with smooth animations and transitions | ||||||||||
Expanding Collection | 5,226 | 15 | 3 years ago | 26 | September 26, 2018 | 28 | mit | Swift | ||
:octocat: ExpandingCollection is an animated material design UI card peek/pop controller. iOS library made by @Ramotion - https://www.ramotion.com/agency/app-development/ | ||||||||||
React Burger Menu | 4,862 | 940 | 141 | 6 months ago | 136 | January 01, 2023 | 7 | mit | JavaScript | |
:hamburger: An off-canvas sidebar component with a collection of effects and styles using CSS transitions and SVG path animations |
This component implements transition animation to crumble view-controller into tiny pieces.
Check this project on dribbble.
Also, read how it was done in our blog
use_frameworks!
pod 'StarWars', '~> 2.0'
At first, import StarWars:
import StarWars
Then just implement class of UIViewControllerTransitioningDelegate that will return our animation form method animationControllerForDismissedController and assign it to transitioningDelegate of viewController that you want to dismiss.
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
let destination = segue.destinationViewController
destination.transitioningDelegate = self
}
func animationControllerForDismissedController(dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
return StarWarsGLAnimator()
}
There are also two things you can customize in the Star Wars animation: duration and sprite sizes. Let’s see how you can do this:
let animator = StarWarsGLAnimator()
animator.duration = 2
animator.spriteWidth = 8
Have fun! :)
We’d be really happy if you sent us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding the animation.
P.S. We’re going to publish more awesomeness wrapped in code and a tutorial on how to make UI for iOS (Android) better than better. Stay tuned!
1.0
Swift 2.02.0
Adds Swift 3.0 support3.0
Adds Swift 4.0 support4.0
Adds Swift 5.0 supportThe MIT License (MIT)
Copyright © 2018 Yalantis
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.