Back to Plugins
Figplug

Figplug

Figplug – starter Figma plugin with theme-aware UI and tooling.

Plugin Preview

Figplug preview

About this plugin

Figplug - a ready-to-use Figma plugin starter with theme-aware UI, resizable window, and TypeScript tooling. Use it as a template to jumpstart new plugins.


Use this GitHub repository to get started:

https://github.com/alekseikipin/Figplug-ui-kit


What’s Included

  1. code.ts: Main thread logic (window resize + persistence)
  2. ui.html: Theme-aware UI with resizer, keyboard support, and snap sizes


What’s Not Included

  1. No manifest.json (add this in your plugin project)
  2. No package.json, bundler, or ESLint config
  3. No build/watch scripts


How To Use

Copy code.ts and ui.html into your plugin's source.


Features

  1. Theme-aware tokens using --figma-color-* and themeColors: true Image
  2. Persistent window size via figma.clientStorage Image
  3. Smooth resize with drag handle Image
  4. Double-click snap widths (320, 480, 640px) and keyboard-accessible resizer Image


Configuration

Toggle size persistence: set PERSIST_WINDOW_SIZE in code.ts.

Plugin Details

Version2
CreatedSeptember 5, 2025
Last UpdatedSeptember 13, 2025
CategorySoftware development
CreatorAleksei Kipin
Stats5 installs, 2 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:ui.html
  • main:code.js
  • Document Access:dynamic-page
  • Editor Types:
    figma
  • Allowed Domains:
    • none