React ThorVG Fiber
API Reference

Shape

2D vector graphics shape component

Props

Prop

Type

Notes

  • Must contain geometry children: Rect, Circle, or Path
  • Color format: [R, G, B, A] where each value is 0-255
  • Opacity range: 0 (transparent) to 255 (opaque)
  • Supports CSS-like transformations (x, y, rotation, scale)

On this page