Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

aos react

//import 
import AOS from "aos";
import "aos/dist/aos.css";

//useEffect
useEffect(() => {
    AOS.init();
    AOS.refresh();
  }, []);
//example 
<div data-aos="fade-up"></div>
 
PREVIOUS NEXT
Tagged: #aos #react
ADD COMMENT
Topic
Name
5+2 =