Glow Histogram Card

A neon gradient histogram beside the ink stat card: bars rise on a soft spring with glowing caps that fade into the card, values drift live and hover / ← → lifts a bar with its value.

Try it: Hover the bars or focus and press ← →.

Brings its own background. Ink card that stays dark in both themes (neon reads best on black); every text pair meets AA on #050505.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/glow-histogram-card.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/glow-histogram-card. You can also copy the source into components/ui/glow-histogram-card.tsx (view on GitHub).

Usage

import { GlowHistogramCard } from '@/components/ui/glow-histogram-card'

Props

Component props
PropTypeDefaultNotes
binsHistogramBin[]8 days{ label, value }
liveMsnumber2800Drift interval; 0 disables.
accentstring'#5bff7a'Neon hue.
classNamestring—Extra classes merged onto the root.

Dependencies

  • motion
  • lucide-react
  • Budget Area Card

    A soft white squircle with a big rolling total, a delta pill and floating soft-3D banknotes. An indigo stepped area chart draws itself in with drifting sparkles and an end arrow, and a tooltip…

  • Glow Level Card

    The ink stat card with segmented neon level meters: segments light left to right with a bloom, levels re-balance live, and hovering or focusing a row reveals its channel and share.

  • Pastel Object Carousel

    A cover-flow of pastel portrait cards with floating caption panels. A heavily damped spring carries drags; neighbours tuck behind at 85%, and each layered CSS-3D object (coins, calendar, key, lock…

  • Glow Candle Card

    An ink “Sales Report” card with monospaced rolling numerals, a neon delta and a glowing candlestick chart: candles grow from their midpoints, new ones stream in live and a crosshair shows OHLC on…

  • Sparkline KPI Tile

    A compact metric tile with a live dot, rolling numerals, a delta chip and a smooth sparkline that draws in, streams new points and shows a crosshair value on hover or ← →.

  • Smart Widget Stack

    An iOS-style widget stack: the top widget sits at full size with the next ones peeking above; scroll, swipe vertically, use ↑ ↓ or the side dots to flip through on a damped spring while content…

See all 13 Data Widgets components