v0.20.1

Points

Points are dots that can be rendered at a location (x, y).

import { Mafs, Point, Coordinates } from "mafs"

function SimplePoint() {
  return (
    <Mafs>
      <Coordinates.Cartesian />
      <Point x={1} y={1} />
    </Mafs>
  )
}

Props

<Point ... />
View on GitHub
NameDescriptionDefault
x*
number
y*
number
color
string
var(--mafs-fg)
opacity
number
1
svgCircleProps
SVGProps<SVGCircleElement>
{}