Skip to main content
plugin

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add freshtechbro/claudedesignskills
/plugin install barba-js@claude-design-skillstack
Open on GitHub

What 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-js and configure the afterEnter hook for analytics

How to install barba-js

Plugin marketplace

/plugin marketplace add freshtechbro/claudedesignskills
/plugin install barba-js@claude-design-skillstack

Step 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

Similar plugins

All plugins for Frontend and UI →

From the same set84

The whole set →
locomotive-scroll Assists Claude Code in configuring smooth scrolling with Locomotive Scroll. Useful for building parallax layers, horizontal scrolling sections, and GSAP ScrollTrigger animations. ★ 1,428repo stars lightweight-3d-effects lightweight-3d-effects — a plugin that adds a skill for decorative 3D: pseudo-3D artwork from Zdog, animated backgrounds via Vanta.js, cursor tilt with Vanilla-Tilt.js. ★ 1,428repo stars gsap-scrolltrigger gsap-scrolltrigger — a plugin for GSAP and ScrollTrigger: animates elements, creates scroll effects, pinning and parallax. ★ 1,428repo stars blender-web-pipeline blender-web-pipeline automates Blender export pipelines for web 3D models and animations. Useful when preparing glTF assets for Three.js or Babylon.js. ★ 1,428repo stars babylonjs-engine babylonjs-engine — a Claude plugin that gives the agent working knowledge of Babylon.js: 3D scenes, browser games, WebGL and WebGPU rendering. ★ 1,428repo stars animejs Brings Anime.js, an animation engine for DOM, CSS, SVG and JavaScript objects. Triggers on mentions of timelines, stagger effects, SVG morphing or multi-step animation choreography. ★ 1,428repo stars animated-component-libraries animated-component-libraries is a Claude Code plugin that helps choose ready-made animated React components from Magic UI and React Bits for interfaces where animations would otherwise be built by hand. ★ 1,428repo stars aframe-webxr aframe-webxr — a plugin for building browser-based 3D, VR and AR experiences using HTML markup and entity-component architecture on top of Three.js. ★ 1,428repo stars

Project sponsors

Companies that keep this analytics open