Arihant jain

Depth Chart

Component 6

About

An order book depth chart that visualizes cumulative bid and ask liquidity on either side of the mid price, with a crosshair that reports the resting size up to any price.

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

Code

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

Usage.tsx

import { DepthChart } from "@/components/ui/depth-chart";

export default function DepthChartDemo() {
  return (
    <div className="w-full max-w-xl p-6">
      <DepthChart />
    </div>
  );
}

More by Arihant jain

View all
  • Footer section

    Footer section

    1.9K
  • Multistep Form

    Multistep Form

    698
  • Animated Drawer

    Animated Drawer

    686
  • Status Badge

    Status Badge

    495
  • Stacked Circular Footer

    Stacked Circular Footer

    413
  • Input Modal

    Input Modal

    316
  • Large Name Footer

    Large Name Footer

    193
  • Profile Dropdown

    Profile Dropdown

    187

Explore more

Part of Spectrum UI — browse the full library on 21st.dev.