Skip to content

@barba/core 2.9.7

Compare
Choose a tag to compare
@xavierfoucrier xavierfoucrier released this 31 Dec 22:47
035ca60

What's new? 🧔

  • Brand website, always up to date — https://barba.js.org/
  • Simplified API, with tree shaking support and TS definitions
  • Hook system for Transitions and Views
  • Transition resolution, to declare your transitions and let Barba pick the right one
  • Use of data-barba-* attributes, that you can easily customize
  • Sync mode, to build cross animated transitions between pages
  • Plugin system
    • @barba/router : use of routes for transition resolution
    • @barba/css : automatic addition of CSS classes
    • @barba/prefetch : automatic pages prefetching (and caching), based on viewport
    • @barba/head : update your <head> (coming soon)
    • @barba/preset : ready-to-use basic transitions pack (fade, slide, …) (coming soon)

Sponsorship

It is now possible to support this project by sponsoring BarbaJS maintainer on Github. Even if it's a small contribution, you participate in the effort of making open source projects maintained for everyone, and developers to be rewarded for their work/time.

Feedback

Feel free to report any issue or feature request, thanks! 👍
Send us your project and showcase the amazing transitions you built using Barba!