Getting your library ready for the Figma agent
How to set up a Figma library so the Figma agent uses it well: publish, name things, add guidelines and examples, and know the seat and credit limits.
To get the Figma agent to use your library, publish it, name its variables and components clearly, and add guidelines and examples. Then connect the library in an agent chat. That is the whole setup, and every step is in Figma's own help pages.
I read those pages on October 31, 2026. Guidelines are still in beta, so details may change.
How do I connect a design library to the Figma agent?
Open an agent chat, select Libraries in the prompt box, and choose the published library you want to use. Figma's October 23, 2026 post says the agent can then recognize which components and variables your team approved and use them in its output (Figma blog: put your design system to work with the Figma agent).
The library must be published first. To change one asset, @-mention the component or token in the prompt.
Seats matter. The post says full access is on Full seats in Professional, Organization and Enterprise plans, plus some Education plans, with limited availability on Starter. Collab, Dev and View seats can use the agent in their own drafts only.
What should I fix in the library first?
Fix the names. Figma's help page for refining a library says semantic names tell the agent how a value should be used, and gives color/surface/primary as an example. It says blue-500 does not say when to use a value (Figma Help: refine your components and variables).
The same page recommends:
- Use variables for colors, spacing, corner radii and typography instead of raw values.
- Group variables into named collections, with slashes for nested groups.
- Name components in a consistent slash pattern, such as
Button/Primary/Large. - Rename default layers like
Group 7to something meaningful.
For one asset, put the rule in its description. Figma's help page on teaching the agent says guidance about a specific component, style or variable belongs in that asset's description, and cross-cutting decisions belong in guidelines files (Figma Help: teach the agent).
How do guidelines and examples work?
Guidelines are instruction files attached to a published library. Examples are complete designs the agent can copy a pattern from.
For guidelines, Figma accepts .md, .txt and .json files. The combined size can't exceed 200 KB, and Figma suggests keeping it under 100 KB and using three to eight focused files. The feature is in beta, and the help page lists Professional, Education, Organization and Enterprise plans (Figma Help: add guidelines files). To add them, open the library, go to Library, then Manage guidelines, upload the file and click Apply changes.
For each decision, Figma asks for the situation, what to do, what to avoid, and why. It prefers one clear recommendation over a list of options.
For examples, add a page named Examples to the library file and make each design on it a component. Or add _example to a component name, such as Dashboard/HeroSection_example. The names are case-sensitive. The agent can reference up to 200 examples in a single library.
What does a good guidelines file look like?
It is short and specific, and it uses numbers where numbers exist. This is a sample in the format Figma describes. The contrast values are mine: I converted an example brand color with the standard OKLab matrices and measured it with the WCAG 2.2 formula.
## Label color on the primary button
Situation: A filled button on the brand color needs a text color.
Do: Use `color/action/primary` (brand 600, #3967df) with white text.
Contrast is 5.02:1, which clears the 4.5:1 minimum for body text.
Don't: Use brand 500 (#4c7df7) behind white text. Contrast is 3.76:1,
which fails 4.5:1.
Why: Our default button label is 14 px regular, which WCAG 2.2 treats
as normal-size text, not large text.
The last line carries a real rule. WCAG 2.2 defines large text as at least 18 point, or 14 point bold (WCAG 2.2, 1.4.3). A 14 px regular label is neither.
Figma also reminds you that guidelines work best when the agent creates designs from scratch. It says it is still improving how consistently they apply when the agent edits existing designs, and it recommends checking the output.
What else can the agent do for the library?
It can help maintain it. Figma's October 6, 2026 post says the agent can inventory the components and tokens used on a screen, flag duplicate components and hard-coded values, standardize names across a library, and swap a disconnected button for the matching system component (Figma blog: lighten design system upkeep).
Skills are reusable instructions you trigger with / in any chat. The October 23 post gives two examples: /design-system-audit, which checks screens against libraries for hard-coded values and misused components, and /analyze-components, which looks for duplicates and naming errors.
What does it cost, and where does UIX fit?
Guidelines can raise credit use. The help page says prompts may use more AI credits with a guidelines-enabled library, depending on the model, the task and the size of the files. Repeated guidance across files adds to that.
For context on the wider Figma announcements, see what Config 2026 changed for design systems. For markdown context that lives on the canvas, see Figma Specs and the move to markdown context.
A library made with UIX Design System is a normal Figma library: variables and styles in your own file, plus token-bound components: 12 core ones on the free plan and 74 in Pro (Components). The agent reads whatever you publish, so the steps above still apply. Publishing the library and writing the guidelines are still your steps.
FAQ
Does the Figma agent need a published library?
Yes. Figma's help page says the library must be published for the agent to reference it, so publish recent changes before you test.
What file types can I use for Figma agent guidelines?
Markdown (.md), plain text (.txt) and JSON (.json). The combined size per library can't exceed 200 KB.
How many examples can the Figma agent use?
Figma's help page says the agent can reference up to 200 examples in a single library. Mark examples with an Examples page or an example suffix on the component name.
Are Figma agent guidelines free?
They are in beta and available on the plans listed in the help page. They can use more AI credits per prompt, so watch your usage after you turn them on.
Try it on your own brand color. UIX is free to start in any Figma file, and Pro adds more when you need it.


