---
title: concentricCornerRadii
framework: swiftui
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: swiftui/geometryproxy/concentriccornerradii
---

# concentricCornerRadii

The concentric corner radii for this view’s bounds relative to the container shape.

## Declaration

```swift
var concentricCornerRadii: RectangleCornerRadii? { get }
```

## Return Value

Return Value The resolved corner radii, or nil if no container shape is set or the shape does not provide sufficient corner info.

## Discussion

Discussion Concentric corners share the same center point as the container’s corners, creating visually harmonious nested rounded rectangles. The radius for each corner is calculated as the container’s corner radius minus the distance from this view’s corner to the container’s corner. Unlike ConcentricRectangle, which calculates and draws the shape, this property only returns the calculated radii. This allows you to use the values for custom drawing, animations, or other purposes: GeometryReader { geometry in     Canvas { context, size in         if let radii = geometry.concentricCornerRadii {             let path = Path(                 roundedRect: CGRect(origin: .zero, size: size),                 cornerRadii: radii             )             context.fill(path, with: .color(.blue))         }     } } .containerShape(.rect(cornerRadius: 48)) Each corner’s radius depends on its position relative to the container: Corners aligned with the container’s corners get concentric radii Corners far from the container’s corners get zero radii The radius is clamped to the view’s maximum possible radius note: ConcentricRectangle

## See Also

### Accessing geometry characteristics

- [bounds(of:)](swiftui/geometryproxy/bounds(of:).md)
- [concentricCornerRadii(in:)](swiftui/geometryproxy/concentriccornerradii(in:).md)
- [containerCornerInsets](swiftui/geometryproxy/containercornerinsets.md)
- [frame(in:)](swiftui/geometryproxy/frame(in:).md)
- [size](swiftui/geometryproxy/size.md)
- [safeAreaInsets](swiftui/geometryproxy/safeareainsets.md)
- [subscript(_:)](swiftui/geometryproxy/subscript(_:).md)
- [transform(in:)](swiftui/geometryproxy/transform(in:).md)
