# `GSLayer findComponent:baseName:withSuffix:`

*Instance Method*

Finds a component glyph name for a base glyph and suffix context.

## Declaration

```swift
func findComponent(_ accentName: String, baseName: String, withSuffix suffix: String?) -> String?
```

```objc
- (NSString *) findComponent:(NSString *) accentName baseName:(NSString *) baseName withSuffix:(NSString *) suffix;
```

```python
findComponent_baseName_withSuffix_(accentName: str, baseName: str, suffix: str) -> str
```

## Return Value

A glyph name that exists in the font, or `nil` if no matching component is found.

## See Also

### Component Construction

- [`GSLayer makeComponents`](/Core/GlyphsCore/GSLayer/makeComponents) — Builds component shapes from glyph information.

