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

@inneranimalmedia/theme-scenes

v2.6.12

Published

Reusable scene / shell / block vocabulary for branded website experiences. BrandPack owns look; theme-scenes owns composition.

Downloads

596

Readme

@inneranimalmedia/theme-scenes

Reusable scene / shell / block vocabulary for branded website experiences.

| Layer | Owns | | --- | --- | | @inneranimalmedia/agentsam-brand | BrandPack — assets, tokens, roles, delivery | | @inneranimalmedia/theme-scenes | How brands compose into experiences | | Page content | What this page says/shows | | Demo adapters | Real product surfaces inside scenes |

Scenes never hardcode CDN URLs, nav hrefs, or product copy. They consume SECTION_CONTENT, route refs, and asset roles.

Install

Workspace package (private for now):

import {
  createWorkPreset,
  compilePage,
  createCopyBlock,
  createActionBlock,
  composeCardCollection,
} from '@inneranimalmedia/theme-scenes';

Hierarchy

PAGE_CONTENT
  └── SECTION_CONTENT[]   → scene kind + theme + scroll + motion
        └── SECTION_GROUP[]
              └── CONTENT_BLOCK[]   copy | media | action | cards | demo | …

Scene kinds (harvested from Work/Create HTML)

| Former HTML piece | Scene / shell | | --- | --- | | Sticky glass headers | shell.adaptive-header | | Dark / light globe heroes | hero.scroll-product / hero.editorial + visual.orbital-field | | Light→dark gradient | bridge.theme | | Brand storyboard lanes | gallery.storyboard | | Icon marquee | gallery.rail (loop is one behavior) | | Service bento | capability.grid | | MeauxIDE mock | product.demo + agentsam-mini-composer | | MeauxSQL card | product.demo + database-editor | | Staggered tools | product.stack | | Chess / 3D stage | interactive.stage | | Footers | shell.site-footer |

See SCENE_ORIGIN in src/scenes/index.js.

Laws

  1. No raw colors in scene contracts — use theme tokens / CSS vars.
  2. No hardcoded internal URLs — use { type: 'route', ref: '…' }.
  3. No direct CDN URLs — use { assetRole: '…' } + BrandPack resolver.
  4. No product copy inside generic scenes — inject via groups/blocks.
  5. No required card counts — empty collections disappear; adaptive layout.
  6. Major media slots support image / video / model / demo.
  7. Animated scenes declare reduced-motion behavior.
  8. Scenes declare theme intent (surface, headerTone, …).
  9. Product marketing uses real DemoAdapters, not fake UIs.
  10. Motion must communicate something (story/scrub), not decorate forever.

Quick example

import {
  createWorkPreset,
  createCopyBlock,
  createActionBlock,
  createDemoBlock,
  composeCardCollection,
  compilePage,
} from '@inneranimalmedia/theme-scenes';

const page = createWorkPreset({
  theme: 'inneranimal',
  heroGroups: [{
    blocks: [
      createCopyBlock({
        variant: 'display',
        eyebrow: 'Selected Work',
        title: 'Interface clarity.\nSystem discipline.',
        body: 'Digital products with refined UI and production-grade foundations.',
      }),
      createActionBlock({
        label: 'View the system',
        target: { type: 'route', ref: 'product.agentsam' },
      }),
    ],
  }],
  agentsamGroups: [{
    blocks: [
      createCopyBlock({ title: 'AgentSam', body: 'Unified workspace shell.' }),
      createDemoBlock('agentsam-mini-composer'),
    ],
  }],
  productGroups: [{
    blocks: [
      composeCardCollection([
        { title: 'Database', body: '…', target: { type: 'route', ref: 'product.database' } },
        { title: 'Cloud', body: '…', target: { type: 'route', ref: 'product.cloud' } },
      ]),
    ],
  }],
});

const plan = compilePage(page);
// plan.sections[].demoHost, plan.cssVars, plan.validation

Presets

  • agency-home — institutional flagship narrative
  • work — Work page (dark or canvas hero via heroTone)
  • product — single product landing
  • services — capability grid
  • brand-story — Create/guideline storyboard
import { createPreset, listPresets } from '@inneranimalmedia/theme-scenes';

Themes

foundation → inneranimal → agentsam / autodidact

Semantic tokens only (color.surface.canvas, type.display.xl, …). themeToCssVars() emits --scene-* for hosts.

Scroll presets

| Mode | Typical | Purpose | | --- | --- | --- | | natural | content height | ordinary | | viewport | ~100vh | focused statement | | linger | 120–160vh | visual + copy | | sticky-story | 180–260vh | narrative scrub | | cinematic | 240–320vh | flagship product | | bridge | 40–80vh | world transition |

Hosts receive normalized progress 0→1 (computeScrollProgress / stageAtProgress).

Demo adapters

| Adapter | Product surface | | --- | --- | | agentsam-mini-composer | AgentSam / MiniComposer | | database-editor | MeauxSQL-class DB editor | | cad-viewer | GLB turntable | | generic-iframe | last-resort embed |

Studio (next)

Reusable studio-shell (navigator / canvas / inspector) sits above this package. Moon Glass mock → Brand Studio panels over BrandPack + theme-scenes — not another one-off HTML page. See AgentSam BrandPack README for the compiler side.

Tests

npm --prefix packages/theme-scenes test