ConcentricRectangle

A shape whose corners you configure, individually or uniformly, to be squared, rounded, or concentric relative to a container shape's corners.

ComponentiOS 26.0+macOS 26.0+tvOS 26.0+visionOS 26.0+watchOS 26.0+ConcentricRectangle in SwiftUI

Declaration

React
import { ConcentricRectangle } from 'swiftui-react-native';
Swift
struct ConcentricRectangle

Initializers

9 SwiftUI initializers back <ConcentricRectangle>. The props you pass pick one.

React
<ConcentricRectangle />
Swift
init()

Takes no props.

Also takes the common view props: modifiers, style and testID.

See also

More in Shapes.