/barbajs-demos

A collection of Barba.js demos based on the barba-starter-template.

Primary LanguageHTMLMIT LicenseMIT

Barbajs Demos

A collection of demos explaining the most frequent use cases for Barba.js.

All Demos Preview

Barba.js and CSS transitions

Barba.js and CSS

Barba.js and CSS Plugin

Live Preview

Barba.js and GreenSock

Barba.js and GSAP

Barba.js and GreenSock

Live Preview

Barba.js and Smooth ScrollBar

Barba.js and Smooth ScrollBar

Live Preview

Barba.js and Locomotive Scroll

Barba.js and Smooth ScrollBar

Live Preview

Barba.js and Images Loaded

Barba.js and Images Loaded

Barba.js and GreenSock

Live Preview

Roadmap

  • A Simple Starter
  • CSS Transitions
  • GSAP Transitions
  • With Smooth ScrollBar
  • With Locomotive Scroll
  • With ImagesLoaded
  • With WordPress

How to use

The starting point of each demo is a cleaned up barba-starter-template by Samuel Berisha, simplified and cleaned up by Xavier Foucrier

  1. Open demo folder in VSCode
  2. Install dependencies - yarn install or npm install
  3. To run a local web server, watch JS and CSS changes run npm run dev
  4. To run production build run npm run build