GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Webflow-Examples/code-components-examples: Collection of code components for Webflow

BranchesTags
Open more actions menu

Latest commit

 

History

55 Commits
55 Commits

Folders and files

NameName
Last commit message
Last commit date
.cursor/rules
.cursor/rules
 
 
cms-slider
cms-slider
 
 
multi-step-form
multi-step-form
 
 
pricing-quote-calculator
pricing-quote-calculator
 
 
shadcn-components
shadcn-components
 
 
store-locator
store-locator
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Webflow Code Component Examples

A collection of projects demonstrating how to bring code components built in React into Webflow via DevLink. Each example is a self-contained project that showcases different patterns and use cases for building interactive components that seamlessly integrate with Webflow. You can run a Devlink CLI command that will import the component into Webflow so you can try it on your Webflow sites.

DevLink

DevLink is a tool to bridge Webflow and external code. This repo showcases how to create and bring your own custom, interactive React components directly in the Webflow canvas as Webflow Components via Shared Libraries.

Here are some reasons why you may want to import your custom React components into Webflow:

  • Custom functionality beyond Webflow's built-in elements
  • Interactive UI with complex state management
  • Data-driven components whose bound props can be configured via the Webflow canvas or at runtime
  • Reusable components can be shared across multiple Webflow sites

📁 Available Examples

You can navigate into individual projects in this repo to copy, make tweaks, and import pre-made example components into Webflow.

🧮 Pricing Quote Calculator

A pricing calculator to output an insurance premium featuring:

  • Multi-input form logic with validation
  • URL parameter support for pre-filling form inputs with default state
  • Responsive design and Tailwind styling with DaisyUI

📝 Multi-Step Form

A dynamic form generator demonstrating:

  • Step-by-step navigation with progress tracking
  • Dynamic field generation based on configuration
  • Form validation and submission and error handling
  • Conditional logic for showing/hiding fields
  • Data persistence across steps

🎠 CMS Slider

A carousel slider that integrates with Webflow CMS collections featuring:

  • CMS Collection Integration extracts and displays items from Webflow CMS Collection list.
  • React Slick carousel with configurable options (autoplay, infinite loop, dots, arrows).
  • Shadow DOM styling for proper style isolation in Webflow Code Component.
  • Slot-based content accepts Webflow CMS collection lists as component slots.
  • Customizable behavior control slides to show, scroll speed, and autoplay settings.

🗺️ Store Locator

A map component and backend API that plots locations demonstrating:

  • Webflow Cloud Setup a secure backend to call protected API endpoints from your component
  • JWT Auth Add a JWT as a prop in your component to access protected content
  • Webflow CMS API get locations already listed in the Webflow CMS
  • Mapbox Integration geo-locate a users input and get map tiles
  • Leaflet.js A lightweight, open-source mapping library

🧩 Shadcn/ui Components

A list of base Shadcn/ui components adapted for Webflow code components:

  • Base building block components with props exposed for Webflow
  • Tailwind styling

🚀 Getting Started

Navigate inside a project example folder (i.e. cd pricing-quote-calculator) and follow the README inside to install the project, run it locally, and import it to Webflow.

📖 Documentation Links

Learn more about how importing code components into Webflow works alongside details to consider when prepping React components for Webflow compatibility.

  • Webflow Code Components Documentation
  • Component Architecture Guide
  • Prop Types Reference
  • Styling Components

🤝 Contributing

  1. Create a new example in its own directory; fork this repo to make your own copy
  2. Follow the established patterns for file structure by looking at existing examples in this repo
  3. Include comprehensive documentation in the example's README
  4. Test thoroughly before submitting
  5. Add the example to this main README
  6. Create a pull request from your fork of the repo to the main branch

❓ Questions / Issues

Running into problems trying out one of the examples? Create an issue in the Issues tab.

About

Collection of code components for Webflow

developers.webflow.com/code-components/examples

Topics

code-componentsdevlink

Resources

Readme
MIT license
Activity
Custom properties

Stars

11 stars

Watchers

1 watching

Forks

10 forks
Report repository

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.