---
schema_version: "1"
id: 9b9c56c820d33f38cf1600102d72e5a5401389e7451447eee331267469cdb8d2
title: Lightning Component Considerations for Flows
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/flow_considerations_salesforce_features_lc.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_considerations_salesforce_features_lc.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 717c6e39b024d5ef4b85ba8de8b8ef59d7be15c014f1e6b2b8bffb5822b7ca93
description: Keep these considerations in mind when building flows that include Lightning components.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Lightning Component Considerations for Flows

Keep these considerations in mind when building flows that include Lightning components.

### 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;"><a href="https://help.salesforce.com/s/articleView?id=platform.flow_ref_supported_editions.htm&amp;release=264.0.0&amp;type=5" title="Learn about the editions and user interfaces that support Flow Builder. Some Flow Builder features integrate with other Salesforce products that require additional licenses.">View supported editions.</a></td></tr></tbody></table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)

Note These topics are designed for developers that build Lightning components.

- Lightning components in flows must comply with [Lightning Locker](https://developer.salesforce.com/docs/platform/lightning-components-security/guide/locker-intro.html) restrictions.
- Flows that include Lightning components are supported only in [Lightning runtime](https://help.salesforce.com/articleView?id=flow_distribute_runtime.htm&language=en_US).

- **[Supported Lightning Component Attribute Types in Flows](https://help.salesforce.com/s/articleView?id=platform.flow_considerations_salesforce_features_lc_aura.htm&release=264.0.0&type=5)**  
    Lightning components support specific data types in flows. Map only supported types and their collections between flows and Lightning components.
- **[Design Attribute Considerations for Flow Screen and Action Components](https://help.salesforce.com/s/articleView?id=platform.flow_considerations_salesforce_features_lc_attribute.htm&release=264.0.0&type=5)**  
    To expose an attribute in Flow Builder, define a corresponding `design:attribute` in the component bundle's design resource. Keep these guidelines in mind when defining design attributes for flows.
- **[Aura Component Runtime Considerations for Flows](https://help.salesforce.com/s/articleView?id=platform.flow_considerations_salesforce_features_lc_runtime.htm&release=264.0.0&type=5)**  
    Aura components in running flows can behave differently than expected. Review Aura component behavior by distribution method before deployment.