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
Categories
LibrariesLicense
MIT LicenseFollow barba.js
Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of barba.js!