Define forms with the typed gui builder API, or as schema-validated JSON. Both produce the same serializable definition.
One definition renders in React, Angular, Lit, Vue, or vanilla JS.
Validation, conditional fields, i18n, and accessibility come from the schema and runtime.
MCP server for GolemUI dynamic forms: gives AI coding assistants schema validation and form generation for GolemUI form definitions. Open source (MIT).
2026-11-14
ดาว
—
เครื่องมือ
—
อัปไทม์
—
The output is plain data: store it, transfer it, diff it, generate it.
Installation
Install the four @golemui/* packages for your framework. The versions are published together; use matching versions.
# React
npm i @golemui/core @golemui/react @golemui/gui-react @golemui/gui-shared
# Angular
npm i @golemui/core @golemui/angular @golemui/gui-angular @golemui/gui-shared
# Lit
npm i @golemui/core @golemui/lit @golemui/gui-lit @golemui/gui-shared
# Vue
npm i @golemui/core @golemui/vue @golemui/gui-vue @golemui/gui-shared
# Vanilla JS (web component)
npm i @golemui/core @golemui/lit @golemui/gui-lit @golemui/gui-shared
Import the two stylesheets once, in this order, anywhere in your app entry:
The submit button stays disabled while the form is invalid ($formIsInvalid is a built-in validity flag); on submit, formSubmit receives the collected data.
The same formDef value renders in every supported framework. See Integrations for per-framework setup, and the starter templates under templates/ for runnable examples.
Core concepts
Form definition. A form is an array of nodes (or a single node). Each node is either a gui builder result or a render function. The output is serializable JSON, so a definition can be stored, transferred, and rendered later.
The gui builder. Exported from @golemui/gui-shared, grouped into namespaces:
For vanilla JS, import @golemui/gui-lit to register the <gui-form> custom element, then set el.config = config and listen for the formSubmit event (e.detail is the FormSubmitEvent).
Features
Validation.@standard-schema/spec compliant. Built-in string, number, boolean, array, and custom validators with rules such as required, minLength, format, minimum/maximum, and const. Error messages are localizable, and timing is configurable via validateOn (change, blur, submit, eager). Docs
Internationalization. Provide an I18nTranslator adapter (i18next, Lingui, or your own) through localization. Labels, hints, and validator messages are translatable, with live language switching and automatic RTL. Docs
Accessibility. Native form elements with ARIA wiring managed for you: aria-describedby for hints, aria-invalid and aria-errormessage on errors, plus keyboard navigation on interactive widgets.
Theming. Styling is driven by CSS custom properties (design tokens) from a single stylesheet. Override tokens, or supply your own widget components through customWidgetLoaders. Docs
AI assistants (MCP).@golemui/gui-mcp ships a golemui-mcp Model Context Protocol server with tools to validate form definitions, generate them from JSON Schema or OpenAPI, and type-check gui.* code.
AI assistants (skill). An installable agent skill grounds coding agents in the real GolemUI API even without the MCP connected - npx skills add golemui/golemui (works with Claude Code, Cursor, and other skills.sh-compatible agents). Its API reference is generated from the same compile-verified registry the MCP serves, so the two never disagree.
Packages
Package
Description
@golemui/gui-react / -angular / -lit / -vue
Framework form component and bindings
@golemui/gui-shared
The gui builder, form definition types (GuiFormInitConfig) and forms.css
@golemui/gui-components
Lit web components, usable with or without forms, and their stylesheets
@golemui/core
Framework-agnostic form runtime and shared types (FormEvent, ValidateOn)
@golemui/gui-validators
Validation schemas (@standard-schema/spec)
@golemui/schemas
The shared core JSON Schema (common defs) and the schema tree generator
@golemui/gui-schemas
JSON Schemas for gui form definitions, generated from the widget manifest
@golemui/gui-mcp
MCP server for coding assistants
Import only from a package's public entry points. The @golemui/*/internals paths are internal and unstable.
Documentation
golemui.com for full docs, API reference, per-framework guides, examples, and migration paths.
MCP server for GolemUI dynamic forms: gives AI coding assistants schema validation and form generation for GolemUI form definitions. Open source (MIT).
คัดลอกคอนฟิก stdio สำหรับ Cursor, Claude Desktop, Claude Code หรือ VS Code ได้ในหน้านี้ คอนฟิกนี้ใช้การติดตั้งของผู้เผยแพร่ ไม่ใช่พร็อกซีของ PlugMCP
@golemui/gui ต้องใช้ API key ไหม?
ระเบียนนี้ไม่ได้ระบุตัวแปรสภาพแวดล้อมที่จำเป็น
@golemui/gui ใช้ทรานสปอร์ตแบบใด?
@golemui/gui ทำงานแบบโลคัลผ่าน stdio
@golemui/gui ถูกตรวจสอบล่าสุดเมื่อใด?
ตรวจสอบล่าสุดเมื่อ 2026-11-14 MCP server for GolemUI dynamic forms: gives AI coding assistants schema validation and form generation for GolemUI form definitions. Open source (MIT).