Composables

Plugins reference

All available composables and their corresponding nuxt.config.ts keys.

Available composables

Enable any plugin by adding its key to the plugins array in nuxt.config.ts. The composable is then auto-imported everywhere.

ComposablePluginnuxt.config.ts key
useGsap()GSAP core— (always available)
useScrollTrigger()ScrollTriggerScrollTrigger
useScrollSmoother()ScrollSmootherScrollSmoother
useSplitText()SplitTextSplitText
useMotionPathHelper()MotionPathHelperMotionPathHelper
useDraggable()DraggableDraggable
useFlip()FlipFlip
useObserver()ObserverObserver
useGSDevTools()GSDevToolsGSDevTools
useCustomEase()CustomEaseCustomEase
useCustomWiggle()CustomWiggleCustomWiggle
useCustomBounce()CustomBounceCustomBounce

Enabling multiple plugins

nuxt.config.ts
export default defineNuxtConfig({
  gsap: {
    plugins: [
      'ScrollTrigger',
      'ScrollSmoother',
      'Draggable',
      'Flip',
      'SplitText',
      'Observer',
      'CustomEase',
    ],
  },
})

Playground examples

Live examples for each plugin are available in the playground:

  • draggable.vue — Draggable with cleanup
  • scroll-trigger.vue — ScrollTrigger with pinning
  • split-text.vue — SplitText character/word animation
  • scroll-smoother.vue — ScrollSmoother + ScrollTrigger
  • flip.vue — Flip layout transitions
  • observer.vue — Observer swipe detection
Copyright © 2026