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

@kadal/deck-vue

v0.12.0

Published

The Vue renderer for Kadal Deck (@kadal/deck): Vue components as islands on a slide.

Readme

@kadal/deck-vue

Build it. Rehearse it. Own the room. Kadal Deck has your back for the whole talk, from the first idea to the last applause. This package is part of building it: a live Vue component on a slide, so your demo runs in front of the room, not in a screenshot.

Take the tour · Docs

The Vue renderer for Kadal Deck, presentations written in MDX: Vue code as an island on a slide, loaded only when its slide appears.

Vue islands guide · Islands in any framework · Docs · Source

npm install @kadal/deck-vue vue

Vue 3 components on a deck slide.

// once, where the deck is created
import { registerLazyRenderer } from "@kadal/deck";

registerLazyRenderer("vue", () => import("@kadal/deck-vue").then((m) => m.vueRenderer));
<Island
  framework="vue"
  load={() => import("./chart.ts").then((m) => m.Chart)}
  props={{ data }}
  client="slide"
/>

Registered by name and loaded on arrival, neither Vue's runtime nor the component is in the deck's first chunk — measured at 64 kB off the showcase deck's opening load, which matters once a deck can reach for ten frameworks and uses one.

A component written as options is recognised on its own. A functional Vue component is a plain function, indistinguishable from a React or Solid one, so it has to say so:

import { deckVue } from "@kadal/deck-vue";

export const Chart = deckVue((props) => h("div", props.label));

or framework="vue" on the island, which the example above already does.

What it does with props

createApp(Component, props) takes its props once; handing it new ones later does nothing. So the app is mounted around a reactive bag the render function reads, and new props mutate that bag in place. The island is re-rendered, not rebuilt — a chart keeps its animation, a half-typed form keeps what you typed. Without this the renderer would have to remount on every click of the slide.

What it does not do

No ssr. It would pull @vue/server-renderer into every deck with a Vue island, and the deck's print and export paths run a real browser, where islands hydrate like anywhere else. It goes in when a surface appears that genuinely cannot run JS.

No live cross-framework children. children arrive as HTML and go in as the default slot's markup. A React subtree cannot keep its state inside a Vue component, and pretending otherwise produces bugs nobody can explain. Interactivity inside an island belongs to that island.

No .vue files yet. A single-file component needs @vitejs/plugin-vue in the deck's Vite config; the renderer handles what that plugin produces (it looks for __vccOpts and __file), but wiring the plugin into the deck's own Vite plugin is still to do.

Licence

AGPL-3.0-or-later, with a commercial licence available — the same terms as the engine. See LICENSING.md.