Simple rectangles

<Plot grid inset={10}>
    <Rect
        {data}
        x1="x1"
        x2="x2"
        y1="y1"
        y2="y2"
        stroke="currentColor"
        fill="currentColor"
        fillOpacity={0.5} />
</Plot>

Open in Svelte playground