1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month๐Ÿšจ Slop police๐Ÿšจ Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. mebius
  3. Chart Arc Geometry

Chart Arc Geometry

lib

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.

pnpm dlx shadcn@latest add "https://www.mebius.design/r/charts-arcs.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
lib/chart-arcs.ts