npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

voltyjs

v1.0.71

Published

so cool ...

Downloads

292

Readme

Volty.js - Where Every Animation Sparks

Volty.js

Volty is an innovative React animation library designed to enhance user interfaces with smooth and visually appealing animations.

Table of contents

  1. Introduction
  2. Installation
  3. Getting Started
    • Required Libraries
  4. Cool Effects
    • Cuberto Effect
    • Text Effect
    • Image Trail Effect
    • 3D Slider Effect
    • Wheel Scrolling Effect
  5. Canvas Effects
    • Draw Canvas Effect
  6. 3D Effects with React
    • 3D Box Geometry with R3F
    • 3D Glass Effect with R3F TorusGeometry
  7. Page Trasitions
    • style 1 . Grid Effect
    • style 2 . DownFall Effect
    • style 3 . Carve Effect
    • style 4 . Mirror Grid Effect
  8. License
  9. Note

Introduction

Voltyjs is a quick and efficient way to enhance the user experience with minimal effort.

Installation

To use Volty.js in your project, you can include it in your react project by using node.

When using node or browserify install

npm install voltyjs

Getting Started

Once you have included Volty.js in your react project


import React from 'react';
import { Cuberto } from 'voltyjs';

function App() {
  return (
    <div className="w-full h-screen">
         <Cuberto />
    </div>
  );
}

export default App;

Required Libraries

To successfully run with CDN, you'll need some libraries.

npm install gsap

Cool Effects

These are effects are implemented with the help of GSAP and CSS to offer a unique experience with single function.

Cuberto

The feature creates smooth mouse follower, creating an engaging user experience.

import React from 'react';
import { Cuberto } from 'voltyjs';

function App() {
  return (
    <div className="w-full h-screen">
         <Cuberto size={20} color={"#B9B28A"} smooth={true} radial={true} text={"sitaram"} />
    </div>
  );
}

export default App;
  1. For radial use size more then 60 for better experience.
  2. In text property give text you want to print.

Text Effect

The feature creates smooth text effect, creating an engaging user experience.

import React from 'react';
import { TextBentoo } from 'voltyjs';

function App() {
  return (
    <div className="w-full h-screen">
         <TextBentoo color={"#B9B28A"} text={"sitaram"} min={50} max={300}/>
    </div>
  );
}

export default App;
  1. bottom and left is used to set position.
  2. min and max is used to set max amd min size of text size;

Image Trail Effect

The feature creates smooth image trail effect with mouse-move, creating an engaging user experience.

import React from 'react';
import { Trail } from 'voltyjs';

function App() {
  return (
    <div className="w-full h-screen">
         <Trail width={180} height={300} rounded={7}/>
    </div>
  );
}

export default App;
  1. For images pass the array of images which you want to trail.
  2. This defualt images is set in images props.

images

3D Slider

The feature creates smooth 3D slider, creating an engaging user experience.

import React from 'react';
import { ThreeSlider } from 'voltyjs';

function App() {
  return (
    {/* give proper height, how much you want to scoll? */}
    <div className="w-full h-[300vh] overflow-hidden">  
         <ThreeSlider size={200}/>
    </div>
  );
}

export default App;
  1. For images pass the array of images which you want to trail.

images

Wheel Scrolling Effect

The feature creates smooth wheel scrolling effect, creating an engaging user experience.

import React from 'react';
import { Wheel } from 'voltyjs';

function App() {
  return (
    <div className="w-full h-screen overflow-hidden relative">
      <Wheel width={"140px"} height={"270px"} />
    </div>
  );
}

export default App;
  1. For images pass the array of images which you want to show.

Canvas Effects

These are effects are implemented with the help of GSAP and CANVAS to offer a unique experience with single function.

Draw Canvas Effect

The feature creates canvas effect, creating an engaging user experience.

import React from 'react';
import { DrawCanvas } from 'voltyjs';

function App() {
  return (
    <div className="flex flex-col w-full h-screen items-center justify-center">
      <div className="absolute w-4/5 leading-tight flex flex-col text-6xl uppercase items-start">
        <p>Experience Volty</p>
        <p className="self-end">with cool sparks</p>
        <p>Npm Package</p>
        <p className="self-end">Discover the features</p>
      </div>
      <DrawCanvas />
   </div>
  );
}

export default App;

3D Effects with React

These are effects are implemented with the help of react-three/fiber, react-three/drei and three.js to offer a unique experience with single function.

3D Box Geometry with R3F

The feature creates 3D Box Geometry Effect with React Three Fiber, creating an engaging user experience.

import React from 'react';
import { BoxThreeD } from 'voltyjs';

function App() {
  return (
    <div className="w-full h-screen bg-slate-300 relative overflow-hidden">
      <BoxThreeD boxColor="white" />
   </div>
  );
}

export default App;
  1. For show pass the array of images with fixed length 6 which you want to show.

3D Glass Effect with R3F TorusGeometry

The feature creates 3D Box Geometry Effect with React Three Fiber, creating an engaging user experience.

import React from 'react';
import { GlassEffect } from 'voltyjs';

function App() {
  return (
    <div className="w-full h-screen bg-slate-300 relative overflow-hidden">
      <GlassEffect text="hello voltyjs" size={1.4} />
   </div>
  );
}

export default App;
  1. For show pass the array of images with fixed length 6 which you want to show.

Page Trasitions

The feature creates smooth page trasitions effect, creating an engaging user experience.

import React from 'react';
import { PageTransition } from 'voltyjs';
import { BrowserRouter as Router, Routes, Route, Link } from 'react-router-dom';
// import your components

function App() {
  return (
    <Router>
      {/* write your link like <Link to="/">Volty</Link> */}
      <PageTransition transitionStyle={3} color="black">
        <Routes>
          { /* <Route path="/" element={ <Home /> } /> */}
        </Routes>
      </PageTransition>
    </Router>
  );
}

export default App;
  1. gridLength is just related style 1 page transition.

License

Voltyjs is released under the MIT License. Feel free to use it in both personal and commercial projects.

Note

This package is still in development, so there may be issues. Please help us by submitting any problems to my GitHub profile. @AkshayDhola