This mirrors packages/react/README.md directly. See also the generated API reference.
@rekhly/reactReact bindings for Rekhly Visuals. Not a second renderer — every component here mounts the same imperative chart from @rekhly/charts-2d / -3d / -finance / -geospatial that @rekhly/core exposes.
import { XYChart, DashboardChart } from "@rekhly/react";
function Panel() {
return (
<div style={{ height: 320 }}>
<XYChart aria-label="Revenue" />
</div>
);
}
<XYChart>, <BarChart>, <HeatmapChart>, <Chart3D>, <FinancialChart>, <MapChart>, <PolarChart>, <ParallelChart>, <DataGridChart>, <LinearGaugeChart>, <DashboardChart> — responsive by default: each fills its parent and resizes via ResizeObserver as the container changes, desktop through mobile. <DashboardChart> collapses to a single column below the mobile breakpoint (480px).
useResponsiveChart(mount, deps) / useContainerSize() — the hooks thecomponents above are built on, for mounting a custom chart type.
ReactChartHandle, RefCounted, mountXY/mountBar/… — the lower-level imperative host layer (React 18/19 Strict Mode double-invoke leaves exactly one live chart).
REKHLY_BREAKPOINTS — { mobile: 480, tablet: 768, desktop: 1024 },shared by every responsive component.
.getSeries()[0].appendSamples(...) on the chart instance directly.
useContainerSize returns a stable fallback until mounted in a browser: Next.js server render never touches ResizeObserver.
Got any questions? I'm happy to help with products, licensing, and examples.