Dashboard

Mini panel

A compact metric panel: the number spins on a digit reel until it lands on the value, while a mini sparkline next to it draws in left to right; a rainbow glow breathes under the card.

What you can change

  • the metric title, the value, and the trend pill for your own data
  • the trend direction via trendTone (up/down) — colors the pill
  • the mini chart points via spark for a real data series

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.ru/c/dashboard-anim-001?lang=en&theme=dark

2Paste into the chat
3Get it in your project

Not sure where to paste it? Step-by-step guide

Show the full instructions

What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.

Loading…

For developers

The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.

Technical notes

The component is self-contained: one file, zero dependencies, palette in local --vibeui-dashboard-anim-001-* variables. It takes the theme from the environment via light-dark() plus a rule for the .dark class, so it does not stay light in a dark project. The number is not plain text: each digit sits in its own column with a stack of 0–9 that rides up until it lands on the right value; the rest of the string (space, $, %, comma) simply fades in on the same beat. The mini sparkline next to it draws left to right via stroke-dashoffset, with the fill under the line and the end dot following after. The cycle loops forever: once counted and drawn, the panel briefly fades out and counts again. The real value is duplicated as a hidden string for screen readers; the reel and chart are decorative. Everything stops under prefers-reduced-motion.

Tags

  • dashboard
  • metric
  • counter
  • sparkline
  • chart
  • animated
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…