figma-to-react-mcp
Version:
Convert Figma designs to React components automatically. MCP server with GitHub, Figma, and Playwright integrations for seamless design-to-code workflow.
18 lines • 700 B
TypeScript
export interface FigmaUrlInfo {
fileId: string;
nodeId?: string;
fileName?: string;
}
export declare class FigmaUrlParser {
private static readonly FIGMA_URL_REGEX;
private static readonly FIGMA_NODE_REGEX;
static parseFigmaUrl(url: string): FigmaUrlInfo | null;
static extractFileId(input: string): string;
static extractNodeId(input: string): string | null;
private static decodeNodeId;
static isValidFileId(fileId: string): boolean;
static isValidNodeId(nodeId: string): boolean;
static createFigmaUrl(fileId: string, nodeId?: string, fileName?: string): string;
static getInputHelpMessage(): string;
}
//# sourceMappingURL=figma-parser.d.ts.map