All updates

Enhancement

Designer

Control content with conditional logic

Conditional logic now goes beyond visibility — dynamically control variants, text, images, and more.

Control content with conditional logic

We recently launched Conditional Visibility, so you can show or hide elements based on component props, CMS fields, or the current locale. Today, we're expanding conditionals beyond visibility, with new ways to dynamically control component and CMS content.

Conditionals can now be used to set variants, text, attributes, images, and video. The same logic you use for visibility now controls what your elements display.

In addition, component slots can now be referenced in conditional logic, allowing you to show, hide, or change content based on whether a slot is empty.

We’ve also added an advanced keep in HTML setting for hidden elements, making it easier to reveal hidden content with custom code.

These updates are available now to all sites. Learn more about conditionals in the Help Center.


Launched on
March 5, 2026
Category
Designer

Related updates

Pan and zoom for pages

Pan and zoom for pages

Learn more
Use component props in custom code

Use component props in custom code

Learn more
See spacing values on the canvas

See spacing values on the canvas

Learn more
Updates to DevLink Export

Updates to DevLink Export

Learn more
Dynamic attributes for components

Dynamic attributes for components

Learn more
Introducing AI code components

Introducing AI code components

Learn more

verifone logomonday.com logospotify logoted logogreenhouse logoclear logocheckout.com logosoundcloud logoreddit logothe new york times logoideo logoupwork logodiscord logo
verifone logomonday.com logospotify logoted logogreenhouse logoclear logocheckout.com logosoundcloud logoreddit logothe new york times logoideo logoupwork logodiscord logo

Get started for free

Try Webflow for as long as you like with our free Starter plan. Purchase a paid Site plan to publish, host, and unlock additional features.

Get started — it’s free
Watch demo

Try Webflow for as long as you like with our free Starter plan. Purchase a paid Site plan to publish, host, and unlock additional features.