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

ItemDetail

Block

Present an item or product with tags, author information, content, and reviews.

display
Related docs
npx @reopt-ai/opt-cli block add item-detail
Install and import
bash
npx @reopt-ai/opt-cli block add item-detail
tsx
import { ItemDetail } from "@/components/surfaces/item-detail";

Live preview

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

100%
  1. 에이전트 목록/
  2. 코드 리뷰 에이전트
🤖

코드 리뷰 에이전트

PR 코드를 자동 분석하고 리뷰 코멘트를 생성합니다.

Free
코드리뷰자동화v1.2.0
AAlice
1234 다운로드4.8 평점
text
1You are a code review agent. Analyze the PR diff and provide constructive feedback.

리뷰(2)

AAlice
2026-03-10

정말 유용합니다! 코드 리뷰 시간이 절반으로 줄었어요.

BBob
2026-03-08

대체로 좋지만 가끔 오탐이 있습니다.

ItemDetail

PropTypeDefaultDescription
nameRequiredstring—아이템 이름
descriptionstring—아이템 설명
pricenumber | string—가격 (0 = 무료)
iconstring—아이콘 이모지
tagsstring[]—태그/뱃지 배열
author{ name: string; avatar?: string }—저자 정보
statsItemDetailStat[]—통계 항목 (다운로드, 평점 등)
contentReactNode—메인 콘텐츠 블록
reviewsItemDetailReview[]—리뷰 목록
onReviewSubmit(rating: number, comment: string) => void—리뷰 제출 핸들러
maxRatingnumber5최대 별점
backHrefstring—뒤로가기 링크
backLabelstring—뒤로가기 라벨
onBack() => void—뒤로가기 핸들러
actionsReactNode—헤더 액션 슬롯
loadingbooleanfalse로딩 상태
labelsItemDetailLabels—i18n 라벨
classNamestring—최외곽 CSS 클래스

컴포넌트 의존 관계

깊이
▼ USES (6)ItemDetailbadgebreadcrumbavatarbuttonstar-ratingtextarea
View test results

테스트 커버리지

2026년 7월 9일

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

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

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

Related components

opt-ui

ProjectSettings

Blocks

Manage project settings, retention policies, cleanup previews, and storage usage with forms, tables, and code snippets.

opt-ui

CustomDashboard

Blocks

Arrange custom dashboard widgets with WidgetGrid, ReportBuilder, ReportWidget, and FilterBar.

opt-ui

DebugWorkspace

Blocks

Debug E2E tests with a test-list sidebar and tabs for video, screenshots, network, console, and traces.

opt-ui

VisualDiffManager

Blocks

Review screenshot regressions and approvals with a three-column snapshot list and image-diff viewer.

opt-ui

UserDetail

Blocks

Build user profiles with avatars, metrics, gauges, progress indicators, tables, and filters.

opt-ui

ProjectOverview

Blocks

Summarize a project with metrics, navigation cards, charts, tables, code snippets, and dashboard management.

PreviousMarketplaceCatalogNextDataExplorer