# Themed chart frame

https://fieldbook.lizardi.mx/components/themed-chart-frame

Category: Charts
![Still of the Themed chart frame component, a Fieldbook UI component in Charts.](https://fieldbook.lizardi.mx/thumbs/themed-chart-frame.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/themed-chart-frame-04c0864663.mp4 (5 s, silent)

Themed chart frame: A reusable grouped bar chart frame that gives every series a consistent color, a styled floating tooltip, and a legend that dims other series 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 |
| --- | --- | --- | --- |
| barGap | number | 4 | From 0 to 16; step 1 |
| cornerRadius | number | 4 | From 0 to 10; step 1 |
| primaryColor | color | #2563EB | No additional limit in the metadata. |
| secondaryColor | color | #60A5FA | No additional limit in the metadata. |
| showLegend | boolean | true | No additional limit in the metadata. |

## Usage notes

Themed chart frame uses the wide preview frame with a light/dark theme setting.

### Which frameworks are available for Themed chart frame?

Themed chart frame 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 Themed chart frame depend on?

The React metadata lists these npm dependencies beyond React: motion, clsx, tailwind-merge.

### What accessibility details are visible in Themed chart frame?

The React source for Themed chart frame includes: native elements (button); attributes and handlers (aria-hidden, aria-label, onKeyDown, tabIndex); explicit roles (img); key comparisons (ArrowLeft, ArrowRight, Escape). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Themed chart frame handle reduced motion?

Themed chart frame reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: reduce ? false : \{ scaleY: 0 \}. 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": "themed-chart-frame",
    "framework": "react"
  }
}
```

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

## Related open components

- [Named point line](https://fieldbook.lizardi.mx/components/named-point-line)
- [Area chart lite](https://fieldbook.lizardi.mx/components/area-chart-lite)
- [Candle Price Chart](https://fieldbook.lizardi.mx/components/candle-price-chart)
- [Donut share chart](https://fieldbook.lizardi.mx/components/donut-share-chart)
- [Gradient Area Chart](https://fieldbook.lizardi.mx/components/gradient-fill-area-chart)
- [Gridline area chart](https://fieldbook.lizardi.mx/components/gridline-area-chart)
