# Sessions Line Card

https://fieldbook.lizardi.mx/components/sessions-line-stat-card

Category: Charts
![Still of the Sessions Line Card component, a Fieldbook UI component in Charts.](https://fieldbook.lizardi.mx/thumbs/sessions-line-stat-card.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/sessions-line-stat-card-5c983a0274.mp4 (5 s, silent)

Sessions Line Card: A seven day session card where the reading sits inside the plot, anchored bottom right, and a highlight dot rides the spline as you scrub.

## 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 | #9BE15D | No additional limit in the metadata. |
| strokeWidth | number | 2.5 | From 1 to 5; step 0.5 |
| smoothing | number | 0.8 | From 0 to 1; step 0.05 |
| trend | number | 8.2 | From -40 to 40; step 0.1 |
| title | text | Active Sessions | Up to 40 characters |

## Usage notes

Sessions Line Card uses the card preview frame with a light/dark theme setting.

### Which frameworks are available for Sessions Line Card?

Sessions Line Card 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 Sessions Line Card depend on?

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

### What accessibility details are visible in Sessions Line Card?

The React source for Sessions Line Card 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 Sessions Line Card handle reduced motion?

Sessions Line Card 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": "sessions-line-stat-card",
    "framework": "react"
  }
}
```

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

## Related open components

- [Spark line](https://fieldbook.lizardi.mx/components/spark-line)
- [Forecast tail line](https://fieldbook.lizardi.mx/components/forecast-tail-line)
- [Gridline area chart](https://fieldbook.lizardi.mx/components/gridline-area-chart)
- [Metric switch bar chart](https://fieldbook.lizardi.mx/components/metric-switch-bar-chart)
- [Plain trend line](https://fieldbook.lizardi.mx/components/plain-trend-line)
- [Profit/Loss Line Chart](https://fieldbook.lizardi.mx/components/profit-loss-line-chart)
