Description:
larose.js is a React library that provides a set of hooks and components to simplify and enhance web development, particularly in animations and transitions.
- ✨ Ready-to-Use Components: larose.js offers a diverse collection of pre-built animated components, including
AnimatedText,Loader,RandomAnimate,RoseBox,RoseRouter,ShinyButton,SideText,SplitText,Spring,WaveText,CounterUp,CounterDown,SwitchCase,SideBox,SeeMore,VHContainer,blockUsers,Images,PopMenu,PopUp,metaDescription,Tables, andAk_Alert. - 🛠️ Customizable Hooks: Beyond components, larose.js provides an array of utility hooks such as
useLocalStorage,useRand,useClipboard,useDocumentTitle,useOnlineStatus,useBatteryStatus,usePreferredLanguage,useColorScheme,useHardwareConcurrency,usePhotoState,useCountry,useContinent,useGetUserContacts, anduseVHVisibility. These hooks offer convenient ways to manage application state, access browser APIs, and handle various development tasks. - 🚀 React Integration: Built specifically for React, larose.js seamlessly integrates into React projects.
- 🎨 Visually Engaging: The library focuses on providing visually appealing animations and transitions to enhance user experience.
Use Cases
- Dynamic Landing Pages: Use
AnimatedText,WaveText, andSideTextcomponents to create captivating landing pages with eye-catching animated headlines and call-to-actions. - Interactive Data Displays: Employ
CounterUpandCounterDowncomponents to animate numerical data changes, making dashboards and reports more engaging. - User Interface Enhancements: Integrate
ShinyButton,SideBox, andPopMenucomponents to add interactive elements and smooth transitions, improving the overall user interface experience. - Loading States and Progress Indicators: Utilize the
Loadercomponent to create visually appealing loading states while fetching data or performing asynchronous operations. - Route Transitions: Leverage
RoseRouterfor seamless and animated page transitions, adding a polished feel to single-page applications.
Installation
npm i larose-jsUsage
Here’s an example of how to use the AnimatedText component:
AnimationsType: "blur","fadeIn","slideIn","zoomIn"
{/* initialAnimateTypeStyle: Character or Word */}
<AnimatedText
RoseId={ /* ID */ }
RoseName={/* ClassName */}
animationType=""
initialAnimateTypeStyle=""
speed={/*by ms*/}
edit={{/*Inline Style*/}}
delay={/*by ms*/}>Hello
</AnimatedText>