# Paired bar chart

https://fieldbook.lizardi.mx/components/paired-bar-chart

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

Paired bar chart: A grouped bar chart where each month shows two side-by-side bars, one per series, for comparing two measures across the same categories.

## 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 |
| --- | --- | --- | --- |
| primaryColor | color | #38BDF8 | No additional limit in the metadata. |
| secondaryColor | color | #FF6A1F | No additional limit in the metadata. |
| barRadius | number | 6 | From 0 to 14; step 1 |
| groupGap | number | 16 | From 4 to 32; step 2 |
| animate | boolean | true | No additional limit in the metadata. |

## Usage notes

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

### Which frameworks are available for Paired bar chart?

Paired bar chart 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 Paired bar chart depend on?

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

### What accessibility details are visible in Paired bar chart?

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

### How does Paired bar chart handle reduced motion?

Paired bar chart reads the motion preference in its React source through useReducedMotion(). 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": "paired-bar-chart",
    "framework": "react"
  }
}
```

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

## Related open components

- [Signed value bar chart](https://fieldbook.lizardi.mx/components/signed-value-bar-chart)
- [Highlighted bar chart](https://fieldbook.lizardi.mx/components/highlighted-bar-chart)
- [Inline labeled bar chart](https://fieldbook.lizardi.mx/components/inline-labeled-bar-chart)
- [Metric switch bar chart](https://fieldbook.lizardi.mx/components/metric-switch-bar-chart)
- [Smooth Area Trend](https://fieldbook.lizardi.mx/components/smooth-area-trend-chart)
- [Step area chart](https://fieldbook.lizardi.mx/components/step-area-chart)
