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

ExportButton

Shell

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

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

Live preview

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

100%

기본 사용

ExportButton

PropTypeDefaultDescription
dataRequiredRecord<string, unknown>[]—내보낼 데이터 배열
columnsExportColumn[]—컬럼 매핑 (key → header)
fileNamestring"export"파일 이름
formatsExportFormat[]["csv", "json"]지원 포맷
onExport(format: ExportFormat) => void—커스텀 내보내기 핸들러

컴포넌트 의존 관계

깊이
▼ USES (2)ExportButtondropdown-menubutton
View test results

테스트 커버리지

2026년 7월 9일2/2 통과
2성공
0실패
2전체
  • Export 버튼을 렌더링한다
  • 클릭 시 포맷 옵션을 표시한다

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

SummaryRow

Shells

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

opt-ui

ScoreBreakdown

Shells

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

PreviousTimeRangeSelectorNextSummaryRow