Enhanced extension management and variable types

In this release, the Designer API introduces key enhancements to improve extension lifecycle management and expand the types of variables available in the Designer.

Extension management

Programmatically close extensions and access contextual launch information

Variable system enhancements

Create and manage percentage and number variables for more flexible design systems

  • webflow.createPercentageVariable(options)
    Create percentage-based variables for responsive design values such as opacity levels, width/height constraints, or other proportional measurements.

  • webflow.createNumberVariable(options)
    Create numeric variables for values that require precise control without measurement units, such as animation iterations, z-index values, or quantity indicators.