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

SettingsForm

Shell

Build settings forms from data with validation, radio buttons, and checkboxes.

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

Live preview

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

100%

기본 사용

테마

Usage examples

Settings form

SettingsForm

PropTypeDefaultDescription
fieldsRequiredFormFieldDef[]—폼 필드 정의 배열
onSubmit(values: Record<string, unknown>) => void | Promise<void>—제출 핸들러

컴포넌트 의존 관계

깊이
▲ USED BY (1)▼ USES (4)project-settingsSettingsFormformcheckboxradio-groupswitch
View test results

테스트 커버리지

2026년 7월 9일10/10 통과
10성공
0실패
10전체
  • 빈 fields일 때 EmptyState를 렌더링한다
  • 폼을 렌더링한다
  • 제출 버튼을 렌더링한다
  • checkbox 필드를 렌더링한다
  • radio 필드를 렌더링한다
  • defaultValue를 적용한다
  • 필드 레이블을 렌더링한다
  • placeholder를 표시한다
  • checkbox 값을 제출한다
  • radio 값을 제출한다

Blocks that use this component

opt-ui

ProjectSettings

Blocks

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

Related components

opt-ui

Form

Core

Build accessible forms with opt-ui-primitives Form APIs, field validation, specialized inputs, and shared form store hooks.

opt-ui

AuthForm

Shells

Switch between sign-in and sign-up forms with email and password validation and a remember-me option.

opt-ui

WizardForm

Shells

Guide sequential input with field definitions, per-step validation, an associated progress indicator, and a review step.

opt-ui

DynamicFieldForm

Shells

Add and remove fields at runtime with count limits, individual validation, and dynamic store updates.

opt-ui

FileUploadForm

Shells

Select files with metadata, image previews, size limits, and description input.

opt-ui

KeyValueEditor

Shells

Edit key-value pairs with dynamic rows, secret-value visibility, and validation.

PreviousSidebarNavNextAppMenubar