Shapes
Rect
A rectangle at x, y in its Svg, rounded by rx. The Rect element's props, styles and an example, in Hyper Elements.
import { Rect } from "@hyper-elements/react";Reference
A rectangle at x, y in its Svg, rounded by rx.
Holds: nothing. Not in an Email.
Props:
x: a number (default0)y: a number (default0)width: a number from 0 (required)height: a number from 0 (required)rx: a number from 0
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)