Path

An SVG path element.

Path rendered by Tarve Path rendered by Tarve
Native render. The live version loads when this comes into view.

Import

import { Path } from "@tarve/core";

Usage

Path.tsx
import { Path, Svg } from "@tarve/core";

<Svg viewBox="0 0 24 24" size={64}>
  <Path d="M3 10.8 12 3l9 7.8V21h-6v-7H9v7H3z" />
</Svg>

Props

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

Inherited from PathProps 1 props
PropTypeDefault
d required string—