KPI cards with sparkline
Also called: stat cards
Dashboard stat cards where the number counts up and the sparkline draws itself left to right. Hovering the chart shows the value for each day.

When to use it
Top of any dashboard: sales, bookings, subscriptions, tickets. Feed your real numbers through data-dados; each item takes a prefix, suffix, decimals and a change value. Set sobe=false on metrics where a drop is good (cancellations, response time) so the change color stays correct.
How to add it to your site
- Copy the prompt in the gallery. It comes with the effect's name and the full code. The prompt text is written in Portuguese, and AI builders handle that fine.
- Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
- Done: the AI adds the effect to your project, just like you saw it here.
Use it in HTML
The effect is plain JavaScript, no library. Just put the data-efeito attribute on the element:
<div data-efeito="painel-kpi" data-dados='[{"rotulo":"Faturamento","valor":48920,"prefixo":"R$ ","variacao":12.4,"serie":[31,34,33,38,36,41,44,47,52]}]'></div>
More dashboard effects
- Progress ringsactivity rings
- Stacked columns, toggle series from legendColunas empilhadas com legenda ligável
- Live activity feedFeed de atividade ao vivo
- Animated sales funnelconversion funnel
- Waterfall chart, from revenue to profitGráfico de cascata
- Line chart with tooltiparea chart
- Live scrolling chart, real-time chartGráfico em tempo real
- Responsive dashboard layoutadmin shell