![]() ![]() While I won’t be going into its details, I can say that while react-pro-sidebar is more suitable for customization, react-burger-menu offers some great animations. One example is react-burger-menu - with a whooping 50k weekly downloads, it has more followers than react-pro-sidebar. This is the beauty and the curse of frontend development there are just so (and sometimes too) many different packages to choose from. Is there an alternative to react-pro-sidebar? If you’d like to learn more about the package in general, you can check out the official docs while following this tutorial. While there are other competitors around, react-pro-sidebar is extremely popular within the community and is the safest bet for this particular use case. What is react-pro-sidebar?Īs noted in their docs, “react-pro-sidebar provides a set of components for creating high-level and customizable side navigation.” In short, it makes creating sidebars in React a breeze - good news for us! When the user clicks the sidebar, it will collapse and only expand if clicked again. The main page will only have a title on it, while the sidebar will have multiple elements with adjacent icons to demonstrate its functionality. We will build a simple application that consists of a sidebar and a main page.
0 Comments
Leave a Reply. |