Checkbox
Independent boolean choices
Five practical starting points. Explore a live example, then open its exact document in Studio.
Consent choice
Consent choice demonstrates independent boolean choices. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Checkbox, SigmaUIProvider, Stack } 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-11ta9ew-aa32iq-ex-24d1b7e63337-el-566{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-11ta9ew-aa32iq-ex-24d1b7e63337-el-566 \u003e *{width:100% !important}\n.sigma-export-11ta9ew-aa32iq-ex-24d1b7e63337-el-567{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-11ta9ew-aa32iq-ex-24d1b7e63337-el-567 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-11ta9ew-aa32iq-ex-24d1b7e63337-el-566" data-node="ex-24d1b7e63337-el-566" style={{"--node-gap":"16px","--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-11ta9ew-aa32iq-ex-24d1b7e63337-el-567" data-node="ex-24d1b7e63337-el-567" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkbox label={"I agree to the local demo terms"} defaultChecked={false} disabled={false} />
</div>
</Stack>
</div>
</div>
</SigmaUIProvider>
);
}
Preference group
Preference group demonstrates independent boolean choices. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Checkbox, SigmaUIProvider, Stack } 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-1y4gbjs-5y5ls2-ex-1c0e4b395a5b-el-572{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1y4gbjs-5y5ls2-ex-1c0e4b395a5b-el-572 \u003e *{width:100% !important}\n.sigma-export-1y4gbjs-5y5ls2-ex-1c0e4b395a5b-el-573{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1y4gbjs-5y5ls2-ex-1c0e4b395a5b-el-573 \u003e *{width:100% !important}\n.sigma-export-1y4gbjs-5y5ls2-ex-1c0e4b395a5b-el-574{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1y4gbjs-5y5ls2-ex-1c0e4b395a5b-el-574 \u003e *{width:100% !important}\n.sigma-export-1y4gbjs-5y5ls2-ex-1c0e4b395a5b-el-575{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1y4gbjs-5y5ls2-ex-1c0e4b395a5b-el-575 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1y4gbjs-5y5ls2-ex-1c0e4b395a5b-el-572" data-node="ex-1c0e4b395a5b-el-572" style={{"--node-gap":"16px","--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-1y4gbjs-5y5ls2-ex-1c0e4b395a5b-el-573" data-node="ex-1c0e4b395a5b-el-573" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkbox label={"Product updates"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-1y4gbjs-5y5ls2-ex-1c0e4b395a5b-el-574" data-node="ex-1c0e4b395a5b-el-574" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkbox label={"Weekly digest"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-1y4gbjs-5y5ls2-ex-1c0e4b395a5b-el-575" data-node="ex-1c0e4b395a5b-el-575" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkbox label={"Research invitations"} defaultChecked={false} disabled={false} />
</div>
</Stack>
</div>
</div>
</SigmaUIProvider>
);
}
Task checklist
Task checklist demonstrates independent boolean choices. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Checkbox, SigmaUIProvider, Stack } 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-1a0a3t8-19cm24i-ex-d1fa5d557d3e-el-580{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1a0a3t8-19cm24i-ex-d1fa5d557d3e-el-580 \u003e *{width:100% !important}\n.sigma-export-1a0a3t8-19cm24i-ex-d1fa5d557d3e-el-581{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1a0a3t8-19cm24i-ex-d1fa5d557d3e-el-581 \u003e *{width:100% !important}\n.sigma-export-1a0a3t8-19cm24i-ex-d1fa5d557d3e-el-582{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1a0a3t8-19cm24i-ex-d1fa5d557d3e-el-582 \u003e *{width:100% !important}\n.sigma-export-1a0a3t8-19cm24i-ex-d1fa5d557d3e-el-583{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1a0a3t8-19cm24i-ex-d1fa5d557d3e-el-583 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1a0a3t8-19cm24i-ex-d1fa5d557d3e-el-580" data-node="ex-d1fa5d557d3e-el-580" style={{"--node-gap":"16px","--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-1a0a3t8-19cm24i-ex-d1fa5d557d3e-el-581" data-node="ex-d1fa5d557d3e-el-581" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkbox label={"Review navigation"} defaultChecked={true} disabled={false} />
</div>
<div className="sigma-node sigma-export-1a0a3t8-19cm24i-ex-d1fa5d557d3e-el-582" data-node="ex-d1fa5d557d3e-el-582" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkbox label={"Update documentation"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-1a0a3t8-19cm24i-ex-d1fa5d557d3e-el-583" data-node="ex-d1fa5d557d3e-el-583" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkbox label={"Export a preview"} defaultChecked={false} disabled={false} />
</div>
</Stack>
</div>
</div>
</SigmaUIProvider>
);
}
Product filters
Product filters demonstrates independent boolean choices. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Checkbox, SigmaUIProvider, Stack } 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-b6uc6g-1acsvcy-ex-85554a654fa2-el-588{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-b6uc6g-1acsvcy-ex-85554a654fa2-el-588 \u003e *{width:100% !important}\n.sigma-export-b6uc6g-1acsvcy-ex-85554a654fa2-el-589{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-b6uc6g-1acsvcy-ex-85554a654fa2-el-589 \u003e *{width:100% !important}\n.sigma-export-b6uc6g-1acsvcy-ex-85554a654fa2-el-590{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-b6uc6g-1acsvcy-ex-85554a654fa2-el-590 \u003e *{width:100% !important}\n.sigma-export-b6uc6g-1acsvcy-ex-85554a654fa2-el-591{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-b6uc6g-1acsvcy-ex-85554a654fa2-el-591 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-b6uc6g-1acsvcy-ex-85554a654fa2-el-588" data-node="ex-85554a654fa2-el-588" style={{"--node-gap":"16px","--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-b6uc6g-1acsvcy-ex-85554a654fa2-el-589" data-node="ex-85554a654fa2-el-589" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkbox label={"In stock only"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-b6uc6g-1acsvcy-ex-85554a654fa2-el-590" data-node="ex-85554a654fa2-el-590" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkbox label={"On sale"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-b6uc6g-1acsvcy-ex-85554a654fa2-el-591" data-node="ex-85554a654fa2-el-591" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkbox label={"Free delivery"} defaultChecked={false} disabled={false} />
</div>
</Stack>
</div>
</div>
</SigmaUIProvider>
);
}
Bulk selection
Bulk selection demonstrates independent boolean choices. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Checkbox, ExtendedElement, SigmaUIProvider, Stack } 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-1bxwxjx-xsi4ab-ex-2989a6d9b96a-el-595{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1bxwxjx-xsi4ab-ex-2989a6d9b96a-el-595 \u003e *{width:100% !important}\n.sigma-export-1bxwxjx-xsi4ab-ex-2989a6d9b96a-el-599{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1bxwxjx-xsi4ab-ex-2989a6d9b96a-el-599 \u003e *{width:100% !important}\n.sigma-export-1bxwxjx-xsi4ab-ex-2989a6d9b96a-el-596{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1bxwxjx-xsi4ab-ex-2989a6d9b96a-el-596 \u003e *{width:100% !important}\n.sigma-export-1bxwxjx-xsi4ab-ex-2989a6d9b96a-el-597{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1bxwxjx-xsi4ab-ex-2989a6d9b96a-el-597 \u003e *{width:100% !important}\n.sigma-export-1bxwxjx-xsi4ab-ex-2989a6d9b96a-el-598{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1bxwxjx-xsi4ab-ex-2989a6d9b96a-el-598 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1bxwxjx-xsi4ab-ex-2989a6d9b96a-el-595" data-node="ex-2989a6d9b96a-el-595" style={{"--node-gap":"16px","--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-1bxwxjx-xsi4ab-ex-2989a6d9b96a-el-599" data-node="ex-2989a6d9b96a-el-599" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Text"} props={{"text":"Choose records for a simulated bulk action."}} />
</div>
<div className="sigma-node sigma-export-1bxwxjx-xsi4ab-ex-2989a6d9b96a-el-596" data-node="ex-2989a6d9b96a-el-596" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkbox label={"Select all demo records"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-1bxwxjx-xsi4ab-ex-2989a6d9b96a-el-597" data-node="ex-2989a6d9b96a-el-597" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkbox label={"Project Atlas"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-1bxwxjx-xsi4ab-ex-2989a6d9b96a-el-598" data-node="ex-2989a6d9b96a-el-598" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkbox label={"Project Orbit"} defaultChecked={false} disabled={false} />
</div>
</Stack>
</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.