# Polyline

> An SVG polyline element.

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

## Usage

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

<Svg viewBox="0 0 24 24" size={64}>
  <Polyline points="3 17 9 11 13 15 21 7" />
</Svg>
```

## Props

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

### Inherited from `PolylineProps`

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `points` (required) | `string` | — |  |

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

---

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