Lumeo

Sparkline

Compact inline SVG trend chart — drop anywhere: table cells, KPI strips, notification badges.

Installation

dotnet add package Lumeo

One-time app setup (AddLumeo(), CSS & JS) is covered in the installation guide.

Usage

@using Lumeo

<Sparkline />

When to Use

  • Show a trend inline next to a number, label, or status
  • Add tiny charts to DataGrid/Table cells without reaching for the full Chart component
  • Compose Tremor-style KPI strips where space is limited
  • Prefer SparkCard when you need a framed tile, or Chart for axes, tooltips, and legends
$12,450
+4.2%
12189222819343042384652
Ticker Price Change Trend
AAPL $189.42 +1.8%
MSFT $412.90 +0.6%
TSLA $243.11 -2.3%
NVDA $916.55 +3.4%

Switch chart type to compare Line, Area, and Bars.

Revenue
$48,290
Errors
1,204
Sessions
8,492

API Reference

  • SparkCard — Framed tile wrapping a sparkline with label/value
  • KpiCard — KPI tile with a SparkContent slot
  • Chart — Full-featured charting for when a sparkline is not enough