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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@gravitguru/animations

v2.0.1

Published

GravitGuru Animations - Animation library with Vite

Downloads

10

Readme

@gravitguru/animations

Elevate your web projects with the @gravitguru/animations package – a collection of dynamic and eye-catching animations for your React applications. Effortlessly enhance your user interface with these versatile and stylish motion designs.

Installation

Integrate @gravitguru/animations into your React, Vite + React, or Node.js-based project with just a few simple steps:

> yarn add @gravitguru/animations
# or
> npm install @gravitguru/animations --save

after install stop the server 
---------------------------

> ctrl + c
> y (enter)

again start the server 
---------------------------
> npm run dev
#or
> npm start 

Example Usage: css class example

import React from 'react';
import '@gravitguru/animations'; // Include in your main file

function YourComponent() {
  return (
    <div>
      <div className="slideInDown">Slide In Down Animation</div>
      <div className="fadeIn">Fade In Animation</div>
      <!-- Add more animations as needed -->
    </div>
  );
}

Animations : The @gravitguru/animations package offers a variety of animations, providing dynamic and engaging options to suit your project.

Example Usage: css class example

.slideInDown {
  -webkit-animation-name: slideInDown;
  animation-name: slideInDown;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  }
  @-webkit-keyframes slideInDown {
  0% {
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  visibility: visible;
  }
  100% {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  }
  }
  @keyframes slideInDown {
  0% {
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  visibility: visible;
  }
  100% {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  }
  }

Usage Guidelines

Customize the animation style by changing the class or className and adjusting attributes. Explore our documentation to find animation names and properties. For different animation styles, modify the class name based on available options.

Configuration

import '@gravitguru/animations'

(or)

import { AnimationContext } from "@gravitguru/animations";
<AnimationContext.Provider value={{ duration: 1000, className: "custom-animation" }}>
  <div className="slideInUp">Custom Slide In Up Animation</div>
</AnimationContext.Provider>;

License

-This project is licensed under the MIT License.

Note: Animation styles are sourced from various projects, so please check each project's licenses accordingly.

For the npm and git links, you can use the same links as in the @gravitguru/icons package.

Thank you 👋