# getLocalId()

Gets the ID set using the `aura:id` attribute. Pass the local ID into `find()` on the parent component to locate this child component.

## Signature

`getLocalId()`

**See Also**

- [find()](/docs/platform/aura-platform/guide/ref-jsapi-component-find.md)
