M
mebius

Chart arc geometry · mebius

sectorPath: the ring segments of the radial, donut and gauge cards (angles in radians clockwise from 12 o'clock, around the centre of a square box), their corners rounded the way Figma rounds an arc's: a cubic that starts the corner radius along each edge, held to half the segment's length and width.

npx shadcn@latest add @mebius/charts-arcs
Loading the source for charts-arcs…

charts-arcs