---
schema_version: "1"
id: 8dc4254014ec3bec5cb1b573438979043e1d769a3104be6cc8cb5a8962c1298e
title: Expression-Based Visibility in Enhanced LWR Sites
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/experience/264-0-0/exp_cloud_expression_based_visibility.md
canonical_url: https://help.salesforce.com/s/articleView?id=experience.exp_cloud_expression_based_visibility.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e73b61f470012916cf5dc97238471604580294c8f555b9bdf86c718f73e117bb
description: With Expression-Based Visibility, you can create a set of rules that dictate when and to whom your components in your enhanced LWR sites appear. Choose visibility settings based on User and Product object fields such as location, language, buyer groups, and more. Creating visibility conditions based on expressions improves the agility of your site.
products:
  - Experiences
release: "264"
---
# Expression-Based Visibility in Enhanced LWR Sites

With Expression-Based Visibility, you can create a set of rules that dictate when and to whom your components in your enhanced LWR sites appear. Choose visibility settings based on User and Product object fields such as location, language, buyer groups, and more. Creating visibility conditions based on expressions improves the agility of your site.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Applies to: <a href="https://help.salesforce.com/s/articleView?id=experience.exp_cloud_basics_glossary.htm&amp;type=5&amp;language=en_US" target="_blank">LWR sites</a></td></tr></tbody></table>

- **[Create Dynamic Component Visibility in Enhanced LWR Sites](https://help.salesforce.com/s/articleView?id=experience.exp_cloud_expression_based_visibility_components.htm&release=264.0.0&type=5)**  
    Control component visibility on your enhanced LWR site pages by creating rules that contain conditions. Stack multiple conditions to create the perfect set of visibility conditions for each component.
- **[Expression-Based Visibility Rules in Enhanced LWR Sites](https://help.salesforce.com/s/articleView?id=experience.exp_cloud_expression_based_visibility_rules.htm&release=264.0.0&type=5)**  
    Use Expression-Based Visibility to define when and to whom your components appear in your enhanced LWR sites. Create component visibility rules from the Visibility tab on your components.
- **[Build an Expression-Based Visibility Rule in LWR Sites Using Custom Logic](https://help.salesforce.com/s/articleView?id=experience.exp_cloud_create_custom_logic_expression.htm&release=264.0.0&type=5)**  
    Build your own custom logic to show or hide a component or component variation. Create a custom logic expression by adding your conditions for component visibility.