reopt design
DocsExploreTemplatesCanvasToolsPricing
Login
opt-uiopt-chartsopt-datagridopt-editoropt-calendaropt-filemanageropt-chatopt-shellbrandapp-ui
Overview205Core74Shells99Blocks32
ScoreBreakdown
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.

ScoreBreakdown

Shell

Explain a composite score through each dimension's value, weight, and meaning alongside the total.

analytics
Related docs
bun add @reopt-ai/opt-ui
Install and import
bash
bun add @reopt-ai/opt-ui
tsx
import { ScoreBreakdown } from "@reopt-ai/opt-ui";

Live preview

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

100%

설명 가능한 고객 점수

Engagement score
76out of 100Healthy

Weighted from recency, frequency, depth, and intent.

Recency30% weight
92

Last meaningful session was today.

Frequency25% weight
74

Five active days in the last 30 days.

Session depth20% weight
58

Median session contains six events.

Purchase intent25% weight
81

Two checkout sessions and one completed order.

Usage guidance

Best practices

  • Make axis weights sum to 1 so the total score can be verified.
  • Add a hint to each axis explaining what a low value means.

Usage to avoid

  • Use StatCard when only a total score is available without a breakdown.

ScoreBreakdown

PropTypeDefaultDescription
scoreRequirednumber—총점
maxnumber100총점 상한
axesRequiredScoreAxis[]—기여 축 배열. { id, label, value, hint?, weight? }
bandsScoreBand[]—점수 구간 이름과 색. { min, label, tone? }
formulaReactNode—총점 산출식 설명 한 줄
loadingbooleanfalse스켈레톤 표시
labelsScoreBreakdownLabels—문구 오버라이드
View test results

테스트 커버리지

2026년 7월 9일

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

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

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

Related components

opt-ui

DashboardGrid

Shells

Arrange stat cards in one to four columns with two-dimensional arrow-key navigation.

opt-ui

ReportBuilder

Shells

Build reports in four labeled steps: chart type, data, styling, and preview.

opt-ui

InsightsPanel

Shells

Review anomaly insights with severity cards, statistics filters, dismissal, and detection settings for type, Z-score, and days.

opt-ui

TimeRangeSelector

Shells

Choose time ranges using a Popover, DateRangePicker, and preset buttons.

opt-ui

ExportButton

Shells

Export data as CSV or JSON, or delegate PDF export to a callback through a dropdown menu.

opt-ui

SummaryRow

Shells

Standardize a row of StatCard metrics with skeleton cards during loading.

PreviousEventTimelineNextFlyout