---
schema_version: "1"
id: 72a0bbf2376470e321b266293523a66d7b82581007970926bde8c68226d8dcdd
title: Design Attribute Considerations for Flow Screen and Action Components
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_attribute.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_considerations_salesforce_features_lc_attribute.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: cc6a5c0edf37b6bb8232aa7c2d5c941831e7fe278796a04d80cf5a4cb4b154e6
description: 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.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Design Attribute Considerations for Flow Screen and Action Components

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.

### 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>

## Supported Attributes on `design:attribute` Nodes

In a `design:attribute` node, Flow Builder supports only the `name`, `label`, `description`, and `default` attributes. The other attributes, like `min` and `max`, are ignored.

For example, for this design attribute definition, Flow Builder ignores `required` and `placeholder.`

```
<design:attribute name="greeting" label="Greeting" placeholder="Hello" required="true"/>
```

## Calculating Minimum and Maximum Values for an Attribute

To validate min and max lengths for a component attribute, use a flow formula or the component's client-side controller.

## Modifying or Deleting `design:attribute` Nodes

If a component’s attribute is referenced in a flow, you can’t change the attribute’s type or remove it from the design resource. This limitation applies to all flow versions, not just active ones. Remove references to the attribute in all flow versions, and then edit or delete the attribute in the design resource.