@commentkit/comment-kit weekly downloads statistics
By commentkit (2 listings) · npm · Webpack plugins
Figma-style comments for any website. Clients pin feedback with an automatic screenshot; developers see it on localhost and hand it to their AI agent.
@commentkit/comment-kit has 521 recorded weekly downloads on npm, an increase of 443% over the past 30 days, ranking #2248 of 3,247 tracked listings.
About @commentkit/comment-kit
CommentKit
Figma-style comments on any website. Your clients click the part of the page they mean, write what should change, and CommentKit pins the comment there with a screenshot of what they saw.
You see the feedback on your live site, your staging and preview links and on localhost, and you can hand it to your AI coding agent.
This package, @commentkit/comment-kit, holds the browser SDK, the build plugins and the commentkit command. It has no runtime dependencies.
Install in 60 seconds
Find your project key (the website key, pk_live_…) in CommentKit in the website's Settings → Install, and add every address the site runs on there, under Addresses (live, staging, previews). A wildcard such as https://*.preview.example.com covers one level of subdomains (pr-1.preview.example.com, not a.b.preview.example.com); shared hosts such as vercel.app take the exact address instead (or https://*--yoursite.netlify.app for one Netlify site's previews). localhost always works for your team (*.test on paid websites too once the backend's planned change R21 ships).
Any website: the script tag
Paste before </body>:
<script src="https://commentkit.dev/cdn/v1/loader.js" data-project="pk_live_your_key" defer></script>
That is all for WordPress, Webflow, Shopify, plain HTML and server-rendered apps. Tag managers that drop data-* attributes can use loader.js?project=pk_live_your_key instead.
npm, with the setup command
npm install @commentkit/comment-kit
npx @commentkit/comment-kit init
init finds your framework (Next.js, Vite, SvelteKit, React Router, Remix, Astro, Nuxt, Laravel or a plain website) and shows each change before it makes it: the key in your env file, the build plugin in your config, .commentkit/ in .gitignore and the widget in your layout or entry file. Without signing in, pass the key: npx @commentkit/comment-kit init --key pk_live_your_key. The full package name works before and after the package is installed.
Or call init() yourself, once, in browser code:
import { init } from "@commentkit/comment-kit";
init({ project: "pk_live_your_key" });
The package installs on Node 18 or newer. The commentkit command needs Node 20 or newer, and the build plugins' source locations need Node 22.18+ or 24.11+; each says so in one line on an older Node.
Frameworks
Every helper below calls the same init() and takes the same options (see Options). Each one renders nothing itself and never throws into your app.
React and Next.js
import { CommentKit } from "@commentkit/comment-kit/react";
// Root layout, next to {children}. Works in Next.js server layouts.
<CommentKit project="pk_live_your_key" />
Options are read when it mounts. A change to project, branch, commit, endpoint, privacy or toggleShortcut restarts the widget; a new identity token signs that person in without a restart.
Vue and Nuxt
Vue: install the plugin where your app is created, before mount(). Keep your other imports, such as your CSS:
// src/main.ts
import { createApp } from "vue";
import { CommentKitPlugin } from "@commentkit/comment-kit/vue";
import App from "./App.vue";
const app = createApp(App);
app.use(CommentKitPlugin, { project: "pk_live_your_key" });
app.mount("#app");
Or place <CommentKit project="pk_live_your_key" /> from @commentkit/comment-kit/vue once in your root component. Its props are the options. A change to project, branch, commit, endpoint, privacy or toggleShortcut restarts the widget; a new identity token signs that person in without a restart.
Nuxt: create app/plugins/commentkit.client.ts (on Nuxt 3, plugins/commentkit.client.ts):
import { init } from "@commentkit/comment-kit";
export default defineNuxtPlugin(() => {
init({ project: useRuntimeConfig().public.commentkitKey });
});
and add runtimeConfig: { public: { commentkitKey: "" } } to nuxt.config.ts (set it with NUXT_PUBLIC_COMMENTKIT_KEY).
Svelte and SvelteKit
<!-- src/routes/+layout.svelte -->
<script>
import { commentkit } from "@commentkit/comment-kit/svelte";
let { children } = $props();
</script>
<svelte:body use:commentkit={{ project: "pk_live_your_key" }} />
{@render children()}
A change to project, branch, commit, endpoint, privacy or toggleShortcut restarts the widget.
Laravel
npx @commentkit/comment-kit init sets up a Laravel app (one with artisan and laravel/framework in composer.json) and shows each change first. By hand:
Inertia (React, Vue or Svelte), and Blade or Livewire pages that load a Vite entry. Call init() once in the JavaScript entry your pages load, usually resources/js/app.js (or app.ts, app.jsx, app.tsx; the entries are listed under input in vite.config.js). Keep what the file has, such as createInertiaApp(…): put the import with your other imports and the call at the end.
// resources/js/app.js
import { init } from '@commentkit/comment-kit';
init({ project: import.meta.env.VITE_COMMENTKIT_KEY || 'pk_live_your_key' });
That one call covers every page that loads the entry, whichever Inertia flavour you use; the React, Vue and Svelte helpers are not needed. It does nothing during server-side rendering.
Where the key goes. In the entry, as the default value, as above. Publishable keys are public by design, so it is safe to commit, and a server that builds on deploy needs no new environment variable. VITE_COMMENTKIT_KEY in .env overrides it when you build (for example pk_test_… on staging). A key only in .env.local would not reach a server: that file is git-ignored and Laravel itself never reads it.
Layouts. A page shows the widget only when its layout loads the entry. A layout whose @vite lists only stylesheets needs the entry added:
@vite(['resources/css/app.css', 'resources/js/app.js'])
```…
Description from the npm listing.
- comments
- feedback
- annotations
- review
- website feedback
- bug reporting
- screenshot
- mcp
- ai agent
- vite-plugin
- webpack-plugin
- nextjs
- astro-integration
- cli
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (135)Similar npm Webpack plugins plugins
All 20 @commentkit/comment-kit alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@commentkit/comment-kit. First seen Nov 17, 2026; last successful collection Dec 6, 2026. See the methodology.