Usage
Arguments
| Argument | Description |
|---|---|
file | Path to .fig file (required) |
Options
| Option | Alias | Description |
|---|---|---|
--name | Node name (partial match, case-insensitive) | |
--type | Node type: FRAME, TEXT, RECTANGLE, INSTANCE, etc. | |
--page | Page name (default: search all pages) | |
--limit | Max results (default: 100) | |
--json | Output as JSON |
Examples
Find by name
Find by type
Find by name and type
Search specific page
Limit results
JSON output
Node Types
Common types to search for:FRAME— frames (containers with layout)TEXT— text layersRECTANGLE— rectanglesELLIPSE— circles/ellipsesVECTOR— vector pathsLINE— linesPOLYGON— polygonsSTAR— starsINSTANCE— component instancesCOMPONENT— component definitionsCOMPONENT_SET— component sets (variants)GROUP— groupsSECTION— sectionsBOOLEAN_OPERATION— boolean operations
Search Behavior
- Name matching — partial, case-insensitive substring match
- Type matching — exact match (case-insensitive input, normalized to uppercase)
- Page filtering — if
--pageis provided, only searches that page; otherwise searches all pages - Limit — stops after
--limitresults (default 100) - Traversal — depth-first search through the scene graph
Use Cases
- Find all instances of a component
- Locate text nodes that need translation
- Audit frame layout modes
- Find nodes with specific naming conventions
- Export node lists for design system documentation
- Identify orphaned components