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

@ripl/vue-3d

v1.4.0

Published

Declarative Vue 3 components and compositions for Ripl 3D

Readme

@ripl/vue-3d

Declarative Vue 3 components for Ripl 3D scenes.

A 3D context is an ordinary Ripl context and a 3D shape is an ordinary element, so this package adds only what 3D genuinely needs: a context, nine shapes, a group, a camera and five lights. The scene, renderer and transition components from @ripl/vue drive a 3D scene unchanged.

Installation

npm install @ripl/vue-3d

@ripl/vue arrives as a dependency. vue (3.5 or later) is a peer dependency.

Quick start

import {
    createRipl3D,
} from '@ripl/vue-3d';

createApp(App).use(createRipl3D()).mount('#app');

createRipl3D() registers the core Ripl components too. Applying createRipl() as well is harmless in either order.

<template>
    <ripl-context-3d :lights="lights">
        <ripl-scene>
            <ripl-renderer :auto-stop="false">
                <ripl-camera :position="[0, 2, 5]" :interactions="true" />

                <ripl-group-3d :rotation-y="spin">
                    <ripl-cube :size="1" :x="-1" fill="#4488ff" />
                    <ripl-sphere :radius="0.6" :x="1" fill="#ff006e" />
                </ripl-group-3d>
            </ripl-renderer>
        </ripl-scene>
    </ripl-context-3d>
</template>

auto-stop="false" is the norm in 3D: camera and light changes ask the context to repaint rather than changing element state, so a renderer that idles when no transition is running would stop before they land.

Components

| Component | Wraps | | --- | --- | | <ripl-context-3d> | createContext from @ripl/3d | | <ripl-cube>, <ripl-sphere>, <ripl-cylinder>, <ripl-cone>, <ripl-plane>, <ripl-torus> | the primitive shapes | | <ripl-mesh>, <ripl-parametric>, <ripl-bezier-surface> | the geometry-driven shapes | | <ripl-group-3d> | createGroup3D | | <ripl-camera> | createCamera | | <ripl-ambient-light>, <ripl-hemisphere-light>, <ripl-directional-light>, <ripl-point-light>, <ripl-spot-light> | the light factories |

Compositions

import {
    useRiplCamera,
    useRiplContext3D,
} from '@ripl/vue-3d';

const context = useRiplContext3D();
const camera = useRiplCamera();

The four core compositions are re-exported, so one import covers a whole scene.

Notes

  • There is no zIndex on a 3D shape: it derives depth ordering from its projected position.
  • A group's transform lives outside element state, so it applies immediately and cannot be animated by a <ripl-transition>. Animate the children instead.
  • A context resolves at most eight lights. Binding the context's lights prop, even to [], is what clears the default ambient-plus-directional rig.

Documentation

Full documentation lives at ripl.run.

License

MIT