# Gridline area chart

https://fieldbook.lizardi.mx/components/gridline-area-chart

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

Gridline area chart: A card-framed area chart with two overlapping filled layers, rounded axis ticks, a faint gridline and a footer line calling out the trend.

## 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 |
| --- | --- | --- | --- |
| trendPercent | number | 8.4 | From 0 to 20; step 0.1 |
| trendDirection | select | up | Options: up, down |
| primaryColor | color | #FF6A1F | No additional limit in the metadata. |
| secondaryColor | color | #38BDF8 | No additional limit in the metadata. |
| showGrid | boolean | true | No additional limit in the metadata. |

## Usage notes

Gridline area chart uses the card preview frame with a light/dark theme setting.

### Which frameworks are available for Gridline area chart?

Gridline area 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 Gridline area chart depend on?

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

### What accessibility details are visible in Gridline area chart?

The React source for Gridline area chart includes: 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 Gridline area chart handle reduced motion?

Gridline area chart reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: delay: reduce ? 0 : 0.08; delay: reduce ? 0 : 0.12; delay: reduce ? 0 : 0.22. 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": "gridline-area-chart",
    "framework": "react"
  }
}
```

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

## Related open components

- [Area chart lite](https://fieldbook.lizardi.mx/components/area-chart-lite)
- [Smooth Area Trend](https://fieldbook.lizardi.mx/components/smooth-area-trend-chart)
- [Gradient Area Chart](https://fieldbook.lizardi.mx/components/gradient-fill-area-chart)
- [Series icon area chart](https://fieldbook.lizardi.mx/components/series-icon-area-chart)
- [Spoke area chart](https://fieldbook.lizardi.mx/components/spoke-area-chart)
- [Step area chart](https://fieldbook.lizardi.mx/components/step-area-chart)
