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

TrendChart

Chart

Combine a Card and AreaChart with the title and description linked to the chart's accessible name.

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

Live preview

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

100%

Basic Usage

카드 제목과 설명은 차트 영역의 accessible name/description으로 자동 연결됩니다.

Revenue Trend

Monthly revenue and profit

Single Series

Weekly Visitors

Number of unique visitors per day

With Header Actions

Sales Overview

Last 6 months

Custom Height

height=200

Compact Chart

TrendChart

PropTypeDefaultDescription
titleRequiredstring—차트 제목
descriptionstring—차트 설명
dataRequiredChartDataPoint[]—차트 데이터 배열
seriesRequiredChartSeriesDef[]—시리즈 정의
heightnumber250차트 높이
classNamestring—카드 루트에 붙는 CSS 클래스
chartPropsOmit<AreaChartProps, 'data' | 'series' | 'height'>—AreaChart 추가 props
headerRightReactNode—헤더 우측 커스텀 콘텐츠
loadingboolean—새 데이터를 기다리는 동안 차트를 흐리게 유지. chartProps.loading과 같다
emptyStateReactNode—데이터가 없을 때 차트 자리에 그릴 내용
labelsTrendChartLabels—차트 접근성 이름(chartName: title → 문자열). 지역화 지점
aria-labelstring—스크린 리더용 레이블

컴포넌트 의존 관계

깊이
▼ USES (1)TrendChartarea-chart
View test results

테스트 커버리지

2026년 7월 9일3/3 통과
3성공
0실패
3전체
  • 제목을 렌더링한다
  • 설명을 표시한다
  • article role과 제목 기반 접근성 이름을 가진다

Related components

opt-charts

AreaChart

Charts

Display trends and time series with filled areas and optional gradients.

opt-charts

RetentionHeatmap

Charts

Compare cohort retention using color intensity in a heatmap.

opt-charts

MetricsCard

Charts

Pair a key metric with a Sparkline to show its value and trend together.

opt-charts

ReportWidget

Charts

Render report data as line, bar, area, pie, scatter, gauge, funnel, sparkline, or metric widgets.

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.

PreviousMetricsCardNextEventSparkline