---
title: Anchor
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/anchor
---

# Anchor

An opaque value derived from an anchor source and a particular view.

## Declaration

```swift
@frozen struct Anchor<Value>
```

## Overview

Overview You can convert the anchor to a Value in the coordinate space of a target view by using a GeometryProxy to specify the target view.

## Topics

### Getting the anchor’s source

- [Anchor.Source](swiftui/anchor/source.md)

## Relationships

### Conforms To

- [CoordinateSpaceValue3D](spatial/coordinatespacevalue3d.md)
- [Copyable](swift/copyable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Accessing geometric constructs

- [Axis](swiftui/axis.md)
- [Angle](swiftui/angle.md)
- [UnitPoint](swiftui/unitpoint.md)
- [UnitPoint3D](swiftui/unitpoint3d.md)
- [DepthAlignmentID](swiftui/depthalignmentid.md)
- [Alignment3D](swiftui/alignment3d.md)
- [GeometryProxyCoordinateSpace3D](swiftui/geometryproxycoordinatespace3d.md)
