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

neumorphiccardwc

v4.0.1

Published

A neumorphic card Web Component

Readme

Neumorphic Card Web Component

A beautifully designed Neumorphic Card web component that can be easily added to your projects. It features neumorphism-inspired design elements, smooth gradients, and interactive effects, making it a perfect addition to any modern web app.

Features

  • Neumorphism Design: Soft shadows and smooth curves to give a modern and trendy look.
  • Customizable: Easily customizable via attributes for size, colors, badges, and more.
  • Interactive: Buttons with gradient effects and hover animations.
  • Compact and Elegant: The card is small yet packed with stylish features.

Installation

You can install the Neumorphic Card Web Component via npm:

npm install neumorphic-card-web-component

Usage

To use this component in your project, follow these steps:

  1. Import the component's JavaScript file:
<script type="module" src="node_modules/neumorphic-card-web-component/neumorphic-card.js"></script>
  1. Use the Web Component in your HTML:
<neumorphic-card 
    width="350px" 
    height="250px" 
    background="#f4f4f9" 
    button-text="Read More" 
    button-color-start="grey" 
    button-color-end="lightgrey" 
    badge-count="7" 
    expanded="false">
    <span slot="title">Stylish Neumorphic Card</span>
    <span slot="description">This card offers a complete neumorphic design with smooth shadows, gradients, and button effects.</span>
</neumorphic-card>

Component Attributes

You can customize the Neumorphic Card by passing the following attributes:

  • width: Set the width of the card (e.g., 300px, 100%).
  • height: Set the height of the card (e.g., 200px).
  • background: The background color of the card (e.g., #f4f4f9).
  • button-text: The text displayed on the button (e.g., Read More).
  • button-color-start: The starting color of the gradient button (e.g., grey).
  • button-color-end: The ending color of the gradient button (e.g., lightgrey).
  • badge-count: The number shown on the badge (e.g., 7).
  • expanded: Boolean (either true or false). If true, the card content will be expanded.

### Attributes Breakdown

| Attribute            | Description                                                    | Default Value |
|----------------------|----------------------------------------------------------------|---------------|
| `width`              | Width of the card (in px or %).                                | `300px`       |
| `height`             | Height of the card (in px).                                   | `200px`       |
| `background`         | Background color of the card.                                 | `#f4f4f9`     |
| `button-text`        | Text to be displayed inside the button.                        | `Read More`   |
| `button-color-start` | Starting gradient color for the button.                        | `grey`     |
| `button-color-end`   | Ending gradient color for the button.                          | `lightgrey`     |
| `badge-count`        | Number to be displayed in the badge.                           | `0`           |
| `expanded`           | Boolean attribute to control the expanded state of the card.   | `false`       |