Checkout
Original Checkout 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 Checkout primitive and editable children.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Button, Card, Checkout, 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-o05vyn-747jin-ex-1ca85a614f19-checkout-primary{max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-primary \u003e *{}\n.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-primary \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-primary{--sigma-layout-gap:var(--sigma-spacing-comfortable,24px);--sigma-semantic-padding:var(--sigma-spacing-comfortable,24px);--sigma-semantic-surface:var(--sigma-surface);--sigma-semantic-shadow:none;--sigma-semantic-width:var(--sigma-content-width,1100px);--sigma-semantic-emphasis:var(--sigma-accent)}.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-primary \u003e *{max-width:var(--sigma-semantic-width);background:var(--sigma-semantic-surface);box-shadow:var(--sigma-semantic-shadow)}\n.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-primary \u003e *{padding:var(--sigma-semantic-padding)}\n.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout{display:grid;grid-template-columns:minmax(0,60fr) minmax(0,40fr);gap:var(--node-gap,var(--sigma-layout-gap,24px))}@media(max-width:760px){.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout{display:flex;flex-direction:column}.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"fields\"]{order:0;grid-column:auto;grid-row:auto}.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"summary\"]{order:1;grid-column:auto;grid-row:auto}.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"actions\"]{order:2;grid-column:auto;grid-row:auto}}\n.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"fields\"]{min-width:0}\n.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"summary\"]{min-width:0}\n.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"actions\"]{min-width:0}\n.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"fields\"]{grid-column:1;grid-row:1}.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"summary\"]{grid-column:2;grid-row:1 / span 2}.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"actions\"]{grid-column:1;grid-row:2}\n.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-email{position:relative !important;left:auto !important;top:auto !important}.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-email \u003e *{}\n.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-email \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-address{position:relative !important;left:auto !important;top:auto !important}.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-address \u003e *{}\n.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-address \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-o05vyn-747jin-ex-1ca85a614f19-order-summary{position:relative !important;left:auto !important;top:auto !important}.sigma-export-o05vyn-747jin-ex-1ca85a614f19-order-summary \u003e *{}\n.sigma-export-o05vyn-747jin-ex-1ca85a614f19-order-summary \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-submit{position:relative !important;left:auto !important;top:auto !important}.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-submit \u003e *{}\n.sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-submit \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-primary" data-node="ex-1ca85a614f19-checkout-primary" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkout title={"Review your order"} description={"Local demonstration. No payment is processed."} slots={{"actions":["ex-1ca85a614f19-checkout-submit"],"fields":["ex-1ca85a614f19-checkout-email","ex-1ca85a614f19-checkout-address"],"summary":["ex-1ca85a614f19-order-summary"]}} onCheckout={bindings.checkout?.["demo-checkout"]}>
<div className="sigma-node sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-email" data-node="ex-1ca85a614f19-checkout-email" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Email address"} name={"email"} required={true} type={"email"} disabled={false} readOnly={false} />
</div>
<div className="sigma-node sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-address" data-node="ex-1ca85a614f19-checkout-address" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Delivery address"} name={"address"} required={true} type={"text"} disabled={false} readOnly={false} />
</div>
<div className="sigma-node sigma-export-o05vyn-747jin-ex-1ca85a614f19-order-summary" data-node="ex-1ca85a614f19-order-summary" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Card title={"Order summary"} description={"Arc headphones x 1. Real totals must come from your backend."} />
</div>
<div className="sigma-node sigma-export-o05vyn-747jin-ex-1ca85a614f19-checkout-submit" data-node="ex-1ca85a614f19-checkout-submit" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Button type={"submit"} disabled={false} aria-busy={false}>
{"Review order locally"}
</Button>
</div>
</Checkout>
</div>
</div>
</SigmaUIProvider>
);
}
Content collection
Content collection using the original Checkout primitive and editable children.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Button, Card, Checkout, 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-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-primary{max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-primary \u003e *{}\n.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-primary \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-primary{--sigma-layout-gap:var(--sigma-spacing-comfortable,24px);--sigma-semantic-padding:var(--sigma-spacing-comfortable,24px);--sigma-semantic-surface:var(--sigma-surface);--sigma-semantic-shadow:var(--sigma-shadow);--sigma-semantic-width:var(--sigma-content-width,1100px);--sigma-semantic-emphasis:var(--sigma-accent)}.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-primary \u003e *{max-width:var(--sigma-semantic-width);background:var(--sigma-semantic-surface);box-shadow:var(--sigma-semantic-shadow)}\n.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-primary \u003e *{padding:var(--sigma-semantic-padding)}\n.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout{display:grid;grid-template-columns:minmax(0,60fr) minmax(0,40fr);gap:var(--node-gap,var(--sigma-layout-gap,24px))}@media(max-width:760px){.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout{display:flex;flex-direction:column}.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"fields\"]{order:0;grid-column:auto;grid-row:auto}.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"summary\"]{order:1;grid-column:auto;grid-row:auto}.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"actions\"]{order:2;grid-column:auto;grid-row:auto}}\n.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"fields\"]{min-width:0}\n.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"summary\"]{min-width:0}\n.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"actions\"]{min-width:0}\n.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"fields\"]{grid-column:1;grid-row:1}.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"summary\"]{grid-column:2;grid-row:1 / span 2}.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"actions\"]{grid-column:1;grid-row:2}\n.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-email{position:relative !important;left:auto !important;top:auto !important}.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-email \u003e *{}\n.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-email \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-address{position:relative !important;left:auto !important;top:auto !important}.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-address \u003e *{}\n.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-address \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-order-summary{position:relative !important;left:auto !important;top:auto !important}.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-order-summary \u003e *{}\n.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-order-summary \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-submit{position:relative !important;left:auto !important;top:auto !important}.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-submit \u003e *{}\n.sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-submit \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-primary" data-node="ex-1a3073e76787-checkout-primary" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkout title={"Review your order"} description={"Local demonstration. No payment is processed."} slots={{"actions":["ex-1a3073e76787-checkout-submit"],"fields":["ex-1a3073e76787-checkout-email","ex-1a3073e76787-checkout-address"],"summary":["ex-1a3073e76787-order-summary"]}} onCheckout={bindings.checkout?.["demo-checkout"]}>
<div className="sigma-node sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-email" data-node="ex-1a3073e76787-checkout-email" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Email address"} name={"email"} required={true} type={"email"} disabled={false} readOnly={false} />
</div>
<div className="sigma-node sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-address" data-node="ex-1a3073e76787-checkout-address" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Delivery address"} name={"address"} required={true} type={"text"} disabled={false} readOnly={false} />
</div>
<div className="sigma-node sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-order-summary" data-node="ex-1a3073e76787-order-summary" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Card title={"Order summary"} description={"Arc headphones x 1. Real totals must come from your backend."} />
</div>
<div className="sigma-node sigma-export-1hhar4i-1gk3ccy-ex-1a3073e76787-checkout-submit" data-node="ex-1a3073e76787-checkout-submit" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Button type={"submit"} disabled={false} aria-busy={false}>
{"Review order locally"}
</Button>
</div>
</Checkout>
</div>
</div>
</SigmaUIProvider>
);
}
Compact context
Compact context using the original Checkout primitive and editable children.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Button, Card, Checkout, 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-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-primary{max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-primary \u003e *{}\n.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-primary \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-primary{--sigma-layout-gap:var(--sigma-spacing-compact,12px);--sigma-semantic-padding:var(--sigma-spacing-compact,12px);--sigma-semantic-surface:var(--sigma-surface);--sigma-semantic-shadow:none;--sigma-semantic-width:var(--sigma-content-width,1100px);--sigma-semantic-emphasis:var(--sigma-accent)}.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-primary \u003e *{max-width:var(--sigma-semantic-width);background:var(--sigma-semantic-surface);box-shadow:var(--sigma-semantic-shadow)}\n.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-primary \u003e *{padding:var(--sigma-semantic-padding)}\n.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout{display:flex;flex-direction:column;gap:var(--node-gap,var(--sigma-layout-gap,24px))}@media(max-width:760px){.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout{display:flex;flex-direction:column}.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"fields\"]{order:0;grid-column:auto;grid-row:auto}.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"summary\"]{order:1;grid-column:auto;grid-row:auto}.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"actions\"]{order:2;grid-column:auto;grid-row:auto}}\n.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"fields\"]{min-width:0}\n.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"summary\"]{min-width:0}\n.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"actions\"]{min-width:0}\n.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-email{position:relative !important;left:auto !important;top:auto !important}.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-email \u003e *{}\n.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-email \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-address{position:relative !important;left:auto !important;top:auto !important}.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-address \u003e *{}\n.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-address \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-order-summary{position:relative !important;left:auto !important;top:auto !important}.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-order-summary \u003e *{}\n.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-order-summary \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-submit{position:relative !important;left:auto !important;top:auto !important}.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-submit \u003e *{}\n.sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-submit \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-primary" data-node="ex-5df7fd1ad9ec-checkout-primary" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkout title={"Review your order"} description={"Local demonstration. No payment is processed."} slots={{"actions":["ex-5df7fd1ad9ec-checkout-submit"],"fields":["ex-5df7fd1ad9ec-checkout-email","ex-5df7fd1ad9ec-checkout-address"],"summary":["ex-5df7fd1ad9ec-order-summary"]}} onCheckout={bindings.checkout?.["demo-checkout"]}>
<div className="sigma-node sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-email" data-node="ex-5df7fd1ad9ec-checkout-email" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Email address"} name={"email"} required={true} type={"email"} disabled={false} readOnly={false} />
</div>
<div className="sigma-node sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-address" data-node="ex-5df7fd1ad9ec-checkout-address" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Delivery address"} name={"address"} required={true} type={"text"} disabled={false} readOnly={false} />
</div>
<div className="sigma-node sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-order-summary" data-node="ex-5df7fd1ad9ec-order-summary" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Card title={"Order summary"} description={"Arc headphones x 1. Real totals must come from your backend."} />
</div>
<div className="sigma-node sigma-export-1fsiyy1-l4qwid-ex-5df7fd1ad9ec-checkout-submit" data-node="ex-5df7fd1ad9ec-checkout-submit" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Button type={"submit"} disabled={false} aria-busy={false}>
{"Review order locally"}
</Button>
</div>
</Checkout>
</div>
</div>
</SigmaUIProvider>
);
}
Responsive composition
Responsive composition using the original Checkout primitive and editable children.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Button, Card, Checkout, 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-gn6exm-90qdxg-ex-45593e94d487-checkout-primary{max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-primary \u003e *{}\n.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-primary \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-primary{--sigma-layout-gap:var(--sigma-spacing-comfortable,24px);--sigma-semantic-padding:var(--sigma-spacing-comfortable,24px);--sigma-semantic-surface:var(--sigma-surface);--sigma-semantic-shadow:none;--sigma-semantic-width:var(--sigma-content-width,1100px);--sigma-semantic-emphasis:var(--sigma-accent)}.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-primary \u003e *{max-width:var(--sigma-semantic-width);background:var(--sigma-semantic-surface);box-shadow:var(--sigma-semantic-shadow)}\n.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-primary \u003e *{padding:var(--sigma-semantic-padding)}\n.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout{display:grid;grid-template-columns:minmax(0,60fr) minmax(0,40fr);gap:var(--node-gap,var(--sigma-layout-gap,24px))}@media(max-width:760px){.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout{display:flex;flex-direction:column}.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"fields\"]{order:0;grid-column:auto;grid-row:auto}.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"summary\"]{order:1;grid-column:auto;grid-row:auto}.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"actions\"]{order:2;grid-column:auto;grid-row:auto}}\n.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"fields\"]{min-width:0}\n.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"summary\"]{min-width:0}\n.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"actions\"]{min-width:0}\n.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"fields\"]{grid-column:1;grid-row:1}.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"summary\"]{grid-column:2;grid-row:1 / span 2}.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"actions\"]{grid-column:1;grid-row:2}\n.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-email{position:relative !important;left:auto !important;top:auto !important}.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-email \u003e *{}\n.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-email \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-address{position:relative !important;left:auto !important;top:auto !important}.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-address \u003e *{}\n.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-address \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-gn6exm-90qdxg-ex-45593e94d487-order-summary{position:relative !important;left:auto !important;top:auto !important}.sigma-export-gn6exm-90qdxg-ex-45593e94d487-order-summary \u003e *{}\n.sigma-export-gn6exm-90qdxg-ex-45593e94d487-order-summary \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-submit{position:relative !important;left:auto !important;top:auto !important}.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-submit \u003e *{}\n.sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-submit \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-primary" data-node="ex-45593e94d487-checkout-primary" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkout title={"Review your order"} description={"Local demonstration. No payment is processed."} slots={{"actions":["ex-45593e94d487-checkout-submit"],"fields":["ex-45593e94d487-checkout-email","ex-45593e94d487-checkout-address"],"summary":["ex-45593e94d487-order-summary"]}} onCheckout={bindings.checkout?.["demo-checkout"]}>
<div className="sigma-node sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-email" data-node="ex-45593e94d487-checkout-email" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Email address"} name={"email"} required={true} type={"email"} disabled={false} readOnly={false} />
</div>
<div className="sigma-node sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-address" data-node="ex-45593e94d487-checkout-address" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Delivery address"} name={"address"} required={true} type={"text"} disabled={false} readOnly={false} />
</div>
<div className="sigma-node sigma-export-gn6exm-90qdxg-ex-45593e94d487-order-summary" data-node="ex-45593e94d487-order-summary" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Card title={"Order summary"} description={"Arc headphones x 1. Real totals must come from your backend."} />
</div>
<div className="sigma-node sigma-export-gn6exm-90qdxg-ex-45593e94d487-checkout-submit" data-node="ex-45593e94d487-checkout-submit" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Button type={"submit"} disabled={false} aria-busy={false}>
{"Review order locally"}
</Button>
</div>
</Checkout>
</div>
</div>
</SigmaUIProvider>
);
}
Editorial context
Editorial context using the original Checkout primitive and editable children.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Button, Card, Checkout, 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-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-primary{max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-primary \u003e *{}\n.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-primary \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-primary{--sigma-layout-gap:var(--sigma-spacing-roomy,40px);--sigma-semantic-padding:var(--sigma-spacing-roomy,40px);--sigma-semantic-surface:var(--sigma-surface);--sigma-semantic-shadow:none;--sigma-semantic-width:var(--sigma-content-width,1100px);--sigma-semantic-emphasis:var(--sigma-accent)}.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-primary \u003e *{max-width:var(--sigma-semantic-width);background:var(--sigma-semantic-surface);box-shadow:var(--sigma-semantic-shadow)}\n.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-primary \u003e *{padding:var(--sigma-semantic-padding)}\n.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout{display:grid;grid-template-columns:minmax(0,60fr) minmax(0,40fr);gap:var(--node-gap,var(--sigma-layout-gap,24px))}@media(max-width:760px){.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout{display:flex;flex-direction:column}.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"fields\"]{order:0;grid-column:auto;grid-row:auto}.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"summary\"]{order:1;grid-column:auto;grid-row:auto}.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"actions\"]{order:2;grid-column:auto;grid-row:auto}}\n.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"fields\"]{min-width:0}\n.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"summary\"]{min-width:0}\n.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"actions\"]{min-width:0}\n.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"fields\"]{grid-column:1;grid-row:1}.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"summary\"]{grid-column:2;grid-row:1 / span 2}.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-primary \u003e .sigma-native \u003e fieldset \u003e .sigma-native-layout \u003e [data-sigma-slot=\"actions\"]{grid-column:1;grid-row:2}\n.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-email{position:relative !important;left:auto !important;top:auto !important}.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-email \u003e *{}\n.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-email \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-address{position:relative !important;left:auto !important;top:auto !important}.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-address \u003e *{}\n.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-address \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-order-summary{position:relative !important;left:auto !important;top:auto !important}.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-order-summary \u003e *{}\n.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-order-summary \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}\n.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-submit{position:relative !important;left:auto !important;top:auto !important}.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-submit \u003e *{}\n.sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-submit \u003e * \u003e :is(h1,h2,h3){color:var(--node-color,var(--sigma-semantic-emphasis,var(--sigma-ink)))}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-primary" data-node="ex-d8373b1f43ba-checkout-primary" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkout title={"Review your order"} description={"Local demonstration. No payment is processed."} slots={{"actions":["ex-d8373b1f43ba-checkout-submit"],"fields":["ex-d8373b1f43ba-checkout-email","ex-d8373b1f43ba-checkout-address"],"summary":["ex-d8373b1f43ba-order-summary"]}} onCheckout={bindings.checkout?.["demo-checkout"]}>
<div className="sigma-node sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-email" data-node="ex-d8373b1f43ba-checkout-email" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Email address"} name={"email"} required={true} type={"email"} disabled={false} readOnly={false} />
</div>
<div className="sigma-node sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-address" data-node="ex-d8373b1f43ba-checkout-address" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Input label={"Delivery address"} name={"address"} required={true} type={"text"} disabled={false} readOnly={false} />
</div>
<div className="sigma-node sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-order-summary" data-node="ex-d8373b1f43ba-order-summary" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Card title={"Order summary"} description={"Arc headphones x 1. Real totals must come from your backend."} />
</div>
<div className="sigma-node sigma-export-1o7lpo5-noljhz-ex-d8373b1f43ba-checkout-submit" data-node="ex-d8373b1f43ba-checkout-submit" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Button type={"submit"} disabled={false} aria-busy={false}>
{"Review order locally"}
</Button>
</div>
</Checkout>
</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.