> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# findUIByName

APISummary
Find `LynxUI` nodes based on the name attribute.

## Syntax

### Android

```java
public LynxBaseUI findUIByName(String name);
```

#### Parameters

- `name`: The name attribute of the view specified by the front end in the layout file.

#### Return

- The `LynxUI` node corresponding to the name attribute.

### iOS

```objc
- (nullable LynxUI *)uiWithName:(nonnull NSString *)name;
```

#### Parameters

- `name`: The name attribute of the view specified by the front end in the layout file.

#### Return

- The `LynxUI` node corresponding to the name attribute.

## Compatibility

**Compatibility Table**

**Query:** `lynx-native-api.lynx-view.find-ui-by-name`

[Source](https://github.com/lynx-family/lynx-website/tree/main/packages/lynx-compat-data/lynx-native-api/lynx-view/find-ui-by-name.json)

| Feature | Android | HarmonyOS | iOS | macOS | Windows | Web |
| --- | --- | --- | --- | --- | --- | --- |
| find-ui-by-name | Yes (1.0) | No | Yes (1.0) | No | No | No |

**`find-ui-by-name`**

find ui by name

**Specifications:**

