figma_scan_codebase
Scan a local codebase to identify UI components in common frameworks and return their file paths for mapping to Figma designs.
Instructions
Scan a local codebase directory for UI components (React, Vue, Svelte, Swift, Compose, Angular, Flutter). Returns a list of discovered components with their file paths and frameworks. Use this before figma_match_components to find code-to-design mappings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDepth | No | Max directory depth to scan. | |
| directory | Yes | Absolute path to the codebase root (e.g., '/Users/me/project'). Supports ~ for home. | |
| frameworks | No | Filter to specific frameworks. Default: all. |