barba-js — Claude Code plugin: page transitions and routing
A Claude Code plugin that adds Barba.js, a library for smooth page transitions. Triggers on tasks involving page transitions, routing, SPA navigation, and GSAP integration.
Apache-2.0 ★ 1,428 updated 2025-11-20
/plugin marketplace add freshtechbro/claudedesignskills
/plugin install barba-js@claude-design-skillstackWhat barba-js does
The plugin integrates Barba.js into your project: creates animated transitions between pages without reload, manages routing and transition hooks. Works with gsap-scrolltrigger for animation sync.
Triggers activate on mentions of Barba.js, view management, transition hooks, and smooth navigation. The plugin picks up tasks for building SPA-like experiences on static sites.
Everything is configured through declarative transition rules and callbacks; animations are written in GSAP or CSS.
What it helps with
- add smooth page transitions without reload
- set up routing and lifecycle hooks for transitions
- sync transitions with GSAP animations
- build SPA navigation on top of a static site
- manage views and state during route changes
Example prompts for the agent
- Set up Barba.js with a fade transition between blog pages
- Add a GSAP slide animation for the transition from home to contact
- Connect
barba-jsand configure theafterEnterhook for analytics
How to install barba-js
Plugin marketplace
/plugin marketplace add freshtechbro/claudedesignskills/plugin install barba-js@claude-design-skillstackStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about barba-js
How to install barba-js in Claude Code?
Run /plugin marketplace add freshtechbro/claudedesignskills, then /plugin install barba-js@claude-design-skillstack.
What does the barba-js plugin do?
It adds Barba.js for smooth page transitions, routing management, and GSAP integration. Triggers on tasks involving page transitions, SPA navigation, and transition hooks.
Can I use barba-js without GSAP?
Yes, Barba.js works with any animation approach — CSS, Web Animations API, or another library. GSAP is listed as an integration example.
Source text
barba-js · Apache-2.0
Page transitions library for creating fluid, smooth transitions between website pages. Use this skill when implementing page transitions, creating SPA-like experiences, adding animated route changes, or building websites with smooth navigation. Triggers on tasks involving Barba.js, page transitions, routing, view management, transition hooks, GSAP integration, or smooth page navigation. Works with gsap-scrolltrigger for transition animations.
© Claude Design Skillstack · Apache-2.0 · freshtechbro/claudedesignskills