Use design attributes to control which attributes are exposed in the builder. A design resource lives in the same folder as your .cmp resource, and describes the design-time behavior of the Lightning component—information that visual tools need to display the component in a page or app.
What Can You Do with Design Resources?
- Render a field as a picklist
- Set a default value on an attribute
- Restrict a component to one or more objects