SwiftUI.js
ComponentsShape

Ellipse

Ellipse renders an oval surface inside the supplied frame, aligned with SwiftUI's `Ellipse`.

Ellipse renders an oval surface inside the supplied frame, aligned with SwiftUI's `Ellipse`.

Examples

Default

Preview unavailable for this example in the static docs build.

Show code
<Ellipse fill="#34c759" style={{ width: 180, height: 120 }}></Ellipse>

Variants

Preview unavailable for this example in the static docs build.

Show code
<Ellipse fill="#dcfce7" stroke="#15803d" strokeWidth={3} style={{ width: 200, height: 120 }}></Ellipse>

API

PropTypeRequiredDescription
fillstringNoNo description yet.
strokestringNoNo description yet.
strokeWidthnumberNoNo description yet.

Inherits additional props from IBaseComponent.

Overview

Ellipse renders an oval surface inside the supplied frame, aligned with SwiftUI's Ellipse.

On this page