Animated Router is a routing library for React. With it doing page transitions stop being such an inconvenience.
Installations
npm install animated-router-react
Developer Guide
Typescript
Yes
Module System
CommonJS
Score
73
Supply Chain
83.7
Quality
75.1
Maintenance
100
Vulnerability
100
License
Contributors
Unable to fetch Contributors
Languages
TypeScript (97.36%)
JavaScript (2.55%)
Shell (0.09%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
AmonDeShir
Download Statistics
Total Downloads
691
Last Day
1
Last Week
5
Last Month
23
Last Year
102
GitHub Statistics
64 Commits
1 Watching
1 Branches
1 Contributors
Bundle Size
8.21 kB
Minified
2.50 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.0.4
Package Id
animated-router-react@0.0.4
Unpacked Size
239.88 kB
Size
35.03 kB
File Count
155
Total Downloads
Cumulative downloads
Total Downloads
691
Last day
0%
1
Compared to previous day
Last week
-44.4%
5
Compared to previous week
Last month
283.3%
23
Compared to previous month
Last year
-37%
102
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
27
Animated Router
Icon made by smalllikeart from www.flaticon.com.
Animated Router is a routing library for React. With it doing page transitions stop being such an inconvenience. Animated Router is simple to use and flexible. Your transitions are just a JavaScript function that gives you a reference to your page (forward ref react component) as an argument. So to create your animations, you can use whatever you want, for example, a powerful library like GSAP, CSS transitions or animations, or just a pure javascript.
Installation
Download the package using your favorite package manager.
Yarn
yarn add animated-router-react
Npm
npm install animated-router-react
Links
Here are some useful links:
- Getting started guide: WIP
- Example project: https://github.com/AmonDeShir/animated-router-react-example
- Documentation: WIP
Features
- Routing
- Links
- Page arguments
- Animated transitions
- History api support
- Customisable 404 page
- Guardians
Contributions
All contributions are welcomed.
- Fork and clone the repo to your local machine
git clone https://github.com/YOUR_GITHUB_USERNAME/animated-router-react.git
- Create a new branch from
main
with a meaningful name for a new feature or an issue you want to work on:git checkout -b your-meaningful-branch-name
- If you've added a code that should be tested, ensure the test suite still passes.
yarn test
- Try to write some unit tests. Your goal is 100% coverage.
- Push your branch:
git push -u origin your-meaningful-branch-name
- Submit a pull request to the upstream animated-router-react repository.
- Choose a descriptive title and describe your changes briefly.
In case you have any questions about a feature you want to develop of something you're not sure how to do, you can still create a draft pull request to discuss the implementation details.
Coding style
Please follow the coding style of the project. Animated Router uses eslint and prettier. If possible, enable their respective plugins in your editor to get real-time feedback. The linting can be run manually with the following command: yarn lint
.
License
By contributing your code to the animated-router-react GitHub repository, you agree to license your contribution under the MIT license.
![Empty State](/_next/static/media/empty.e5fae2e5.png)
No vulnerabilities found.
![Empty State](/_next/static/media/empty.e5fae2e5.png)
No security vulnerabilities found.
Gathering detailed insights and metrics for animated-router-react