{"repo":"nanxiaobei/react-slide-routes","free":true,"listed":false,"github":"https://github.com/nanxiaobei/react-slide-routes","clone":"git clone https://github.com/nanxiaobei/react-slide-routes.git","description":"🏄‍♂️ The easiest way to slide React routes","language":"TypeScript","stars":104,"topics":["react","slide","router","routes","route","transition","animation","motion"],"license":"MIT","category":"ui-components","readme_excerpt":"Create now ➫ 🔗 kee.so --- react-slide-routes 🏄‍♂️ The easiest way to slide React routes --- Fit React Router v6 For React Router v5, please use react-slide-routes@1.1.0 and note that the usage is different. Add Use API Prop Type Required Default Description ----------- ---------- -------- --------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- animation string 'slide' Animation effect type, 'slide' , 'vertical-slide' , or 'rotate' duration number 200 transition-duration in ms timing string 'ease' transition-timing-function , one of 'ease' 'ease-in' 'ease-out' 'ease-in-out' 'linear' destroy boolean true If false , prev page will still exits in dom, just invisible compare function - Function to sort the routes' order (defaults to the definition order). compare will be used to routes.sort((a, b) = compare(a, b)) , routes is the param to useRoutes License MIT License © nanxiaobei","default_branch":null,"files":null,"tree":[],"storefront":"/r/nanxiaobei","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nanxiaobei/react-slide-routes/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}