Shapes

Circle

A circle centered at cx, cy in its Svg. The Circle element's props, styles and an example, in Hyper Elements.

import { Circle } from "@hyper-elements/react";

Reference

A circle centered at cx, cy in its Svg.

Holds: nothing. Not in an Email.

Props:

  • cx: a number (default 0)
  • cy: a number (default 0)
  • r: a number from 0 (required)

style:

  • fill: color (default "#000000", Background). Its inside (“transparent” for none).
  • stroke: color (Border). Its outline’s color.
  • strokeWidth: a number from 0 (Border)
  • opacity: a number from 0 to 1 (Effects)