// In your terminal yarn add aos@next or npm install --save aos@next // In your JS file import AOS from 'aos'; import 'aos/dist/aos.css'; AOS.init(); // then, you can add data-aos attributes in your html