Usage
Arguments
| Argument | Description |
|---|---|
file | Path to .fig file (required) |
Options
| Option | Alias | Description |
|---|---|---|
--json | Output as JSON |
Examples
Basic info
JSON output
What It Shows
- Page count — number of canvas (page) nodes
- Total nodes — all nodes across all pages (recursive count)
- Node type histogram — breakdown by type (FRAME, TEXT, etc.) with counts per page
- Type summary — aggregate counts of each node type
- Fonts — all font families used in TEXT nodes
Node Types
Common node types:FRAME— frame (container with layout)TEXT— text layerRECTANGLE— rectangle shapeELLIPSE— circle/ellipseVECTOR— vector pathINSTANCE— component instanceCOMPONENT— component definitionGROUP— group (no layout)SECTION— section (organizational container)BOOLEAN_OPERATION— boolean union/subtract/intersect
Use Cases
- Quick audit of file size and complexity
- Font inventory for design systems
- Identify overuse of specific node types
- Check page distribution before cleanup