@sweberdev/sigmoid-vue

Vue 3 directives and composables for Sigmoid: v-reveal, v-parallax, useScrollProgress and useStory on native CSS scroll timelines.
190
Install
npm install @sweberdev/sigmoid-vue
Latest Version:1.0.0
Vue:3
License:MIT
Last Updated:Oct 14, 2026
Links: GitHub  ·  npm
Maintainer: sxwxbxr

@sweberdev/sigmoid-vue

Vue 3 directives and composables for Sigmoid: scroll reveals, parallax, scroll progress and scroll stories on native CSS scroll timelines, with spring and S-curve easings, a tiny fallback and reduced motion respected by default.

pnpm add @sweberdev/sigmoid @sweberdev/sigmoid-vue
import { createApp } from "vue";
import { SigmoidPlugin } from "@sweberdev/sigmoid-vue";

createApp(App).use(SigmoidPlugin).mount("#app");
<h2 v-reveal="'fade-up'">Our work</h2>
<li v-for="(item, i) in items" :key="item.id" v-reveal="{ preset: 'scale-in', shift: i * 8 }">{{ item.name }}</li>
<img v-parallax="40" src="https://raw.githubusercontent.com/Weber-Development/sigmoid/HEAD/hero.jpg" alt="" />
<script setup lang="ts">
import { ref } from "vue";
import { useScrollProgress, useStory } from "@sweberdev/sigmoid-vue";

const stat = ref<HTMLElement | null>(null);
const progress = useScrollProgress(stat); // Ref<number>, 0 to 1

const how = ref<HTMLElement | null>(null);
const { step } = useStory(how, { steps: 3 }); // active step of a pinned section
</script>

Docs and live demo: packages.sweber.dev/sigmoid/docs

MIT licensed.

Related Packages

@parallax-editor/parallax-engine

Vue 3 engine for immersive parallax sites driven by a JSON schema. Core library...

2,300 0
vue3-animate-onscroll

A simple Vue directive that animates elements as they scroll into view.

5,683
@dcasia/vue-aos

Implementing animation on scroll based on Vue 3

766 5
vue-kinesis

Easily create complexe interactive animations with Vue.js

132,497 1,497
vue-animate-onscroll

A simple Vue directive that animates elements as they scroll into view.

18,044 116

Version History

Version Released Vue License
1.0.0 >=3.3 MIT
0.9.0 >=3.3 MIT
0.8.0 >=3.3 MIT
0.7.0 >=3.3 MIT
0.6.0 >=3.3 MIT