Launch sale — 60% off Pro
Contact
ChartLine

Not affiliated with official shadcn/ui. Visit ui.shadcn.com for official docs.

React A line chart with custom dots

A React line chart with custom Lucide React icon dots replacing standard circles for enhanced visual storytelling using shadcn/ui and Recharts

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Standard circles work, but custom icons add meaning. This React line chart replaces default dots with GitCommitVertical icons from Lucide React, creating git-commit-style markers along the trend line. Built with shadcn/ui and Recharts, the dot prop's render function positions icons at each data point with custom sizing (24x24). This approach transforms dots into semantic markers—use GitCommit for version history, Activity for health metrics, TrendingUp for growth points. Perfect for technical dashboards, development metrics, or any data where icon symbolism reinforces the story.

Pattern created by @haydenbleasel

Installation

Questions you might have