# Leader line pie

https://fieldbook.lizardi.mx/components/leader-line-pie

Category: Charts
![Still of the Leader line pie component, a Fieldbook UI component in Charts.](https://fieldbook.lizardi.mx/thumbs/leader-line-pie.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/leader-line-pie-7b6dad0814.mp4 (5 s, silent)

Leader line pie: A solid pie chart whose values sit outside the circle, each tied back to its slice by a two-segment leader line.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| accent | color | #FF4D8D | No additional limit in the metadata. |
| hueRange | number | 90 | From 20 to 180; step 5 |
| labelDistance | number | 20 | From 8 to 40; step 2 |
| showLeaders | boolean | true | No additional limit in the metadata. |
| gap | number | 1 | From 0 to 6; step 0.5 |

## Usage notes

Leader line pie uses the card preview frame with a light/dark theme setting.

### Which frameworks are available for Leader line pie?

Leader line pie is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

### What does Leader line pie depend on?

The React metadata lists these npm dependencies beyond React: motion.

### What accessibility details are visible in Leader line pie?

The React source for Leader line pie includes: attributes and handlers (aria-hidden, aria-label, aria-live, aria-pressed, onKeyDown, tabIndex); explicit roles (button); key comparisons (ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Enter, Escape, Space). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Leader line pie handle reduced motion?

Leader line pie reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: reduce ? 360 : 0; reduce ? 360 : sweepDeg; reduce \|\| revealed\[i\] ? \{ opacity: 1, x: 0 \} : \{ opacity: 0, x: s.side === "right" ? -4 : 4 \}. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "leader-line-pie",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Engraved label pie](https://fieldbook.lizardi.mx/components/engraved-label-pie)
- [Outside Value Pie](https://fieldbook.lizardi.mx/components/outside-value-pie)
- [Seamless share pie](https://fieldbook.lizardi.mx/components/seamless-share-pie)
- [Donut share chart](https://fieldbook.lizardi.mx/components/donut-share-chart)
- [Area chart lite](https://fieldbook.lizardi.mx/components/area-chart-lite)
- [Candle Price Chart](https://fieldbook.lizardi.mx/components/candle-price-chart)
