Skip to content
AddHunt
Figma plugins

Astro × Figma Plugin Starter

Starter template for building Figma plugins with Astro

Free

In short

Astro × Figma Plugin Starter is a lightweight template for building Figma plugins with Astro, Vite and TypeScript. It is for developers who want a ready project structure, hot reload and component-based plugin interfaces.

What you get

  • Single-command dev server with hot reload
  • Astro components, plus React, Vue or Svelte
  • Full TypeScript support
  • Built-in notification helpers
  • Sample graphics and readme template

The details

This starter gives Figma plugin developers a ready-made project built on Astro, Vite and TypeScript. Instead of wiring a build setup by hand, a developer clones the repository from GitHub, installs the dependencies, runs the dev server and imports the plugin into the desktop Figma app from its manifest.

What is included

  • One command starts development, and hot reload refreshes the plugin after every change
  • Plugin interfaces written as HTML-style Astro components, with the option to mix in React, Vue or Svelte
  • Ready helper functions for showing notifications and alerts
  • Sample graphics and assets for designing the plugin interface
  • A readme template for documenting the finished plugin
  • A tidy project layout that keeps concerns apart and is easy to extend

Why Astro

The author chose Astro because it suits simple web interfaces: plain markup with components layered on top. The goal is plugin UIs that stay light, load quickly and feel at home inside Figma.

The template is published on GitHub by qurle, and the site walks through the four setup steps from cloning to importing the plugin.

Alternatives to Astro × Figma Plugin Starter

Questions

How is the plugin loaded into Figma?

In the desktop Figma app, open Actions, go to Plugins & Widgets and import the plugin from its manifest.

Can React or Vue components be used?

Yes. Astro components can be combined with React, Vue or Svelte components in the same project.

More like this