AI inside Figma: built-in features, agent, plugins and code layers
The “Tools: chat, plugin, API, agent” topic splits AI tools into chat, built-in features, API and agent. This topic is entirely about built-in features, and about one in particular: Figma, where a designer spends the whole day anyway. It already has more than a dozen AI features. Many people don’t know about half of them, and the rest have limits that are easier to read about up front than to discover on deadline. Figma changes menu item names and plan terms often, so check them against the revision date at the top.
Built-in features: the Actions menu
Figma already has a whole set of built-in AI features that many designers don’t know about, even though they use Figma every day. Everything below is called from the Actions menu in the toolbar or by right-clicking a selection. Nothing to install. One limit applies to this whole section: you need edit rights to the file and, for most features, a paid plan. The free Starter plan doesn’t have the individual Actions tools, but Figma Agent and the features it calls are available on every plan. The AI credit pool on Starter is small: 500 a month and no more than 150 a day. AI search and Rename layers don’t spend credits. The AI features draw from the account’s shared pool of AI credits, which is split across all Figma products (Design, FigJam, Slides). The general logic of limits is in the “Plans and limits” topic.
Translating, changing tone, shortening text. The Rewrite, translate and shorten feature works on a selected text layer, not on the whole document. “Shorten” needs no prompt and simply trims the text to fit the same space. “Translate” asks you to pick a language from a list. “Rewrite” takes a free-form prompt to change the tone or even write the text from scratch:
Rewrite this text in a more confident, expert tone, keep the length about the same
A practical caveat for exactly the case that comes to mind first: “translate a huge document”. The feature works one layer at a time, so for a big document you will have to go through each text layer separately. There is no one-click option for the whole file. If there really are a lot of layers, it is smarter to export the text and run it through an ordinary AI chat in one request. And if it is a regular task, build your own plugin for it (the “Vibe coding: art and tools” topic, the section on vibe coding a Figma plugin).
Filling placeholders with realistic content. The Replace content feature is for when you need to quickly fill repeating cards, lists or tables with believable text instead of “Lorem ipsum” or identical stubs. Unlike Rewrite, it works on several identical objects in one action. It also takes a clarifying prompt:
Replace the placeholder text with realistic product names and descriptions for an online sportswear store
The limit: text only. You can’t replace placeholder images with this feature; there is a separate tool for images below.
Rewrite: rewrite, translate, shorten

Replace content: fill repeats

Generating and editing images. Make an image generates a picture right inside a selected shape or as a new layer from a text prompt. Edit image refines an existing image in the same conversational way as in the “Image editing and retouching” topic. Next to them is a set of targeted photo tools. Remove background removes the background. Boost resolution sharpens a small image. Expand image paints in space beyond the original frame. Isolate and erase objects puts an object on its own layer or erases it from the frame. Vectorize turns a raster image into editable vector:
Generate a shopping cart icon for a mobile app: flat minimalist style, one accent color, no gradients
The result will be raster. For an interface you need to vectorize it (both generation and Vectorize are on paid plans only) or take a ready-made icon from a library like Phosphor.
Make an image

Expand image

Isolate and erase

Vectorize and its neighbors

Automatic layer names. Rename layers looks at a layer’s content, its position and its relationship to neighboring selected layers, and picks a meaningful name on its own. No prompt, one click: there is no text field, just a selection and a click. It leaves layers you have already renamed by hand alone. If the same unnamed layer repeats across several frames (say, a product card), it renames all the matches at once. That matters for Smart Animate between screens, which needs identical layer names for a smooth transition.

A first draft of a screen from a prompt. Since May 2026, Figma has been moving this feature into Figma Agent (see below); for some accounts the First Draft item in Actions has already been replaced by the agent. First Draft assembles a rough, fully editable design from built-in component libraries based on a text description. An example prompt is in the “Command examples for practice” section below. Three limits worth knowing up front. First Draft can’t build a design on your own design system, only on the built-in libraries. It struggles with non-standard formats: book layouts, invitations, anything that isn’t a “typical site or app”. And you can only edit through First Draft itself while the Actions menu is open. After that you can only edit with Figma’s regular tools, not with another prompt.

Searching assets by meaning, not by file name. Find assets and designs searches team files, the whole organization or Figma Community. You can search by part of a design, a screenshot or a verbal description, not only by an exact name. This helps when you need “a similar component someone has obviously made already” but don’t know what it is called:
Find a product card component with a price, a rating and an “add to cart” button, similar to this screen

Auto-generated interactions. Add interactions wires up the connections between prototype screens on its own, based on the logic it infers from the design, instead of you drawing every arrow by hand. It is a rough pass that you then need to check and fix by hand. No text prompt here either: just select the screens and click.

Separate from Actions lives Figma Agent. It is a conversational AI agent that creates and edits objects on the canvas through dialogue. In spirit it is closer to Claude Design and Google Stitch from the “Design thinking before code” topic than to the targeted tools above. It has a separate, more technical ability: generating your own plugins and shaders straight from a prompt (shaders were in open beta when this guide was written). It is covered below.

Generating your own plugins and shaders right in Figma
There is another way to get your own tool inside Figma besides building a plugin by hand with the Figma Plugin API and a CLI agent (the “Vibe coding: art and tools” topic). Ask Figma Agent to do it directly. Open the “Agents” tab in the navigation and write “Build me a plugin” or “Build me a shader” with a description of the task. From there the agent writes and tests the code itself, without leaving Figma and without setting up manifest.json by hand.
The difference between the two:
- Plugins extend what a file can do. They create something (for example, an audio track visualizer), change existing layers (mass recoloring of icons) or tidy up the file (batch renaming, checking prototype connections).
- Shaders (the “Vibe coding: art and tools” topic; the same term as in WebGL) are programs that compute a visual effect. Either a standalone fill (a pattern, a gradient, a procedural texture) or an effect on top of an existing layer (blur, distortion, grain, pixelation).
A prompt for a plugin. A contrast check right in the file, before a developer gets to it:
Build a plugin: checks text-to-background contrast on all text layers in the selection against the WCAG AA standard and highlights the ones that fail
A prompt for a shader:
Build a shader: topographic contour lines that slowly flow into each other, in a cool blue palette
The shader panel in a file

A “topography” shader

Limits as of when this guide was written. The feature is in open beta. Creating and editing through the agent spends AI credits, while running a finished shader is free. You can publish a finished plugin or shader to Figma Community or privately within your organization (shaders can’t be monetized yet). You can view a shader’s code; a shader exports through MCP to Figma Make, but the exported copy loses its link to the original. A finished shader lives inside Figma and doesn’t carry over as is into a vibe-coded project. Rendering shaders needs a browser and a system that support WebGPU.
Interactivity for the web: code layers in Figma Sites
A similar principle, but for websites rather than the canvas in general: code layers in Figma Sites. It is Figma’s product for publishing websites, a neighbor of Framer and paper.design from the “Vibe coding: websites” topic. A regular Figma layer is a static shape. A code layer is the same visual object, but actually written in code (React, TypeScript, Tailwind CSS). That is why it can have real behavior: animation, reacting to the cursor, states.
You can draw a code layer with the Make tool in the toolbar (or the E shortcut). Either from scratch, describing the behavior you want in words, or by turning an existing static design that needs interactivity into one. Double-clicking a code layer opens an editor window. There you can talk to the AI, write code by hand or look at the preview right away. It is a working environment where a prompt and manual code edits are equals, not just automatic generation.

Turn this static block of cards into a code layer: the cards should grow and show a shadow on hover, with a smooth transition
A practical detail: like a regular component, a code layer can expose configurable properties in a separate panel. That way someone who doesn’t touch the code directly can change the behavior with clear toggles. Finished code layers can be turned into reusable components and multiplied as instances, just like regular Figma components.
A false trail: “randomize” is not a built-in feature. If you need to shuffle component variants randomly (say, different photos in a grid of cards), Figma’s official set of AI tools has no such feature. What people usually look for here (“shuffle”, an instance randomizer) are third-party community plugins, not part of Figma AI. If no ready-made Community plugin fits your specific task, that is exactly the case where it is better to build your own through vibe coding (the “Vibe coding: art and tools” topic).
A false trail: spell check isn’t AI. Figma has a built-in spell check (the Text → Spell check menu; it underlines a mistake with a red squiggly line right while you edit text). But it is an ordinary dictionary spell checker at the operating system level, not an AI feature. It doesn’t understand context and won’t suggest rephrasing an awkward sentence. For meaning-level edits and fixing clumsy wording, there is the Rewrite feature mentioned above.
Command examples for practice
Compare what I can do with an AI plugin inside Figma and what I can only do through a separate chatbot.
Which of Figma’s built-in AI tools fits my task: I need to quickly fill 12 product cards with realistic text instead of placeholders?
Explain why First Draft won’t work for building a screen on my own design system, and what to use instead in that case
A checkout screen for a store that sells barbecue grills and charcoal
Build me a plugin: goes through all text layers in the selection, finds double spaces, straight quotes and apostrophes instead of curly ones, and regular spaces between a number and its unit (10 kg, 5 min), and shows a list with a ‘fix all’ button: double space to single, straight quotes to curly, the space before a unit to a non-breaking oneOpen Figma and go through every AI feature listed in this topic once, on any real file. Don’t compare the results; compare which ones actually save you time and which are easier to do by hand.
Sources
- Use AI tools in Figma Designhelp.figma.com
The list of Figma’s AI features, plan restrictions and the move of First Draft into the agent
- How Figma AI credits workhelp.figma.com
AI credit limits on Starter and the features that don’t spend credits
- Create shaders with the Figma agenthelp.figma.com
Shader generation by the agent: beta, credits, WebGPU, publishing
- AI credit updates FAQhelp.figma.com
Figma Agent left beta on October 6, 2026 and spends credits
- Guide to code layers in Figma Siteshelp.figma.com
Code layers in React, TypeScript and Tailwind
Found a mistake or an outdated fact? Write to hey@iskra.guide