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

indreka-loader

v1.0.0

Published

Loaders serve as visual indicators that indicates that the application is in the process of loading. They are utilized during activities such as loading content or executing other processes that require the user's to wait on.

Downloads

2

Readme

Introduction

Loaders serve as visual indicators that indicates that the application is in the process of loading. They are utilized during activities such as loading content or executing other processes that require the user's to wait on.

Anatomy

The loader component is composed of the following elements:

  1. Progress: Indicates the status of the loading process at any given moment.
  2. Path/background/inactive: Serves as the static or unanimated component of the spinner.

Usage

To use the loader component, follow these steps:

  1. Choose the appropriate size according to your usage.
  2. Ensure that the loader component is appropriately defined and accessible within your design assets.

Differences from Other Types

The Spinner-loader component is different from other common types of loaders, such as progress bars, Text loading, and clock spinners. Here are some differences:

  1. Progress Bars: Linear indicators that fill or move horizontally to represent the progress of a task. Progress bars are commonly used for tasks with a known duration.
  2. Text Spinners: Incorporate animated text elements to communicate loading or processing information. This can include phrases like "Loading..." or "Please wait."
  3. Clock Spinners: Animations that mimic the movement of clock hands, suggesting a countdown or passage of time.

Loader Color

| Color | Hex code | | --------- | -------- | | Neutral-4 | #F4F4F4 |

Loader Sizes

The table below provides the size specifications: | Size | Dimensions | | ------------- | ---------- | | Mobile | 40 x 40 px | | Tablet | 60 x 60 px | | Web/Desktop | 80 x 80 px |

Loader States

The Checkbox Button component has several states, depending on the user's interaction with it | Color | Description | | -------- | ---------------------------------------------------------------------- | | Default | Indicates currently in progress |

indreka-loader component

The <indreka-loader></indreka-loader> component having the following property:

  1. fullscreen having type of boolean.
  2. message having type of string.

use

<indreka-loader></indreka-loader>

We can pass attributes inside like:

  1. fullscreen <indreka-loader fullscreen></indreka-loader>

-- This is a toggle, if set it will show a loader with a backdrop, which will focus on the loader and the content on page will be inaccessable. If not set, we can use the loader as a simple loader which can be integrated with other components. Its size can also be adjusted by wrapping around in a div tag and specifying a specific size.

  1. message
    <indreka-loader message=""></indreka-loader>

-- This property will only work when fullscreen attribute is set, it will show a message below the loader. It is set to Loading... by default. User can keep the string empty if text below loader is not required.