@pinfix/plugin weekly downloads statistics
By pinfix · npm · Webpack plugins
Visual UI annotation overlay for Claude Code-powered source editing in dev servers.
@pinfix/plugin has 29 recorded weekly downloads on npm, an increase of 45.0% over the past 30 days, ranking #2916 of 3,247 tracked listings.
About @pinfix/plugin
Preview
https://github.com/user-attachments/assets/e155481b-5582-476a-a108-4ba637cdb9d4
Click any UI, describe what you want to change, and PinFix lets Claude Code precisely find the source code and apply the edit in real time.<br> No context switching. No copy-pasting file paths. Just point, describe, and see HMR apply the change.
Why PinFix?
Traditional Claude Code workflows require you to explain where in the codebase something needs to change. PinFix flips this — you visually select the element in the browser, and it already knows the exact source file, line, and column. Your conversation starts with full context.
- The page is the context — Point to what you want to change directly on the UI, no window switching, file paths, or location explanations needed
- Real-time edits — Claude Code updates your source files directly, and HMR shows the result instantly
- Visual selection — Press Alt+Shift+Z to enter crosshair mode, hover to highlight elements, and click to place a pin
- Design adjustment panel — Use inspector-style controls for text, layout, spacing, size, color, border, and typography changes when words alone are too slow
- Framework Agnostic — Works with React, Vue, Svelte, or any JSX/TSX-based framework.
- Zero Config — One plugin line in your build config. The channel server spawns and cleans up automatically.
Quick Start
npm install -D @pinfix/plugin
Add the plugin to your build config:
Vite
// vite.config.ts
import pinfix from '@pinfix/plugin/vite'
export default defineConfig({
plugins: [pinfix()],
})
Webpack
// webpack.config.js
import pinfix from '@pinfix/plugin/webpack'
export default {
plugins: [pinfix()],
}
Rspack / Rsbuild
// rsbuild.config.ts
import pinfix from '@pinfix/plugin/rspack'
export default {
tools: {
rspack: { plugins: [pinfix()] },
},
}
Then start your dev server as usual. PinFix activates automatically in development mode.
Usage
- Start your dev server (
npm run dev) - Press Alt + Shift + Z (Option + Shift + Z on Mac) to enter annotation mode
- Hover over any component — it highlights with a blue border
- Click to place a pin on the element
- Type your change request, or open Adjust design to tweak layout, spacing, size, color, border, and text controls
- Claude Code receives the selected source location plus your structured visual changes
- Claude Code streams a response and edits your source code
- HMR applies the change — see the result immediately
- Continue the conversation for iterative refinements
How It Works
┌─────────────────┐ WebSocket ┌─────────────────┐ Claude Agent SDK
│ Browser Client │ ◄──────────────────────► │ Channel Server │ ◄─────────────────────► Claude Code
│ (Shadow DOM) │ port 24816 │ (auto-spawned) │
└─────────────────┘ └─────────────────┘
- Build plugin transforms your JSX/TSX/Vue files to inject
data-pinfix-sourceattributes with file path, line, and column metadata. - Client overlay renders inside Shadow DOM — isolated from your app's styles. Handles pin placement, chat UI, design adjustment controls, and WebSocket communication.
- Channel server spawns automatically alongside your dev server. The active pin uses a workspace-level Claude Code session with full project context.
Configuration
pinfix({
port: 24816, // WebSocket port (default: 24816)
hotkey: 'alt+shift+z', // Activation hotkey
fab: true, // Show floating action button
prompt: 'Custom system prompt...', // Additional context for Claude Code
escapeTags: ['Layout', 'Provider'], // Skip these wrapper components
match: /\.(tsx|jsx|vue)$/, // Only transform matching files
exclude: /node_modules/, // Exclude from transform
debug: false, // Enable debug logging
})
Supported Bundlers
| Bundler | Import Path | Status |
|---|---|---|
| Vite 5+ | @pinfix/plugin/vite | Stable |
| Webpack 5 | @pinfix/plugin/webpack | Stable |
| Rspack 2 | @pinfix/plugin/rspack | Stable |
Requirements
- Node.js 18+
- Claude Code installed and usable on your machine
- A dev server with HMR support
Development
git clone https://github.com/foreversc/pinfix.git
cd pinfix
pnpm install
pnpm build
pnpm dev:vite-react # Run the Vite + React example
License
MIT
Description from the npm listing.
- ai
- claude
- claude-code
- vite-plugin
- webpack-plugin
- rspack-plugin
- developer-tools
- code-editing
- hot-reload
- react
- vue
- unplugin
- browser-overlay
- ai-coding
- devtools
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 @pinfix/plugin 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/@pinfix/plugin. First seen Nov 16, 2026; last successful collection Nov 22, 2026. See the methodology.