Skip to content
Menu

Charts

Smooth Area Trend

Smooth Area Trend: A single series area chart with a smoothly curved top edge, a soft tinted fill, faint horizontal gridlines and a readout that follows the pointer.

Using Smooth Area Trend

Smooth Area Trend uses the wide preview frame with a light/dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
accentColorcolor#38BDF8No additional limit in the metadata.
monthsnumber6From 4 to 12; step 1
fillOpacitynumber0.35From 0.05 to 0.7; step 0.05
showGridbooleantrueNo additional limit in the metadata.
animatebooleantrueNo additional limit in the metadata.
Which frameworks are available for Smooth Area Trend?

Smooth Area Trend 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 Smooth Area Trend depend on?

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

What accessibility details are visible in Smooth Area Trend?

The React source for Smooth Area Trend 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 Smooth Area Trend handle reduced motion?

Smooth Area Trend 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.

Connect your agent

Related open components