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

FieldSidebar

Shell

Inspect available fields and value distributions, add columns, and apply include or exclude filters.

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

Live preview

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

100%

What is in this data

Expand a field for its distribution. The bars are shares of the sampled rows, not of the values listed — the sample size is stated so the reader can judge it.

Event

  • Top 4 values · 1,000

    /checkout41%
    /cart29%
    /pricing14%
    /10%

Properties

Columns: path, status

No filter applied yet.

FieldSidebar

PropTypeDefaultDescription
fieldsRequiredFieldSummary[]—필드 목록
expandedFieldstring | null—값을 펼친 필드
onExpandedFieldChange(field: string | null) => void—펼침 전환 — 호출자가 값을 조회
valuesFieldValueCount[]—펼친 필드의 상위 값
valuesLoadingbooleanfalse값 조회 중
sampledRowsnumber—집계 대상 행 수 (분모)
onToggleColumn(field: string, next: boolean) => void—컬럼 추가/제거
onFilter(field: string, value: string, intent: "include" | "exclude") => void—값 기준 필터
View test results

테스트 커버리지

2026년 7월 9일

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

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

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

Related components

opt-ui

ContentTabs

Shells

Switch between content panels with a wrapper around the Tabs primitive.

opt-ui

SidebarNav

Shells

Navigate a sidebar with Composite keyboard support and automatic pathname synchronization.

opt-ui

AppMenubar

Shells

Use a desktop-style menu bar with checkbox and radio menu items.

opt-ui

CommandPalette

Shells

Find commands with a Cmd+K-style palette combining Dialog, Combobox, and fuzzy search.

opt-ui

CommandPaletteTrigger

Shells

Open CommandPalette with an automatically bound Cmd+K shortcut.

opt-ui

ProjectSwitcher

Shells

Search and switch projects with a fuzzy-search combobox.

PreviousQueryBarNextInspectorLayout