COMPONENT market-stats
Market Stats
Compact inline stats bar showing volume, trade count, and unique trader count with icons. Pure presentation — pass data directly, no hook needed. Key props: volume (number, 24h USDH), trades (number, total count), traders (number, unique count).
Install
$
npx shadcn@latest add https://ui.purrdict.xyz/r/market-stats.json Preview
$42.5Kvolume
186trades
24traders
Usage
import { MarketStats } from "@/components/hip4/market-stats"
<MarketStats volume={42500} trades={186} traders={24} /> Props
| Prop | Type | Description |
|---|---|---|
volume | number | 24h volume in USDH |
trades | number | Total trade count |
traders | number | Unique trader count |
Dependencies
Registry components