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

@hologramism/react-native

v1.0.1

Published

Motion-reactive security-hologram (DOVID/Kinegram) view for React Native (iOS + Android): color-shifting foil that tilts with the device, GPU-rendered with Rust + wgpu.

Readme

@hologramism/react-native

A motion-reactive security-hologram (DOVID / Kinegram) view for React Native: color-shifting foil that tilts with the device, GPU-rendered with Rust + wgpu. Supports shapes, PNG/SVG sources, multi-layer kinegram flip, and transparent overlay, on both iOS and Android.

Same scene schema as @hologramism/browser: HologramView props match HologramCanvas props one-for-one.

Live web demo: the same engine and scene schema, running in the browser. Tilt or drag to see the foil shift.

Install

npm install @hologramism/react-native

This package (autolinked) is the thin native bridge; the GPU engine ships separately per platform.

iOS

The engine ships as the prebuilt HologramismKit pod, hosted on GitHub Releases. Add one line to your ios/Podfile pointing at the matching release, so CocoaPods resolves the bridge's HologramismKit dependency:

pod 'HologramismKit', :podspec =>
  'https://github.com/alexdonh/hologramism/releases/download/v1.0.0/HologramismKit.podspec'
cd ios && pod install

Use the release tag that matches your installed package version.

Android

The engine ships as the io.github.alexdonh:hologramism AAR on Maven Central. Make sure mavenCentral() is in your app's repositories; no credentials needed.

minSdk 24. The bridge autolinks, so there's no other setup.

Usage

import { HologramView, Preset, Layout } from '@hologramism/react-native';

// Simple: a gold guilloché card, transparent so it overlays anything.
<HologramView style={{ width: 300, height: 190 }} preset="guilloche" color="gold" />

// Image as artwork, or as a preset-filled silhouette (the mask gets a beveled rim).
<HologramView shape={{ type: 'png', uri, mode: 'image' }} />
<HologramView shape={{ type: 'png', uri, mode: 'mask' }} preset="dotMatrix" />

// Benton "3D rainbow": a spectral gradient that slides across any shape on tilt.
<HologramView shape="circle" preset="rainbow" />

// Layout: tile the shape into a grid (one rainbow sweeps the whole grid), or
// place a single shape off-center. `size`/`gap` are fractions of the view.
<HologramView shape="circle" preset="rainbow" layout={Layout.tile({ size: 0.22, gap: 0.03 })} />
<HologramView shape="star" layout={Layout.single({ size: 0.4, position: [0.2, 0.8] })} />

// Kinegram: cross-fades gold to sapphire as you tilt.
<HologramView
  layers={[
    { preset: Preset.linear({ angle: 0 }), color: 'gold', azimuth: 0 },
    { preset: 'rosette', color: 'sapphire', azimuth: 90 },
  ]}
  tilt={{ motion: true, gesture: true, autoOrbit: true }}
/>

Props

| Prop | Type | Notes | | --- | --- | --- | | shape | 'rect' \| 'circle' \| 'ellipse' or { type, ... } | polygon (normalized points), png/svg (uri | base64 | svg, mode: 'image' \| 'mask') | | preset | 'linear' \| ... or { type, angle?, freq? } | Preset.*(...) helpers return the config object | | color | 'spectrum' \| 'gold' \| ... or RGBA[] | a bare [r,g,b,a] list is a custom palette | | layout | 'single' \| 'tile' or { type, ... } | Layout.single({ size?, position? }) places one shape; Layout.tile({ size?, gap?, fit? }) repeats it as a grid. size/gap are fractions of the view; fit: 'cover' \| 'fill'. Pattern + color stay global | | layers | Layer \| Layer[] | each layer takes shape/preset/color/azimuth (deg)/layout; array = multiplex | | background | string (hex) or RGBA | transparent by default; set a hex string or [r,g,b,a] to make it opaque | | tilt | { motion?, gesture?, autoOrbit? } | orientation sources (all default true) | | glare | number | strength of the motion-driven light reflection; 0 disables | | sparkle | true \| false \| { density?, intensity? } | glint control, global; true/false enable/disable with defaults, an object overrides density (count) / intensity (brightness) | | intensity | number | blend between flat artwork and full holographic shimmer (0 to 1) | | grating | number | diffraction line density; higher = finer color bands | | iridescence | number | thin-film color-shift strength | | sharpness | number | specular / glare hotspot tightness (higher = tighter) |

Angles and azimuths are in degrees. Presets: linear, radial, concentric, guilloche, dotMatrix, rosette, lattice, rainbow. Foils: gold, silver, rainbowFoil, emerald, sapphire, copper.

License

MIT. See the repository.