Skip to Content
✨ QuickCode UI keeps growing! More components, more features, and more ways to make your projects shine. Stay tuned & maybe… hire me or sponsor me 😉 
DocumentationAreaChart

AreaChart

A responsive area chart component built on Recharts for visualizing data trends and comparisons over time.

Install Dependencies

npx
quickcode-ui add AreaChart

Examples

Basic

Basic Area Chart

Linear

Linear Area Chart

Step

Step Area Chart

Stacked

Stacked Area Chart

With Legend

Area Chart with Custom Legend

Desktop
Mobile

Props

ChartContainer

PropTypeDefaultDescription
configChartConfigConfiguration object defining chart colors and labels
childrenReactNodeChart components to render
classNamestringAdditional CSS classes

AreaChart

PropTypeDefaultDescription
dataany[]Array of data objects to visualize
marginobjectChart margins configuration
classNamestringAdditional CSS classes

ChartTooltipContent

PropTypeDefaultDescription
indicator'line' | 'dot' | 'dashed''dot'Visual indicator style
hideLabelbooleanfalseHide the tooltip label
hideIndicatorbooleanfalseHide the visual indicator
classNamestringAdditional CSS classes
Last updated on