Skip to content
Menu

Charts

Engraved label pie

Engraved label pie: A solid pie chart that sets each category name inside its own slice in an inverted color, so the breakdown reads without any outside labels or leader lines.

Using Engraved label pie

Engraved label pie uses the card preview frame with a light/dark theme setting.

Customize the preview

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

ControlTypeDefaultPreview limits
accentcolor#38BDF8No additional limit in the metadata.
hueRangenumber90From 20 to 180; step 5
labelInsetnumber0.66From 0.4 to 0.9; step 0.02
gapnumber1From 0 to 6; step 0.5
showReadoutbooleantrueNo additional limit in the metadata.
Which frameworks are available for Engraved label pie?

Engraved label 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 Engraved label pie depend on?

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

What accessibility details are visible in Engraved label pie?

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

How does Engraved label pie handle reduced motion?

Engraved label pie reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: push: reduce ? 0 : isActive ? PUSH_PX : 0; reduce ? true : false. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components