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

ngxsmk-skeleton-loader

v1.1.1

Published

Angular skeleton loader for Angular 22 and Ionic apps with standalone, NgModule, SSR, shimmer, pulse, wave, and advanced custom gradients, speed, delay, direction, and visibility controls

Readme

ngxsmk-skeleton-loader: Angular Skeleton Loader for Angular and Ionic

Fast, themeable Angular skeleton loader for Angular 22 and Ionic Angular apps. Use standalone components, NgModule imports, SSR-friendly rendering, shimmer placeholders, pulse placeholders, wave placeholders, and responsive loading states with a small API.

npm version downloads angular version license

Preview

Shimmer Animations Preview Layout Mockups Preview

Angular Skeleton Loader Features

  • Standalone Angular component and structural directive
  • NgModule export for module-based apps and many Ionic page/module setups
  • SSR and prerender friendly: no direct browser DOM creation
  • Ionic-aware color fallbacks through --ion-color-step-*
  • Themeable with CSS custom properties
  • Motion-safe animations with prefers-reduced-motion
  • Tiny API for text, rect, circle, avatar, button, and image skeleton presets

Install Angular Skeleton Loader

npm install ngxsmk-skeleton-loader

This release is built for Angular 22. For older Angular majors, publish or maintain matching package majors built with the same Angular major.

Standalone Angular Usage

import {Component} from '@angular/core';
import {NgxSmkSkeletonComponent, NgxSmkSkeletonDirective} from 'ngxsmk-skeleton-loader';

@Component({
  standalone: true,
  imports: [NgxSmkSkeletonComponent, NgxSmkSkeletonDirective],
  templateUrl: './profile.html',
})
export class ProfileComponent {
  loading = true;
}
<ngxsmk-skeleton type="text" width="80%"></ngxsmk-skeleton>
<ngxsmk-skeleton type="circle" size="56"></ngxsmk-skeleton>
<ngxsmk-skeleton type="rect" width="100%" [height]="180"></ngxsmk-skeleton>

<ng-container *ngxsmkSkeleton="loading; type: 'text'; width: '70%'">
  <p>Loaded content appears here</p>
</ng-container>

Angular NgModule and Ionic Usage

import {NgModule} from '@angular/core';
import {IonicModule} from '@ionic/angular';
import {NgxSmkSkeletonModule} from 'ngxsmk-skeleton-loader';

@NgModule({
  imports: [IonicModule, NgxSmkSkeletonModule],
})
export class ProfilePageModule {}

Inputs

| Input | Type | Default | Description | | --- | --- | --- | --- | | type | 'text' \| 'rect' \| 'circle' \| 'avatar' \| 'button' \| 'image' | text | Shape preset | | width | string \| number | 100% | Width; numbers become px | | height | string \| number | preset | Height; numbers become px | | size | string \| number | unset | Shortcut for equal width and height | | radius | string \| number | preset | Border radius | | animate | 'shimmer' \| 'pulse' \| 'wave' \| 'none' | shimmer | Animation style | | tint | string | unset | Base color override | | visible | boolean | false | Shows projected content if true, hides placeholder | | shimmerColors | string[] | unset | Custom gradient colors for shimmer/wave | | locations | number[] | unset | Custom stops (0 to 1) for shimmer colors | | duration | number | unset | Animation duration in milliseconds | | delay | number | unset | Animation delay in milliseconds | | reverse | boolean | false | Reverses animation direction | | stopAnimation | boolean | false | Pauses/freezes running animation |

Skeleton Loader Theming

Override CSS variables globally, per page, or per skeleton:

ngxsmk-skeleton {
  --ngx-skel-base: #e5e7eb;
  --ngx-skel-highlight: #ffffffb3;
}

In Ionic apps, the component falls back to Ionic color-step variables:

ion-content {
  --ngx-skel-base: var(--ion-color-step-200);
  --ngx-skel-highlight: var(--ion-color-step-50);
}

Development

npm run build -- ngxsmk-skeleton-loader
ng test ngxsmk-skeleton-loader --watch=false --browsers=ChromeHeadless

Publish

npm run build -- ngxsmk-skeleton-loader
cd dist/ngxsmk-skeleton-loader
npm publish --access public

Author

Developed and maintained by Sachin Dilshan.

License

MIT