s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Svelte · Forms and controls

FormScope

No summary has been written for FormScope. Everything below is generated from the declaration shipped in 0.57.40 and describes the real contract.

Public export

typescript
import { FormScope } from '@happyvertical/smrt-svelte/forms';
Import path
@happyvertical/smrt-svelte/forms
Props
6
Props described
5 of 6
Bindable state
0
Callback events
0
Verified release
0.57.40

Props

NameTypeRequiredDescription
formIdstringYesStable, page-unique form identity (also names the WebMCP tool).
purposestringNoPlain-language name of what the form does, for the tool description.
webmcpboolean | { name?: string; description?: string; }NoRegister the `<formId>_stage_changes` proposal tool (default true).
interactionRegistryControlInteractionRegistryNoOverride the registry (tests, nested hosts).
stagedReviewbooleanNoShow the staged-review summary for agent proposals (default true).
childrenSnippetYesNot described

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation