A collection of demos explaining the most frequent use cases for Barba.js.
- A Simple Starter
- CSS Transitions
- GSAP Transitions
- With Smooth ScrollBar
- With Locomotive Scroll
- With ImagesLoaded
- With WordPress
The starting point of each demo is a cleaned up barba-starter-template by Samuel Berisha, simplified and cleaned up by Xavier Foucrier
- Open demo folder in VSCode
- Install dependencies -
yarn install
ornpm install
- To run a local web server, watch JS and CSS changes run
npm run dev
- To run production build run
npm run build