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

@inversestudio/create-figma-plugin-native

v1.0.0

Published

Scaffold production-ready Figma plugins with native design system, AI-optimized documentation, and best practices

Downloads

7

Readme

@inversestudio/create-figma-plugin-native

Scaffold production-ready Figma plugins with native design system, AI-optimized documentation, and best practices built in.

npm version License: MIT

Features

🚀 Quick Setup — Production-ready in 5 minutes
📚 Complete Documentation — 7 comprehensive guides for AI and humans
🎨 Native Design System — Figma's design tokens fully documented
🔧 Custom Components — Checkbox, Radio, Toggle, Tabs, Modal included
🤖 AI Integration — Claude skill + Cursor rules built in
🌗 Dark Mode — Proper color pairing from day one
Modern Tooling — Preact + Tailwind CSS v4 + TypeScript

Quick Start

npm create @inversestudio/figma-plugin-native@latest my-plugin
cd my-plugin
npm install
npm run watch

Then in Figma:

  1. PluginsDevelopmentImport plugin from manifest
  2. Select your manifest.json
  3. Run the plugin!

Interactive Mode

npm create @inversestudio/figma-plugin-native@latest

The CLI will guide you through:

  • 📝 Project name
  • 🎨 Framework choice (create-figma-plugin or Plugma)
  • 🎯 Component selection
  • 📚 Documentation options
  • 🤖 AI integration files

Command Line Options

npm create @inversestudio/figma-plugin-native@latest my-plugin [options]

Options

  • --template, -t <name> — Template: create-figma-plugin (default) or plugma
  • --framework, -f <name> — For Plugma: react, svelte, vue, vanilla
  • --tailwind — Include Tailwind CSS (default: true)
  • --components — Include custom components (default: true)
  • --no-docs — Skip documentation
  • --no-skill — Skip Claude skill
  • --no-cursor — Skip Cursor rules

Examples

# Full setup with everything (default)
npm create @inversestudio/figma-plugin-native@latest my-plugin

# Minimal setup without docs
npm create @inversestudio/figma-plugin-native@latest my-plugin --no-docs

# With Plugma and React
npm create @inversestudio/figma-plugin-native@latest my-plugin --template plugma --framework react

What's Included

📚 Documentation

  • Design Principles — Essential guidelines for native Figma UI
  • UI Components Reference — Complete API for all components
  • Design System — Colors, typography, layout specifications
  • Quick Start — Rapid setup guide
  • Cheat Sheet — Quick reference for common patterns
  • Comparison — This vs. Plugma vs. create-figma-plugin

🔧 Custom Components

  • Checkbox — With indeterminate state
  • Radio Button — With group management
  • Toggle Switch — Native Figma styling
  • Tabs — Fully accessible tabs component
  • Modal Dialog — With backdrop and animations

🤖 AI Integration

  • .cursorrules — Optimized for Cursor IDE
  • figma-plugin.skill — Packaged Claude skill
  • AI-optimized docs — Structured for AI comprehension

🎨 Design System

  • All Figma CSS variables documented
  • Proper dark mode color pairings
  • Typography scale (11px, 12px, 13px with line heights)
  • Spacing system (4px, 8px, 16px, 24px, 32px)
  • Custom scrollbar (zero layout shift)

Building with AI

  1. Share ./docs/FIGMA-PLUGIN-DESIGN-PRINCIPLES.md with your AI assistant (Claude, ChatGPT, Cursor)
  2. Describe your plugin idea in plain language
  3. Let AI build using the comprehensive documentation

Example:

"Build a plugin that converts hex colors to Tailwind CSS classes"

Your AI will create a professional, production-ready plugin with proper theming, typography, and native Figma UI.

Project Structure

my-plugin/
├── src/
│   ├── main.ts              ← Backend logic
│   ├── ui.tsx               ← UI with custom scrollbar
│   ├── input.css            ← Tailwind + custom styles
│   ├── components/          ← Custom components
│   │   ├── Checkbox.tsx
│   │   ├── Radio.tsx
│   │   └── Toggle.tsx
│   └── types/               ← TypeScript types
├── docs/                    ← Full documentation
│   ├── FIGMA-PLUGIN-DESIGN-PRINCIPLES.md
│   ├── FIGMA-PLUGIN-UI-COMPONENTS-REFERENCE.md
│   └── ... (7 guides total)
├── figma-plugin.skill       ← Claude skill
├── .cursorrules             ← Cursor IDE rules
├── package.json
├── tsconfig.json
└── tailwind.config.js

Development Workflow

# Development with hot reload
npm run watch

# Build for production
npm run build

# Build CSS only
npm run build:css

In Figma, reload with: Cmd/Ctrl + Option/Alt + P → "Reload plugin"

Requirements

  • Node.js 18+
  • npm, yarn, pnpm, or bun
  • Figma desktop app

Why This Package?

| Feature | create-figma-plugin-native | create-figma-plugin | plugma | |---------|---------------------------|---------------------|--------| | Documentation | ✅ 7 comprehensive guides | ⚠️ Basic README | ⚠️ Basic docs | | Custom Components | ✅ 5 components included | ❌ None | ❌ None | | AI Integration | ✅ Claude + Cursor | ❌ No | ❌ No | | Design System | ✅ Fully documented | ⚠️ Implied | ❌ Build your own | | Dark Mode Guide | ✅ Complete | ⚠️ Basic | ❌ Manual | | Custom Scrollbar | ✅ Included | ❌ No | ❌ No |

Testimonials

"This saved me hours of setup and documentation reading. The AI integration is game-changing."

"Finally, a plugin starter that understands design systems. The dark mode just works."

"The custom components are production-ready. No more fighting with Figma's UI."

Links

License

MIT © inversestudio

Contributing

Contributions welcome! Please read our contributing guidelines first.


Built with ❤️ for the Figma community

Ready to build? → npm create @inversestudio/figma-plugin-native@latest