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

tactileglass-css

v0.1.0

Published

A premium hybrid CSS framework uniting glassmorphism and tactile neumorphism.

Readme

TactileGlass

A utility-first and component-based CSS framework that unites neumorphism, glassmorphism, and a hybrid of both.

Every control ships in three materials. Bootstrap-style modifiers (btn-sm, btn-primary) and Tailwind-style utilities (d-flex, p-4, theme-dark) stack on top.

Install

npm install tactileglass-css

Bundler:

import 'tactileglass-css/dist/tactileglass.min.css';

HTML:

<link rel="stylesheet" href="node_modules/tactileglass-css/dist/tactileglass.css">

Sass entry if you compile it yourself:

@use 'tactileglass-css/src/scss/tactileglass.scss';

Class language

Three layers, in this order of meaning:

| Layer | Examples | Role | | --- | --- | --- | | Component + material | neu-btn, glass-card, hybrid-input | Material first, then the control | | Modifiers | btn-sm, btn-primary, card-interactive, nav-sticky | Same names on every material | | Utilities | morph-glass, rounded-squircle, p-4, theme-dark | Layout, shape, surface, theme |

<button class="neu-btn btn-primary btn-lg">Save</button>

<section class="glass-card card-sm">…</section>

<div class="morph-hybrid rounded-squircle p-6">Custom panel</div>

Pick one material per node. Do not mix neu-btn with glass-btn on the same element.

Materials

  • neu — raised or sunken clay. Use for high-frequency controls that should feel physical.
  • glass — frosted acrylic. Color modifiers become translucent lenses, not solid fills.
  • hybrid — glass fill sitting inside a tactile shadow. The signature TactileGlass look.

morph-neu, morph-glass, and morph-hybrid paint those surfaces onto any element without turning it into a component.

Dark mode

Add theme-dark to <html> (or any subtree) to invert canvas, ink, glass, and neu shadows. theme-light forces a light island inside a dark page. data-theme="dark" / data-theme="light" work the same way.

<html class="theme-dark">
  …
</html>

<section class="theme-dark p-6 rounded-lg">Dark island</section>

The docs site toggle is a theme-toggle button. Persist the choice on document.documentElement.

Overrides

TactileGlass is token-driven. Recolor an app by reassigning CSS variables after the stylesheet loads — no Sass fork required.

:root {
  --clr-primary: #c084fc;
  --clr-primary-rgb: 192, 132, 252;
  --clr-bg: #c8c2d4;
  --radius-md: 12px;
}

Keep the matching *-rgb channel in sync when you change a color. Semantic tints use rgba(var(--clr-primary-rgb), 0.15).

A wrapper class scopes the same tokens to a module:

.demo-aurora {
  --clr-primary: #c084fc;
  --clr-primary-rgb: 192, 132, 252;
}

Useful tokens: --clr-primary, --clr-dark, --clr-bg, --glass-bg, --hybrid-bg, --neu-shadow-drop, --neu-shadow-inset, --radius-md, --font-sans. Full list: src/scss/base/_tokens.scss.

Layout

container is a centered shell that grows with the viewport (540 / 720 / 960 / 1140 / 1320). Start later with container-sm through container-xxl. container-fluid stays full width with the same gutters.

Flex and grid are utilities: d-flex, f-col, gap-3, grid-3, col-span-2.

Docs site

Local catalog and guides live in src/docs:

| Page | What it is | | --- | --- | | index.html | Dashboard — install, class language, materials | | components.html | Component catalog, including containers | | docs.html | Open-source documentation | | overrides.html | Live token and theme override examples |

npm install
npm run dev

dev compiles Sass, watches it, and serves the docs at http://127.0.0.1:8080 with /dist mounted.

Scripts

| Script | Purpose | | --- | --- | | npm run sass:build | Compile dist/tactileglass.css | | npm run sass:watch | Rebuild on Sass changes | | npm run serve | Docs server | | npm run build | Compile + minify | | npm run dev | Watch + serve |

dist/ is gitignored. Run sass:build (or dev) after a clone. The published npm package includes dist and src/scss.

Source layout

src/scss/
├── tactileglass.scss      # entry
├── base/                  # tokens, reset, mixins, typography
├── layouts/               # flexbox, grid
├── components/            # buttons, cards, inputs, navbar, …
└── utilities/             # morph, theme, spacing, colors, borders

Keep class names unambiguous: material first, then the control, then modifiers, then utilities.

License

MIT © 2026 Kenneth Lamb