---
schema_version: "1"
id: 29677c250e6ae651ebf4e5befbbb0eb154324845d21aeb9e34ae929cd4ab9cd5
title: Supported aura:attribute Types
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/aura-platform/guides/aura/ref/ref-aura-attribute.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-aura-attribute.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2547cba4dbefb79f8e2ccc80bff73fcd8bf59e3a47dd76aed2b32b3979f4c1d3
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# Supported aura:attribute Types

`aura:attribute` describes an attribute available on an app, interface, component, or event.

|**Attribute Name**|**Type**|**Description**|
|------------------|--------|---------------|
|`access`|String|Indicates whether the attribute can be used outside of its own namespace. Possible values are `public` (default), and `global`, and `private`.|
|`name`|String|Required. The name of the attribute. For example, if you set `<aura:attribute name="isTrue" type="Boolean" />` on a component called `aura:newCmp`, you can set this attribute when you instantiate the component; for example,`<aura:newCmp isTrue="false" />`.|
|`type`|String|Required. The type of the attribute. For a list of basic types supported, see [Basic Types](https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-attr-types-basic.md).|
|`default`|String|The default value for the attribute, which can be overwritten as needed. When setting a default value, expressions using the `$Label`, `$Locale`, and `$Browser` global value providers are supported. Alternatively, to set a dynamic default, use an `init` event. See [Invoking Actions on Component Initialization](https://developer.salesforce.com/docs/platform/aura-platform/js-cb/js-cb-init-handler.md).|
|`required`|Boolean|Determines if the attribute is required. The default is `false`.|
|`description`|String|A summary of the attribute and its usage.|

All `<aura:attribute>` tags have name and type values. For example:

<!-- otherprops: set_clipboard -->
```nolang
<aura:attribute name="whom" type="String" />

```

**note:** Although type values are case insensitive, case sensitivity should be respected as your markup interacts with JavaScript, CSS, and Apex.

**See Also**  


-   [Component Attributes](https://developer.salesforce.com/docs/platform/aura-platform/components/components-attributes.md)

