Louis Studios

Market Card

Component 3

About

A dark stat card lit by a blue glow that follows its chart marker, with a rolling headline figure, a delta chip, and pointer, touch and keyboard scrubbing.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Market Card to your project and fits it to your theme.

Code

How Market Card is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import * as React from "react";
import { MarketCard } from "@/components/ui/market-card";

/** The stat card with a live figure: hover or drag along the line, or focus it and use the arrow keys. */
export default function MarketCardDemo() {
  const [i, setI] = React.useState(9);
  return (
    <main className="relative h-screen min-h-[340px] w-full overflow-hidden" style={{ backgroundColor: "#0c0c0c" }}>
      <MarketCard index={i} onIndexChange={setI} format={(v) => "$" + +v.toFixed(1) + "B"} style={{ width: "100%", height: "100%" }} />
    </main>
  );
}

More by Louis Studios

View all
  • Warp Carousel

    Warp Carousel

    492
  • Dot Tiles

    Dot Tiles

    120
  • Chapter Player

    Chapter Player

    73
  • LED Badges

    LED Badges

    57
  • Glow Rocker

    Glow Rocker

    51
  • Lens Clock

    Lens Clock

    46
  • Chrome Arcs

    Chrome Arcs

    44
  • Assistant Wall

    Assistant Wall

    39