Forms
Simulated submissions with local feedback
Five practical starting points. Explore a live example, then open its exact document in Studio.
Sign in
Sign in demonstrates simulated submissions with local feedback. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ExtendedElement, Input, SigmaUIProvider } from "sigmaui";
import type { TrustedBindings } from "sigmaui";
import "sigmaui/styles.css";
// Supply trusted action callbacks and pricing data from the host application.
// Images retain validated asset URLs. Importing handwritten JSX into Studio is unsupported.
export default function Page({ bindings = {} }: { bindings?: TrustedBindings }) {
return (
<SigmaUIProvider style={{ containerType: "inline-size" }} theme="minimal" mode="light">
<style>{".sigma-export-w5ngvh-1o8y60j-ex-64c6b7450f35-el-278{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-w5ngvh-1o8y60j-ex-64c6b7450f35-el-278 \u003e *{width:100% !important}\n.sigma-export-w5ngvh-1o8y60j-ex-64c6b7450f35-el-279{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-w5ngvh-1o8y60j-ex-64c6b7450f35-el-279 \u003e *{width:100% !important}\n.sigma-export-w5ngvh-1o8y60j-ex-64c6b7450f35-el-280{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-w5ngvh-1o8y60j-ex-64c6b7450f35-el-280 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-w5ngvh-1o8y60j-ex-64c6b7450f35-el-278" data-node="ex-64c6b7450f35-el-278" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Form"} props={{"text":"signin","title":"Sign in"}}>
<div className="sigma-node sigma-export-w5ngvh-1o8y60j-ex-64c6b7450f35-el-279" data-node="ex-64c6b7450f35-el-279" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Email"} type={"email"} disabled={false} readOnly={false} />
</div>
<div className="sigma-node sigma-export-w5ngvh-1o8y60j-ex-64c6b7450f35-el-280" data-node="ex-64c6b7450f35-el-280" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Password"} type={"password"} disabled={false} readOnly={false} />
</div>
</ExtendedElement>
</div>
</div>
</SigmaUIProvider>
);
}
Registration
Registration demonstrates simulated submissions with local feedback. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ExtendedElement, Input, SigmaUIProvider } from "sigmaui";
import type { TrustedBindings } from "sigmaui";
import "sigmaui/styles.css";
// Supply trusted action callbacks and pricing data from the host application.
// Images retain validated asset URLs. Importing handwritten JSX into Studio is unsupported.
export default function Page({ bindings = {} }: { bindings?: TrustedBindings }) {
return (
<SigmaUIProvider style={{ containerType: "inline-size" }} theme="minimal" mode="light">
<style>{".sigma-export-1v0qgyw-8q8eyq-ex-94e05ef33155-el-284{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1v0qgyw-8q8eyq-ex-94e05ef33155-el-284 \u003e *{width:100% !important}\n.sigma-export-1v0qgyw-8q8eyq-ex-94e05ef33155-el-285{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1v0qgyw-8q8eyq-ex-94e05ef33155-el-285 \u003e *{width:100% !important}\n.sigma-export-1v0qgyw-8q8eyq-ex-94e05ef33155-el-286{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1v0qgyw-8q8eyq-ex-94e05ef33155-el-286 \u003e *{width:100% !important}\n.sigma-export-1v0qgyw-8q8eyq-ex-94e05ef33155-el-287{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1v0qgyw-8q8eyq-ex-94e05ef33155-el-287 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1v0qgyw-8q8eyq-ex-94e05ef33155-el-284" data-node="ex-94e05ef33155-el-284" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Form"} props={{"text":"register","title":"Registration"}}>
<div className="sigma-node sigma-export-1v0qgyw-8q8eyq-ex-94e05ef33155-el-285" data-node="ex-94e05ef33155-el-285" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Full name"} type={"text"} disabled={false} readOnly={false} />
</div>
<div className="sigma-node sigma-export-1v0qgyw-8q8eyq-ex-94e05ef33155-el-286" data-node="ex-94e05ef33155-el-286" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Email"} type={"email"} disabled={false} readOnly={false} />
</div>
<div className="sigma-node sigma-export-1v0qgyw-8q8eyq-ex-94e05ef33155-el-287" data-node="ex-94e05ef33155-el-287" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Password"} type={"password"} disabled={false} readOnly={false} />
</div>
</ExtendedElement>
</div>
</div>
</SigmaUIProvider>
);
}
Contact
Contact demonstrates simulated submissions with local feedback. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ExtendedElement, Input, SigmaUIProvider, Textarea } from "sigmaui";
import type { TrustedBindings } from "sigmaui";
import "sigmaui/styles.css";
// Supply trusted action callbacks and pricing data from the host application.
// Images retain validated asset URLs. Importing handwritten JSX into Studio is unsupported.
export default function Page({ bindings = {} }: { bindings?: TrustedBindings }) {
return (
<SigmaUIProvider style={{ containerType: "inline-size" }} theme="minimal" mode="light">
<style>{".sigma-export-1eyt0cg-126s8ea-ex-c5ca52c126ee-el-291{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1eyt0cg-126s8ea-ex-c5ca52c126ee-el-291 \u003e *{width:100% !important}\n.sigma-export-1eyt0cg-126s8ea-ex-c5ca52c126ee-el-292{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1eyt0cg-126s8ea-ex-c5ca52c126ee-el-292 \u003e *{width:100% !important}\n.sigma-export-1eyt0cg-126s8ea-ex-c5ca52c126ee-el-293{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1eyt0cg-126s8ea-ex-c5ca52c126ee-el-293 \u003e *{width:100% !important}\n.sigma-export-1eyt0cg-126s8ea-ex-c5ca52c126ee-el-294{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1eyt0cg-126s8ea-ex-c5ca52c126ee-el-294 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1eyt0cg-126s8ea-ex-c5ca52c126ee-el-291" data-node="ex-c5ca52c126ee-el-291" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Form"} props={{"text":"contact","title":"Contact"}}>
<div className="sigma-node sigma-export-1eyt0cg-126s8ea-ex-c5ca52c126ee-el-292" data-node="ex-c5ca52c126ee-el-292" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Name"} type={"text"} disabled={false} readOnly={false} />
</div>
<div className="sigma-node sigma-export-1eyt0cg-126s8ea-ex-c5ca52c126ee-el-293" data-node="ex-c5ca52c126ee-el-293" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Email"} type={"email"} disabled={false} readOnly={false} />
</div>
<div className="sigma-node sigma-export-1eyt0cg-126s8ea-ex-c5ca52c126ee-el-294" data-node="ex-c5ca52c126ee-el-294" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Textarea label={"Message"} disabled={false} readOnly={false} />
</div>
</ExtendedElement>
</div>
</div>
</SigmaUIProvider>
);
}
Checkout details
Checkout details demonstrates simulated submissions with local feedback. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ExtendedElement, Input, SigmaUIProvider } from "sigmaui";
import type { TrustedBindings } from "sigmaui";
import "sigmaui/styles.css";
// Supply trusted action callbacks and pricing data from the host application.
// Images retain validated asset URLs. Importing handwritten JSX into Studio is unsupported.
export default function Page({ bindings = {} }: { bindings?: TrustedBindings }) {
return (
<SigmaUIProvider style={{ containerType: "inline-size" }} theme="minimal" mode="light">
<style>{".sigma-export-3wzckt-uhlaib-ex-4b3072ffd064-el-298{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-3wzckt-uhlaib-ex-4b3072ffd064-el-298 \u003e *{width:100% !important}\n.sigma-export-3wzckt-uhlaib-ex-4b3072ffd064-el-299{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-3wzckt-uhlaib-ex-4b3072ffd064-el-299 \u003e *{width:100% !important}\n.sigma-export-3wzckt-uhlaib-ex-4b3072ffd064-el-300{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-3wzckt-uhlaib-ex-4b3072ffd064-el-300 \u003e *{width:100% !important}\n.sigma-export-3wzckt-uhlaib-ex-4b3072ffd064-el-301{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-3wzckt-uhlaib-ex-4b3072ffd064-el-301 \u003e *{width:100% !important}\n.sigma-export-3wzckt-uhlaib-ex-4b3072ffd064-el-302{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-3wzckt-uhlaib-ex-4b3072ffd064-el-302 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-3wzckt-uhlaib-ex-4b3072ffd064-el-298" data-node="ex-4b3072ffd064-el-298" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Form"} props={{"text":"checkout","title":"Checkout details"}}>
<div className="sigma-node sigma-export-3wzckt-uhlaib-ex-4b3072ffd064-el-299" data-node="ex-4b3072ffd064-el-299" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Full name"} type={"text"} disabled={false} readOnly={false} />
</div>
<div className="sigma-node sigma-export-3wzckt-uhlaib-ex-4b3072ffd064-el-300" data-node="ex-4b3072ffd064-el-300" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Address"} type={"text"} disabled={false} readOnly={false} />
</div>
<div className="sigma-node sigma-export-3wzckt-uhlaib-ex-4b3072ffd064-el-301" data-node="ex-4b3072ffd064-el-301" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"City"} type={"text"} disabled={false} readOnly={false} />
</div>
<div className="sigma-node sigma-export-3wzckt-uhlaib-ex-4b3072ffd064-el-302" data-node="ex-4b3072ffd064-el-302" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Postal code"} type={"text"} disabled={false} readOnly={false} />
</div>
</ExtendedElement>
</div>
</div>
</SigmaUIProvider>
);
}
Multistep form
Multistep form demonstrates simulated submissions with local feedback. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ExtendedElement, SigmaUIProvider } from "sigmaui";
import type { TrustedBindings } from "sigmaui";
import "sigmaui/styles.css";
// Supply trusted action callbacks and pricing data from the host application.
// Images retain validated asset URLs. Importing handwritten JSX into Studio is unsupported.
export default function Page({ bindings = {} }: { bindings?: TrustedBindings }) {
return (
<SigmaUIProvider style={{ containerType: "inline-size" }} theme="minimal" mode="light">
<style>{".sigma-export-j7a411-1pgwsfn-ex-e319636469f6-el-306{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-j7a411-1pgwsfn-ex-e319636469f6-el-306 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-j7a411-1pgwsfn-ex-e319636469f6-el-306" data-node="ex-e319636469f6-el-306" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Form"} props={{"items":["Project name","Team size","Summary"],"text":"steps","title":"Multistep form"}} />
</div>
</div>
</SigmaUIProvider>
);
}
Protected properties
binding, id, type, version, role, intent. Trusted host bindings remain protected.
Composition & accessibility
Supports editable children in its default slot. Use meaningful labels and a logical heading hierarchy. Interactive submissions are simulated locally.