---
schema_version: "1"
id: 7184655f83243945266d50c9b90e98ff429162758679f72637cab7825a85b55e
title: Design Attribute Considerations for Flow Screen Components and Local Actions
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/aura-platform/guides/aura/components/components-config-for-flow-tips-attributes.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/components-config-for-flow-tips-attributes.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8cb1e856309fcec0f4dc0a17adbd7c641a45e419988ec5694a3a71f91a5240bd
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# Design Attribute Considerations for Flow Screen Components and Local Actions

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.

****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.

```nolang
<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.

**See Also**  


-   [*Component Library*: lightning:availableForFlowScreens Interface](https://developer.salesforce.com/docs/component-library/bundle/lightning:availableForFlowScreens/documentation)

-   [*Component Library*: lightning:availableForFlowActions Interface](https://developer.salesforce.com/docs/component-library/bundle/lightning:availableForFlowActions/documentation)

