export_symbol
Export Apple SF Symbols as scalable vector SVG graphics. Customize weight, size, and coordinate system for design tools.
Instructions
Export an SF Symbol as SVG with vector paths.
Args: name: SF Symbol name (e.g. "star.fill", "circle", "chevron.right") weight: Font weight — ultralight, thin, light, regular, medium, semibold, bold, heavy, black size: Point size for rendering (default 100) output_path: Optional file path to save the SVG. If not provided, returns SVG content. raw_coords: If True, output raw CoreGraphics coordinates (Y-up) instead of standard SVG (Y-down). Use this for design tools like Pencil that use Y-up coordinate systems.
Returns: SVG content or confirmation of file save.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| size | No | ||
| weight | No | regular | |
| raw_coords | No | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |