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

masked-components-cli

v1.7.0

Published

A modern, type-safe and flexible component system for **Next.js + React**, designed to boost developer experience and speed up UI creation using a simple **CLI installer**.

Readme

✨ Masked Components CLI

A modern, type-safe and flexible component system for Next.js + React, designed to boost developer experience and speed up UI creation using a simple CLI installer.

Masked Components provides polymorphic, theme-ready, and highly customizable UI components with first-class TypeScript support.


🚀 Live Demo

👉 Website: https://masked-components.vercel.app/ 👉 CLI Install Command:

npx masked-components

📦 What is Masked Components?

Masked Components is a UI component library combined with a CLI that allows you to install and scaffold pre-configured components directly into your project.

It focuses on:

  • Developer Experience (DX)
  • Clean and scalable architecture
  • Modern UI patterns
  • Performance and tree-shaking

🧱 Tech Stack

  • Next.js – Optimized routing, SSR and App Router ready
  • React – Component-based architecture
  • TypeScript – Strong typing and intelligent autocomplete
  • Styled Components – Theme-driven and dynamic styling
  • React Icons – Flexible icon support
  • IMask – Advanced input masking
  • CLI (Node.js) – Simple and fast installation

⚡ Installation

Install Masked Components in seconds using the CLI:

npx masked-components

This command will:

  • Create a new Next.js project
  • Configure TypeScript
  • Install dependencies
  • Add Masked Components structure

🧩 Components Overview

🔘 MaskedButton

Highly customizable buttons with multiple variants, states, sizes, shapes, icons, and behaviors.

Variants

  • default
  • outline
  • ghost
  • gradient
  • neon
  • link
  • toggle

States

  • default
  • loading
  • disabled
  • error
  • active

Features

  • Left & right icons
  • Loading spinner
  • Tooltip label
  • Full width support
  • Polymorphic (button or a)
  • Toggle mode

Basic Example

<MaskedButton variant="default" size="sm" leftIcon={<FaCode />}>
  Default Button
</MaskedButton>

⌨️ MaskedInput

Powerful input system with intelligent masks and real-time formatting.

Input Variants

  • default
  • textarea
  • masked
  • password
  • select
  • file
  • search
  • currency

Features

  • Automatic masking
  • Controlled & uncontrolled support
  • Icons
  • Validation-ready
  • Cloudinary file upload support
  • Currency formatting

Example

<MInput
  variant="masked"
  label="Phone"
  mask="(00) 0000-0000"
  placeholder="Phone number"
  value={value}
  onChange={setValue}
/>

✨ Key Features

  • ✅ TypeScript Native
  • ✅ Polymorphic Components
  • ✅ Responsive by default
  • ✅ Tree-shaking support
  • ✅ Zero unnecessary dependencies
  • ✅ Theme-ready styles
  • ✅ Modern animations
  • ✅ Accessibility-friendly
  • ✅ Optimized performance

🧪 Playground

The website provides a full interactive playground where you can:

  • Test all button variants
  • Change states dynamically
  • Try input masks in real time
  • Preview sizes, shapes and icons

🛣️ Roadmap

  • 🃏 Masked Cards (Coming Soon)
  • 🎞️ Masked Animations (Coming Soon)
  • 📚 Extended documentation
  • 🧩 More components

👤 Author

Created with 💙 by Renato Minoita

  • 💼 LinkedIn: https://www.linkedin.com/in/renato-minoita/
  • 🧑‍💻 GitHub: https://github.com/RNT13

📄 License

MIT License © 2026