# Ellipse

> An SVG ellipse element.

- Category: [Text & media](https://tarve.dev/docs.md#text-media)
- Import: `import { Ellipse } from "@tarve/core";`
- Source: [packages/core/src/components/svg.ts:49](https://github.com/omarcosr/tarve/blob/main/packages/core/src/components/svg.ts#L49)

## Usage

```tsx title="Ellipse.tsx"
import { Ellipse, Svg } from "@tarve/core";

<Svg viewBox="0 0 48 24" width={96} height={48}>
  <Ellipse cx={24} cy={12} rx={20} ry={8} />
</Svg>
```

## Props

Ellipse has no props of its own beyond the inherited and common props below.

### Inherited from `EllipseProps`

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `cx` (required) | `number \| string` | — |  |
| `cy` (required) | `number \| string` | — |  |
| `rx` (required) | `number \| string` | — |  |
| `ry` (required) | `number \| string` | — |  |

Previous: [Circle](https://tarve.dev/docs/components/Circle.md) · Next: [Line](https://tarve.dev/docs/components/Line.md)

---

Tarve v0.13.8 · HTML version: https://tarve.dev/docs/components/Ellipse · Index for agents: https://tarve.dev/llms.txt
