webflow-code-component:convert-component

Convert React components to Webflow Code Components with prop mapping.

Updated Jun 1, 2026
One-click install
npx skills add https://github.com/karenrebecag/AtomWebflow_2026Site --skill webflow-code-component-convert-component
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: webflow-code-component:convert-component
Source: https://github.com/karenrebecag/AtomWebflow_2026Site/tree/main/.agents/skills/webflow-code-component-convert-component
Command: npx skills add https://github.com/karenrebecag/AtomWebflow_2026Site --skill webflow-code-component-convert-component

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @webflow/webflow-cli, @webflow/data-types, @webflow/react, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Converts React components into Webflow Code Components, simplifying integration with Webflow for interactive web designs.

Core Features & Use Cases

  • React to Webflow Conversion: Converts existing React components to Webflow-friendly code.
  • Prop Analysis & Mapping: Analyzes and maps React prop types to Webflow prop types.
  • Automatic Definition Generation: Generates the .webflow.tsx definition file for use in Webflow.

Quick Start

Run the convert-component skill with the React component file to create a Webflow-compatible code component.

Frequently Asked Questions about webflow-code-component:convert-component

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert React components to Webflow Code Components?

Prop mapping translates React TypeScript prop types into Webflow's native prop interfaces during component conversion, ensuring interactive React elements retain their dynamic data structures when deployed inside Webflow projects.

What dependencies do I need for React to Webflow component conversion?

React to Webflow component conversion requires Node.js, React, TypeScript, and the @webflow/webflow-cli package, alongside @webflow/data-types and @webflow/react, to properly generate the definition file.

Does @webflow/webflow-cli support TypeScript prop types for integration?

Yes, the @webflow/webflow-cli supports TypeScript prop types by analyzing React component definitions and mapping them to Webflow's prop interfaces, outputting a valid .webflow.tsx definition file.

How do I generate a .webflow.tsx file from an existing React component?

Generate a .webflow.tsx file by running the conversion script against your React component file, which automatically analyzes props and outputs the Webflow-compatible definition file for your project.

Why does my React component conversion fail without Node.js and TypeScript?

React component conversion fails without Node.js and TypeScript because the process relies on parsing TypeScript prop types and executing the @webflow/webflow-cli to map and compile the .webflow.tsx output.