line-chart-3

Single block view - Copy and use this block in your project: line-chart-3

Loading...
Line Chart 3 – Revenue Performance with Toggle Periods

Component Data

Name:
Line Chart 3 – Revenue Performance with Toggle Periods
Access:
Pro
Created:
2025-12-01
Updated:
2026-02-01
Released:
N/A
Type:
Block
line-chartchartdashboardanalyticsrevenuetogglerechartstailwindreact

Line Chart 3 – Revenue Performance Chart

A stylish revenue visualization with an integrated toggle group for period selection. Features a clean design with chart icon, total revenue calculation, and smooth line animations.

Key Features

  • Toggle Period Selector – 5D, 2W, 1M, 6M, 1Y options with instant data switch.
  • Dynamic Total Calculation – Revenue sum updates based on selected period.
  • Chart Icon Badge – Violet-themed icon container in header.
  • Export Button – Quick access to data export functionality.
  • Smooth Curves – Natural line interpolation for data flow.

Visual Design

  • Color Scheme – Violet-500 line with violet-100/950 icon backgrounds.
  • Toggle Styling – Gray-900 background when selected, white text.
  • Compact Layout – Efficient use of space in card format.

Use Cases

  • SaaS Revenue Tracking – Monitor MRR/ARR across time periods.
  • E-commerce Analytics – Track sales performance trends.
  • Subscription Metrics – Visualize recurring revenue growth.
  • Financial Reporting – Period-based revenue comparisons.

Technical Stack

  • Recharts – LineChart with CartesianGrid and smooth curves.
  • Tailwind CSS – Violet accent colors.
  • Radix UI – ToggleGroup, Card, Button components.
  • Lucide Icons – ChartNoAxesCombined, Info icons.

Didn't find what you were looking for?

Suggest block

We use cookies

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.

By clicking Accept, you agree to our use of cookies.
Learn more.