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