---
title: "How we built AI search in Figma"
description: "Figma pivoted from an AI design-autocomplete prototype to shipping visual and semantic search after research showed 75% of objects added to the canvas come from other files and designers struggle to find mid-level frames."
url: "https://swe.quest/articles/how-we-built-ai-search-in-figma-a7e536f5730f5136"
canonical: "https://www.figma.com/blog/how-we-built-ai-search-in-figma/"
source: "Figma"
published: "2024-10-25"
difficulty: "easy"
kind: "Case study"
reading_minutes: 10
tags: ["search","evals","product-engineering","rag"]
---

# How we built AI search in Figma

A post on [Figma](https://swe.quest/sources/figma.md), published 2024-10-25, 10 min read, Case study. Original: [https://www.figma.com/blog/how-we-built-ai-search-in-figma/](https://www.figma.com/blog/how-we-built-ai-search-in-figma/)

## Summary

Figma pivoted from an AI design-autocomplete prototype to shipping visual and semantic search after research showed 75% of objects added to the canvas come from other files and designers struggle to find mid-level frames. To keep indexing tractable on an infinite canvas, the team indexed only UI-like frames found via dimension heuristics, deduplicated copied designs and unaltered file copies, and delayed indexing until a file was idle for four hours. Search quality was measured with evals built as a Figma plugin for labeling results, and the UI landed in the Actions panel with previews and filters to serve both exploration and execution workflows.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Search](https://swe.quest/tags/search.md) (Backend & APIs)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [Product engineering](https://swe.quest/tags/product-engineering.md) (Engineering organization)
- [RAG & retrieval](https://swe.quest/tags/rag.md) (AI & ML)

## Keywords

Figma, visual search, semantic search, Figma plugin API, Actions panel

## Related posts

- [The infrastructure behind AI search in Figma](https://swe.quest/articles/the-infrastructure-behind-ai-search-in-figma-b7fada64ae683a10.md): Figma · 2024-10-15 · Medium · 10 min read · Vector search, Search, Cost optimization, Inference & serving, Scaling
  Figma's AI search embeds frames and published components with a CLIP-based multimodal model, so screenshots, layer selections and text all query one vector space.
- [Behind the feature: Find and replace](https://swe.quest/articles/behind-the-feature-find-and-replace-2ebc376de57a3841.md): Figma · 2022-10-06 · Easy · 9 min read · Product engineering, Search, Algorithms
  Find and replace in Figma and FigJam turned out to be far harder than a search bar because canvas content is multi-directional, so result ordering had to be designed rather than inherited.
- [Image replacement in Canva designs using reverse image search](https://swe.quest/articles/image-replacement-in-canva-designs-using-reverse-image-search-03653e5b614fb037.md): Canva Engineering · 2025-01-28 · Medium · 9 min read · Vector search, Computer vision, Search, System design
  Canva built a reverse image search system to replace IP-restricted images in templates, after ruling out its recommendation engine, perceptual hashing, metadata text search and AI-generated images.
- [The search for speed in Figma](https://swe.quest/articles/the-search-for-speed-in-figma-06e4c11289fe0686.md): Figma · 2024-10-10 · Medium · 11 min read · Search, Performance engineering, Observability, Cost optimization, Cloud platforms
  Figma's search slowness traced mostly to its own stack, not OpenSearch: OpenSearch's headline 8 ms metric was per-shard time, and only the "took" field in responses reveals overall query latency, which accounted for under 30% of API time.
- [Image search with 🤗 datasets](https://swe.quest/articles/image-search-with-datasets-7a6fd7ae6c6c63ce.md): Hugging Face · 2022-03-16 · Medium · 12 min read · Vector search, Computer vision, Python, Search
  A text-to-image search over 10,000 British Library book embellishments can be built by loading the images with the 🤗 datasets ImageFolder loader and embedding them with the CLIP ViT-B/32 model via sentence\_transformers.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
