Skip to content
ghostui

Form

A native form element with consolidated error handling.

Preview

Installation

Install the local ghost-kit source bundle while the registry runs at localhost:3110. It contains this component and its source dependencies. Prepare the local registry first so token dependencies also resolve locally.

Install

Basic usage

Structure

Examples

The Preview above is the canonical form example. Compose it with the public parts shown in Structure.

API reference

For inherited behavior and additional part properties, see the Base UI Form API.