@bgub/fig-charts
v0.1.0
Published
Native Fig adapter for TanStack Charts
Readme
Fig Charts
A native Fig adapter for TanStack Charts, pinned to 0.18.0. Import Chart from
@bgub/fig-charts/chart and pass TanStack ChartHostOptions (a definition, height,
accessible label, and optional callbacks).
Fig owns the container. TanStack owns SVG rendering, responsive measurement, pointer and keyboard focus, and tooltips. The adapter updates the existing host on renders and destroys it when Fig aborts the element binding. No React adapter or product-specific calculations are included. Server rendering reserves chart height; the interactive SVG mounts in the browser.
Consumers authoring definitions must declare @tanstack/charts directly.
