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

tactile-glass-ui

v0.1.1

Published

Real-time WebGL2 optical glass components for React — physical Snell refraction, concentric SDF bevel normals, RGB chromatic dispersion, procedural FBM liquid caustics, and interactive pointer shockwaves.

Readme

Tactile Glass UI

Real-time WebGL2 optical glass components for React — physical Snell refraction, concentric SDF bevel normals, RGB chromatic dispersion, procedural FBM liquid caustics, and interactive pointer shockwaves.

All components on a page share a single offscreen WebGL2 rendering context (SharedCausticEngine) with true premultiplied alpha transparency, native backdrop-filter frost blur over any DOM background (grids, gradients, images), automatic parent WebGL canvas compositing when nested inside <TactileBackground>, and automatic idle pausing when offscreen or when the browser tab is inactive.


Installation

npm install tactile-glass-ui@latest

Design system CSS tokens and structural rules are injected automatically when importing from 'tactile-glass-ui'.


Components

| Component | Geometry & Dimensions | Description | | :--- | :--- | :--- | | <TactileButton> | 56px capsule (shape="pill") or 56×56px circle (shape="circle") | Primary call-to-action buttons and circular icon triggers. | | <TactileSwitch> | 104×56px capsule with 48px conformal thumb | Binary state toggles with independent ON and OFF refractive profiles. | | <TactileTabs> | 56px capsule bar with 48px sliding indicator | Segmented view switchers with keyboard arrow navigation. | | <TactilePromptInput> | Up to 580px wide, 24px radius, auto-expanding multiline | AI chat and agent prompt composers with context trigger, mode pill, and submit action. | | <TactileHeading> / <TactileGlassWord> | Fluid display typography (edt2d sub-pixel SDF glyph domes) | Hero h1 headlines where a focal keyword is rendered as frameless 3D liquid glass. | | <TactileCreditCard> | 444px wide (ISO/IEC 7810 ID-1 ratio ~1.586), 24px radius | Interactive 3D perspective payment, membership, or tier cards with raycast tilt. | | <TactileAudioPlayer> | 480×304px deck, 32px radius, molded transport domes | Spatial audio player deck with 70-band live spectrum and scrubbable timeline. | | <TactileBackground> | Full-width section panel (min-height: 360px, 16px radius) | Hero section and feature block glass backdrop panels with perimeter bevel refraction and caustic aura. | | <TactileGlassFx> | Adapts to host DOM element size and border-radius | Universal wrapper that applies physical glass optics to any custom React element. |


Quick Start

import {
  TactileButton,
  TactileSwitch,
  TactileTabs,
  TactilePromptInput,
  TactileHeading,
  TactileCreditCard,
  TactileAudioPlayer,
  TactileBackground,
  TactileGlassFx,
} from "tactile-glass-ui";

export function Example() {
  return (
    <TactileBackground>
      <TactileHeading
        title="Engineered for Tactile Precision"
        highlight="Tactile"
      />
      <TactileButton onClick={() => {}}>
        Explore Components
      </TactileButton>
    </TactileBackground>
  );
}

AI Agent Integration (SKILL.md)

This repository includes SKILL.md — a structured integration specification for AI coding agents (Claude Code, Cursor, Windsurf, Google Antigravity) covering surface audit rules, optical restraint guidelines, component recipes, and all 18 physical shader props.


License

MIT © uixNinja