# Raised Slice Donut

https://fieldbook.lizardi.mx/components/raised-slice-donut

Category: Charts
![Still of the Raised Slice Donut component, a Fieldbook UI component in Charts.](https://fieldbook.lizardi.mx/thumbs/raised-slice-donut.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/raised-slice-donut-22d42d7b69.mp4 (5 s, silent)

Raised Slice Donut: A donut where one slice is permanently raised above the ring by extending its outer radius, and the raise glides to any other slice on hover.

## 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 | #38BDF8 | No additional limit in the metadata. |
| activeIndex | number | 0 | From 0 to 4; step 1 |
| raise | number | 10 | From 0 to 24; step 1 |
| holeRatio | number | 0.55 | From 0.2 to 0.75; step 0.05 |
| hueRange | number | 90 | From 20 to 180; step 5 |

## Usage notes

Raised Slice Donut uses the card preview frame with a light/dark theme setting.

### Which frameworks are available for Raised Slice Donut?

Raised Slice Donut 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 Raised Slice Donut depend on?

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

### What accessibility details are visible in Raised Slice Donut?

The React source for Raised Slice Donut includes: attributes and handlers (aria-hidden, aria-label, aria-live, onKeyDown, tabIndex); explicit roles (button, 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 Raised Slice Donut handle reduced motion?

Raised Slice Donut reads the motion preference in its React source through matchMedia(prefers-reduced-motion). 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": "raised-slice-donut",
    "framework": "react"
  }
}
```

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

## Related open components

- [Donut share chart](https://fieldbook.lizardi.mx/components/donut-share-chart)
- [Donut with total](https://fieldbook.lizardi.mx/components/donut-with-total)
- [Engraved label pie](https://fieldbook.lizardi.mx/components/engraved-label-pie)
- [Leader line pie](https://fieldbook.lizardi.mx/components/leader-line-pie)
- [Outside Value Pie](https://fieldbook.lizardi.mx/components/outside-value-pie)
- [Seamless share pie](https://fieldbook.lizardi.mx/components/seamless-share-pie)
