Barba.js — aka Barba — is a small (7kb minified and compressed) and easy-to-use library that helps you create fluid and smooth transitions between your website's pages. It makes your website run like a SPA (Single Page Application) and help reduce the delay between your pages, minimize browser HTTP requests and enhance your user's web experience.

Features

  • Simplified API - written in TypeScript and works with Promises
  • Cross-browser support - progressive enhancement for modern browsers
  • DOM flexibility - custom markup, namespaces and data attribute schema
  • Hook system - regulars lifecycle methods for Transitions and Views
  • Transition resolution - rules that let Barba pick the right transition
  • Sync mode - indicates whether leave and enter hooks should “play together”
  • Page related code - custom logic attached to a specific View

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow barba.js

barba.js Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of barba.js!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Libraries

Registered

2024-05-17