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

loader-pack

v2.0.1

Published

Beautiful animated intro/loader screens for React — 5 variants (classic, terminal, minimal, spotlight, glitch) with dark/light themes, sound effects, and tree-shakeable imports

Downloads

46

Readme

loader-pack

Drop-in animated intro screens for React. One line of code, five gorgeous styles.

npm license bundle size

npm install loader-pack

What does it do?

Wraps your app in a full-screen animated intro. The user sees a beautiful loading screen, taps to enter, and your content smoothly fades in. That's it — no config needed.

import { LoaderPack } from "loader-pack";
import "loader-pack/styles";

export default function App() {
  return (
    <LoaderPack name="Your Name">
      <YourApp />
    </LoaderPack>
  );
}

Three lines. Done.


Pick a style

| Variant | Vibe | |---------|------| | classic | Scrolling multilingual marquee, animated name, date & time | | terminal | Fake CLI boot sequence with macOS-style window | | minimal | Clean fade-in — just name + enter button | | spotlight | Dramatic light beam sweeping from the corner | | glitch | Neon text with RGB split, scanlines & a sleeping pixel cat |

Just pass the variant prop:

<LoaderPack variant="glitch" name="Your Name">
  <YourApp />
</LoaderPack>

All props

| Prop | Type | Default | What it does | |------|------|---------|--------------| | name | string | — | Required. The name shown on screen | | children | ReactNode | — | Required. Your app (shown after intro) | | variant | "classic" "terminal" "minimal" "spotlight" "glitch" | "classic" | Loader style | | theme | "dark" "light" | "dark" | Color scheme | | sound | boolean | false | Ambient + click sounds | | ambientSoundSrc | string | built-in | Your own ambient audio file | | clickSoundSrc | string | built-in | Your own click audio file | | marqueeText | string | built-in | Custom scrolling text (classic only) |


Want a smaller bundle?

Import just the variant you need — unused ones get tree-shaken out:

import { GlitchLoader } from "loader-pack";
import "loader-pack/styles";

<GlitchLoader name="Your Name" theme="dark">
  <YourApp />
</GlitchLoader>

Available: ClassicLoader · TerminalLoader · MinimalLoader · SpotlightLoader · GlitchLoader


More examples

Light theme:

<LoaderPack variant="spotlight" name="Jane" theme="light">
  <App />
</LoaderPack>

With sound:

<LoaderPack variant="classic" name="Jane" sound>
  <App />
</LoaderPack>

Custom marquee (classic):

<LoaderPack variant="classic" name="Jane" marqueeText="React • Next.js • TypeScript •">
  <App />
</LoaderPack>

Custom audio:

<LoaderPack variant="minimal" name="Jane" sound ambientSoundSrc="/my-bg.wav" clickSoundSrc="/my-click.wav">
  <App />
</LoaderPack>

TypeScript

Fully typed. Import what you need:

import type { LoaderPackProps, LoaderProps, LoaderVariant } from "loader-pack";

How it works

  1. Loader renders full-screen
  2. Intro animation plays
  3. User taps the start action (button, cat, etc.)
  4. Smooth fade-out → your app appears

Your children don't mount until the user clicks — so nothing runs before the intro finishes.


Requirements

  • React 18+
  • Modern browsers (Chrome, Firefox, Safari, Edge)
  • Zero runtime dependencies

License

MIT