# Plain trend line

https://fieldbook.lizardi.mx/components/plain-trend-line

Category: Charts
![Still of the Plain trend line component, a Fieldbook UI component in Charts.](https://fieldbook.lizardi.mx/thumbs/plain-trend-line.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/plain-trend-line-98f6edd9f7.mp4 (5 s, silent)

Plain trend line: A minimal single series line chart with a smooth undecorated curve and no point markers, kept as bare and legible as a trend line can be.

## 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 |
| --- | --- | --- | --- |
| accentColor | color | #38BDF8 | No additional limit in the metadata. |
| strokeWidth | number | 2 | From 1 to 4; step 0.5 |
| showGrid | boolean | true | No additional limit in the metadata. |
| animate | boolean | true | No additional limit in the metadata. |

## Usage notes

Plain trend line uses the card preview frame with a light/dark theme setting.

### Which frameworks are available for Plain trend line?

Plain trend line 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 Plain trend line depend on?

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

### What accessibility details are visible in Plain trend line?

The React source for Plain trend line includes: attributes and handlers (aria-hidden, aria-label, aria-live, onKeyDown, tabIndex); explicit roles (img); key comparisons (ArrowLeft, ArrowRight, End, Escape, Home). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Plain trend line handle reduced motion?

Plain trend line reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: duration: animate &amp;&amp; !reduce ? 0.5 : 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": "plain-trend-line",
    "framework": "react"
  }
}
```

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

## Related open components

- [Wiping multi series line](https://fieldbook.lizardi.mx/components/wiping-multi-series-line)
- [Series Switch Trend](https://fieldbook.lizardi.mx/components/series-switch-trend)
- [Forecast tail line](https://fieldbook.lizardi.mx/components/forecast-tail-line)
- [Gridline area chart](https://fieldbook.lizardi.mx/components/gridline-area-chart)
- [Named point line](https://fieldbook.lizardi.mx/components/named-point-line)
- [Smooth Area Trend](https://fieldbook.lizardi.mx/components/smooth-area-trend-chart)
