Chart Reference Label
A recharts label for a reference line or dot — words on a baseline, a goal flag, or a value pill beside a point. Pass it as an element and recharts injects the viewBox.
tsx
import { ChartReferenceLabel } from "@pestoui/core"Text
The words written on a reference line, just above its left end, at the smallest step of the type scale.
Flag
A dark flag with a notch at the left end of a target line and a dot at each end of the dashed run. The flag paints over the start of the line, so the dashes leave from its point.
Pill
A card-coloured pill to the left of a reference dot: a muted label, then the value in bold. It is decorative and hidden from assistive tech — the chart's own summary carries the figure.
Props
Pesto UI · 117 documented components