reopt design
DocsExploreTemplatesCanvasToolsPricing
Login
opt-uiopt-chartsopt-datagridopt-editoropt-calendaropt-filemanageropt-chatopt-shellbrandapp-ui
opt-charts40
Heatmap
reopt designreopt design

A design system for the AI era

  • Docs
  • Pricing
  • Releases
  • About
  • Contact
  • Terms of Service
  • Privacy Policy

reopt Inc.Business registration no. 217-88-02453contact@reopt.ai

© 2026 reopt Inc. All rights reserved.

Heatmap

Chart

Visualize row-by-column intensity while retaining table headings and values for screen readers.

heatmap
Related docs
bun add @reopt-ai/opt-charts
Install and import
bash
bun add @reopt-ai/opt-charts
tsx
import { Heatmap } from "@reopt-ai/opt-charts";

Live preview

Change the width and theme, then interact with the components.

100%

상관 행렬

지표 간 상관 행렬 히트맵
매출방문체류전환
매출10.820.31-0.12
방문0.8210.470.05
체류0.310.4710.63
전환-0.120.050.631
-11

활동 밀도

요일 × 시간대

요일별 시간대 활동 히트맵
6912151821
금2581294
토371115105
일14914126
115

Data states and accessible values

Refreshing keeps the previous matrix visible. Hidden values remain available through cell names and hover text. Tab into the matrix and use arrow keys to move between cells.

Activity data states
6912151821
금2581294
토371115105
일14914126
115

Heatmap

PropTypeDefaultDescription
dataRequirednumber[][]—행×열 값 매트릭스
xLabelsstring[]—열 레이블
yLabelsstring[]—행 레이블
minnumber—색상 스케일 하한. 생략하면 데이터에서 구한다
maxnumber—색상 스케일 상한. 생략하면 데이터에서 구한다
showValuesbooleanfalse셀 값의 시각적 표시 여부. false여도 스크린 리더와 hover로 확인 가능
showLegendboolean—행렬 아래 색 스케일 범례(최소→최대). 기본은 표시(false로만 끈다)
valueFormatter(value: number) => string—값을 표시 문자열로 바꾸는 함수. 기본은 로캘 숫자(formatNumber)
localestring—기본 숫자 포맷 로캘
loadingbooleanfalse새 데이터를 기다리는 동안 현재 표를 흐리게 유지
emptyStateReact.ReactNode—데이터가 없을 때 대신 그릴 내용. 기본은 labels.empty
labelsHeatmapLabels—빈 상태, 차트 이름, 셀 이름(cellLabel: 행 × 열: 값), 범례 이름. 지역화 지점
classNamestring—루트 요소에 붙는 CSS 클래스
aria-labelstring—스크린 리더용 레이블. 표 caption이 된다
colorScale[string, string]—저→고 색상 (기본: 테마 sequential 토큰)
scale"sequential" | "diverging""sequential"색이 값을 인코딩하는 방식. sequential은 한 색상 밝음→어둠(크기), diverging은 center를 중립 회색 중간점으로 둔 빨강↔파랑(극성 — 상관계수·전기 대비 변화)
centernumber0diverging 스케일의 중간점
View test results

테스트 커버리지

2026년 7월 9일

생성된 테스트 결과를 찾지 못했습니다.

Heatmap 항목이 문서 메타에 연결되어 있지만 현재 생성 파일에는 없습니다.

테스트를 추가한 뒤 `bun run generate:test-results`를 실행하거나 `testDescribe` 매핑을 다시 확인하세요.

Related components

opt-charts

ChartContainer

Charts

Wrap Recharts ResponsiveContainer with accessible attributes and consistent chart styling.

opt-charts

ChartTooltip

Charts

Style Recharts tooltips with tooltip semantics and hidden decorative markers through the content prop.

opt-charts

ChartLegend

Charts

Display chart legends as lists, with real buttons for interactive series toggles.

opt-charts

CalendarHeatmap

Charts

Show daily activity across a year in a GitHub-style calendar heatmap.

opt-charts

Treemap

Charts

Show hierarchical proportions as area-scaled rectangles with category colors, tooltips, titles, and keyboard focus.

opt-charts

RetentionHeatmap

Charts

Compare cohort retention using color intensity in a heatmap.

PreviousBulletChartNextDataBar