# Animated Time Axis

https://fieldbook.lizardi.mx/components/animated-time-axis

Category: Charts
![Still of the Animated Time Axis component, a Fieldbook UI component in Charts.](https://fieldbook.lizardi.mx/thumbs/animated-time-axis.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/animated-time-axis-885ca22841.mp4 (5 s, silent)

Animated Time Axis: A row of date labels beneath a line chart that auto-picks an evenly spaced subset to avoid crowding, and fades labels near the hovered point.

## 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 |
| --- | --- | --- | --- |
| numTicks | number | 5 | From 3 to 9; step 1 |
| fadeNearCursor | boolean | true | No additional limit in the metadata. |
| accent | color | #38BDF8 | No additional limit in the metadata. |

## Usage notes

Animated Time Axis uses the wide preview frame with a light/dark theme setting.

### Which frameworks are available for Animated Time Axis?

Animated Time Axis 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 Animated Time Axis depend on?

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

### What accessibility details are visible in Animated Time Axis?

The React source for Animated Time Axis includes: attributes and handlers (aria-hidden, aria-label, 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 Animated Time Axis handle reduced motion?

Animated Time Axis reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: reduce ? \{ left: \{ duration: 0 \}, opacity: \{ duration: 0 \} \} : \{ left: \{ type: "spring", stiffness: 340, damping: 32 \}, opacity: \{ duration: 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": "animated-time-axis",
    "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)
- [Gridline area chart](https://fieldbook.lizardi.mx/components/gridline-area-chart)
- [Activity cell heatmap](https://fieldbook.lizardi.mx/components/activity-cell-heatmap)
- [Candle Price Chart](https://fieldbook.lizardi.mx/components/candle-price-chart)
- [Concentric Ring Chart](https://fieldbook.lizardi.mx/components/concentric-ring-chart)
- [Donut share chart](https://fieldbook.lizardi.mx/components/donut-share-chart)
