---
title: Namespace
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/namespace
---

# Namespace

A dynamic property type that allows access to a namespace defined by the persistent identity of the object containing the property (e.g. a view).

## Declaration

```swift
@frozen @propertyWrapper struct Namespace
```

## Mentioned in

Applying Liquid Glass to custom views

## Topics

### Creating a namespace

- [init()](swiftui/namespace/init().md)

### Getting the namespace

- [wrappedValue](swiftui/namespace/wrappedvalue.md)
- [Namespace.ID](swiftui/namespace/id.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Copyable](swift/copyable.md)
- [DynamicProperty](swiftui/dynamicproperty.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Synchronizing geometries

- [matchedGeometryEffect(id:in:properties:anchor:isSource:)](swiftui/view/matchedgeometryeffect(id:in:properties:anchor:issource:).md)
- [MatchedGeometryProperties](swiftui/matchedgeometryproperties.md)
- [GeometryEffect](swiftui/geometryeffect.md)
- [geometryGroup()](swiftui/view/geometrygroup().md)
