Contact Form
Original ContactForm primitive, with its public contract preserved.
Five practical starting points. Explore a live example, then open its exact document in Studio.
Essential composition
Essential composition using the original ContactForm primitive and editable children.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ContactForm, 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-5gowrx-unyn03-ex-7963b0c02066-el-168{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-5gowrx-unyn03-ex-7963b0c02066-el-168 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-5gowrx-unyn03-ex-7963b0c02066-el-168" data-node="ex-7963b0c02066-el-168" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ContactForm title={"Essential composition"} />
</div>
</div>
</SigmaUIProvider>
);
}
Content collection
Content collection using the original ContactForm primitive and editable children.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ContactForm, 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-8yz37v-jhfgyb-ex-383cdf929311-el-169{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-8yz37v-jhfgyb-ex-383cdf929311-el-169 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-8yz37v-jhfgyb-ex-383cdf929311-el-169" data-node="ex-383cdf929311-el-169" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"16px","--node-tablet":2} as CSSProperties}>
<ContactForm title={"Content collection"} />
</div>
</div>
</SigmaUIProvider>
);
}
Compact context
Compact context using the original ContactForm primitive and editable children.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ContactForm, 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-170q583-1dgmudv-ex-3ca206486d50-el-170{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-170q583-1dgmudv-ex-3ca206486d50-el-170 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-170q583-1dgmudv-ex-3ca206486d50-el-170" data-node="ex-3ca206486d50-el-170" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ContactForm title={"Compact context"} />
</div>
</div>
</SigmaUIProvider>
);
}
Responsive composition
Responsive composition using the original ContactForm primitive and editable children.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ContactForm, 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-1dphyil-1kif777-ex-3c068b1bd869-el-171{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1dphyil-1kif777-ex-3c068b1bd869-el-171 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1dphyil-1kif777-ex-3c068b1bd869-el-171" data-node="ex-3c068b1bd869-el-171" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"32px","--node-tablet":2} as CSSProperties}>
<ContactForm title={"Responsive composition"} />
</div>
</div>
</SigmaUIProvider>
);
}
Editorial context
Editorial context using the original ContactForm primitive and editable children.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ContactForm, 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-1g4kj1n-mgerbn-ex-203b4d4bae3b-el-172{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1g4kj1n-mgerbn-ex-203b4d4bae3b-el-172 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1g4kj1n-mgerbn-ex-203b4d4bae3b-el-172" data-node="ex-203b4d4bae3b-el-172" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"12px","--node-tablet":2} as CSSProperties}>
<ContactForm title={"Editorial context"} />
</div>
</div>
</SigmaUIProvider>
);
}
Protected properties
binding, id, type, version, role, intent. Trusted host bindings remain protected.
Composition & accessibility
Uses the shared primitive contract. Use meaningful labels and a logical heading hierarchy. Interactive submissions are simulated locally.