Back to blocksView all charts blocks


Installation
npx shadcn add @mylo-ui/chart-linePreview
Performance
Revenue Overview
Monthly revenue and profit trends
Financial Performance
Track your revenue and profit over time
Total Revenue
$35,000
+12.5%
Total Profit
$25,406
+8.2%
Profit Margin
72.6%
+2.1%
Usage
import { ChartLine } from "@/components/blocks/chart-line"
export default function Page() {
return <ChartLine />
}Dependencies
lucide-react
recharts
shadcn/ui Components
card
badge
button
Related Blocks
More charts blocks you might like

charts
Bar Chart
Bar chart for comparing values across categories with target comparison
Ready to use
/blocks/chart-bar
charts
Pie Chart
Pie chart showing part-to-whole relationships with breakdown
Ready to use
/blocks/chart-pie
charts
Area Chart
Area chart with gradient fills for showing cumulative data over time
Ready to use
/blocks/chart-area