# UGHeatmapChart 热力图

> 适配器：React；状态：available；slug：`heatmap-chart`。

用于以二维色阶展示活跃度、密度和时间分布。

## 适用场景

- 二维时间或分类数据需要快速发现密集区和低谷。

## 不适用场景

- 需要精确读取全部数字时使用 Table；只有单维分类时使用 BarChart。

## 公开入口

- 包入口：`@ug666/ui-react/components`
- 公开成员：`UGHeatmapChart`
- 交互文档：[https://ui.ug666.top/react/components/heatmap-chart](https://ui.ug666.top/react/components/heatmap-chart)

```tsx
import { UGHeatmapChart } from '@ug666/ui-react/components'
```

## 使用规则

- 具体 Props、事件、插槽和默认值必须读取当前包类型与组件文档，不得猜测。
- 受控值使用当前组件声明的 value/onValueChange 或公开回调。
- 涉及 Hook、Portal 或浏览器状态时保留 client boundary。
- 只通过公开 Props、事件、插槽、class/className 和语义 Token 扩展。

## 相关候选

- [bar-chart](https://ui.ug666.top/ai/react/components/bar-chart.md)
- [trend-chart](https://ui.ug666.top/ai/react/components/trend-chart.md)
- [table](https://ui.ug666.top/ai/react/components/table.md)

## 生成前检查

- 当前适配器是否真实提供该组件。
- 导入路径、组件名和 API 是否存在于当前版本类型声明。
- 是否覆盖长文本、窄容器、键盘、焦点、disabled、loading 和错误状态。
