barba
The premium Open Source alternative to Swup
🎯 Best for:Developers building high-end creative portfolios and marketing sites.
What is barba?
Replaces standard browser page reloads with a lifecycle-driven transition system using the History API. It utilizes a container-based DOM replacement strategy to maintain state and enable complex cross-fade animations.
Tech Stack
TypeScriptFrontend & Headless CMS
Why barba?
- • Zero dependencies
- • Smart prefetching
- • Small footprint
Limitations
- • Requires JS knowledge
- • DOM structure constraints
- • Manual script re-init
3/5/2026
Last Update
492
Forks
14
Issues
MIT
License
Financial Leak Detected
Stop the "SaaS Tax"
Your team could be burning cash. Switching to barba instantly boosts your runway.
Competitor Cost
-$1,440
/ year (est. based on Swup)
Self-Hosted
$0
/ year
Team Size10 Users
150+
SAVE 100%