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

@ueep/smart-loading

v1.0.9

Published

This is an awesome package to make your dream project more attractive and interactive. You can use various animated Icons and random Quotes to as an interactive loader to make your website really smart.

Downloads

9

Readme

NPM version NPM downloads

See Live Demo:

https://gxxbmv.csb.app/

Playground

https://codesandbox.io/s/ueep-smart-loader-gxxbmv

Description

This is an awesome package to make your dream project more attractive and interactive. You can use various animated Icons and random Quotes to as an interactive loader to make your website really smart. It's always nice to have flexibilities and options that's why we try our best to give you that. You can use this loader as you want, you can use the icon only and for that you don't need to pass the quote property. it will make the background transparent if you don't pass the background property. if you set quote property as only an empty object then it will show some awesome, nice quote randomly.

Install

npm i @ueep/smart-loading

Usage

@ueep/smart-loading is an awesome package to make your dream project more attractive and interactive. You can use various animated Icons and random Quotes to as an interactive loader to make your website really smart.

import {UeepLoader} from '@ueep/smart-loading';

function App() {
  const [loading, setLoading] = React.useState(true);
  return (
    ........
      {loading && <UeepLoader
        icon={'loading'}
        background={'white'}
        quote={{
          // you can also pass your own quote or text here as a parameter named "text"
          // you can also pass author here as a parameter named "author"
          font: 'cursive', // use any font-family
          quotation: true // this option is to show the quotation signs
        }}
      />}
    .......
  );
}

export default App;

N.B: You can use a lot more options to customize the Loader as you want, please see the available options below.

Available options

It's always nice to have flexibilities and options that's why we try our best to give you that. You can use this loader as you want, you can use the icon only and for that you don't need to pass the quote property. it will make the background transparent if you don't pass the background property. if you set quote property as only an empty object {} then it will show some awesome, nice quote randomly.

| Props | Type | Default | Details | |----------------|-------------------------|-------------------------|------------------------------------------------------------------------------------------------------------| | icon | String or JSON URL | paperPlane | This is the name of the icon, you will get all the names below. You can also pass the Lottie file JSON URL | | quote | Object | {quotation: true} | | | background | String | #FFFFFF | | | width | String (px, % anything) | 30% | | | height | String (px, % anything) | auto | | | borderRadius | String (px, % anything) | 20px | | | iconWidth | Number | 100 | | | iconHeight | Number | 100 | | | className | String | | | | position | String | center | | | overlayColor | String | #000000 | | | overlayOpacity | String | 0.45 | |

Positions

You can always set the position of the loader on the screen by passing the position property though it is center by default if you don't pass. Below you can see some positional values.

  • top-left
  • bottom-left
  • top-right
  • bottom-right
  • center (default)

Available icons

  • random (to show an icon randomly)
  • blueCircle
  • bouncingBall
  • circleSpinner
  • dancingPig
  • circleToShape
  • fourDot
  • fourBox
  • loading
  • loadingSpinner
  • nature
  • owl
  • paperPlane (default)
  • threeDot
  • waterDrop
  • thinking

Screenshots

| License | | |---------|-----------------------------------------------------------| | MIT | © UEEP Inc |