Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)
Webflow Code Components Helper
Complete documentation and Claude Code context for developing Webflow Code Components with React and TypeScript.
What This Package Does
When you install this package, it automatically adds:
WEBFLOW_CODE_COMPONENTS_GUIDE.md- A comprehensive guide covering:- Setting up a Webflow code components project
- Creating and defining components
- Working with props and variants
- Deploying to Webflow
- Best practices and troubleshooting
.claude.mdcontext - Adds Webflow-specific context to your Claude Code setup (non-destructive merge if file exists)
Installation
npm install @julianmemberstack/webflow-code-components-helper --save-dev
That's it! The documentation files will be automatically added to your project root.
What Gets Installed
WEBFLOW_CODE_COMPONENTS_GUIDE.md
A complete step-by-step guide for building Webflow code components, including:
- Prerequisites and setup
- Creating React components
- Webflow component definitions
- Supported prop types
- Deployment workflow
- Troubleshooting tips
.claude.md Updates
If you're using Claude Code, this package intelligently updates your .claude.md file with Webflow-specific context:
- If
.claude.mdexists: Appends Webflow context (checks for duplicates) - If
.claude.mddoesn't exist: Creates it with Webflow context - Non-destructive: Preserves all existing content
Usage
After installation, you can:
- Open
WEBFLOW_CODE_COMPONENTS_GUIDE.mdfor the complete guide - If using Claude Code, it will automatically have context about your Webflow project
- Follow the guide to create and deploy your code components
Supported Prop Types
- Text
- Rich Text
- Image
- Link
- Variant
- Visibility
Requirements
- Node.js 20+
- npm 10+
- Webflow account (Freelancer, Core, Growth, Agency, or Enterprise plan)
Resources
License
MIT
Author
Julian Galluzzo