Radio Button
Mutually exclusive choices
Five practical starting points. Explore a live example, then open its exact document in Studio.
Delivery choice
Delivery choice demonstrates mutually exclusive choices. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Radio, 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-l4wnik-1pby876-ex-37b3a38697c2-el-473{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-l4wnik-1pby876-ex-37b3a38697c2-el-473 \u003e *{width:100% !important}\n.sigma-export-l4wnik-1pby876-ex-37b3a38697c2-el-474{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-l4wnik-1pby876-ex-37b3a38697c2-el-474 \u003e *{width:100% !important}\n.sigma-export-l4wnik-1pby876-ex-37b3a38697c2-el-475{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-l4wnik-1pby876-ex-37b3a38697c2-el-475 \u003e *{width:100% !important}\n.sigma-export-l4wnik-1pby876-ex-37b3a38697c2-el-476{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-l4wnik-1pby876-ex-37b3a38697c2-el-476 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-l4wnik-1pby876-ex-37b3a38697c2-el-473" data-node="ex-37b3a38697c2-el-473" style={{"--node-gap":"16px","--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-l4wnik-1pby876-ex-37b3a38697c2-el-474" data-node="ex-37b3a38697c2-el-474" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Express delivery"} name={"g-37b3a38697c2-choices-476"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-l4wnik-1pby876-ex-37b3a38697c2-el-475" data-node="ex-37b3a38697c2-el-475" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Standard delivery"} name={"g-37b3a38697c2-choices-476"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-l4wnik-1pby876-ex-37b3a38697c2-el-476" data-node="ex-37b3a38697c2-el-476" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Collect locally"} name={"g-37b3a38697c2-choices-476"} defaultChecked={false} disabled={false} />
</div>
</Stack>
</div>
</div>
</SigmaUIProvider>
);
}
Plan choice
Plan choice demonstrates mutually exclusive choices. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Radio, 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-g3jqvs-1ebbyiq-ex-6ae628809bdd-el-481{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-g3jqvs-1ebbyiq-ex-6ae628809bdd-el-481 \u003e *{width:100% !important}\n.sigma-export-g3jqvs-1ebbyiq-ex-6ae628809bdd-el-482{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-g3jqvs-1ebbyiq-ex-6ae628809bdd-el-482 \u003e *{width:100% !important}\n.sigma-export-g3jqvs-1ebbyiq-ex-6ae628809bdd-el-483{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-g3jqvs-1ebbyiq-ex-6ae628809bdd-el-483 \u003e *{width:100% !important}\n.sigma-export-g3jqvs-1ebbyiq-ex-6ae628809bdd-el-484{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-g3jqvs-1ebbyiq-ex-6ae628809bdd-el-484 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-g3jqvs-1ebbyiq-ex-6ae628809bdd-el-481" data-node="ex-6ae628809bdd-el-481" style={{"--node-gap":"16px","--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-g3jqvs-1ebbyiq-ex-6ae628809bdd-el-482" data-node="ex-6ae628809bdd-el-482" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Starter plan"} name={"g-6ae628809bdd-choices-484"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-g3jqvs-1ebbyiq-ex-6ae628809bdd-el-483" data-node="ex-6ae628809bdd-el-483" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Studio plan"} name={"g-6ae628809bdd-choices-484"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-g3jqvs-1ebbyiq-ex-6ae628809bdd-el-484" data-node="ex-6ae628809bdd-el-484" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Enterprise plan"} name={"g-6ae628809bdd-choices-484"} defaultChecked={false} disabled={false} />
</div>
</Stack>
</div>
</div>
</SigmaUIProvider>
);
}
Payment demo
Payment demo demonstrates mutually exclusive choices. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Radio, 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-ceisde-2w3maq-ex-fb96ed05ab98-el-489{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-ceisde-2w3maq-ex-fb96ed05ab98-el-489 \u003e *{width:100% !important}\n.sigma-export-ceisde-2w3maq-ex-fb96ed05ab98-el-490{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-ceisde-2w3maq-ex-fb96ed05ab98-el-490 \u003e *{width:100% !important}\n.sigma-export-ceisde-2w3maq-ex-fb96ed05ab98-el-491{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-ceisde-2w3maq-ex-fb96ed05ab98-el-491 \u003e *{width:100% !important}\n.sigma-export-ceisde-2w3maq-ex-fb96ed05ab98-el-492{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-ceisde-2w3maq-ex-fb96ed05ab98-el-492 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-ceisde-2w3maq-ex-fb96ed05ab98-el-489" data-node="ex-fb96ed05ab98-el-489" style={{"--node-gap":"16px","--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-ceisde-2w3maq-ex-fb96ed05ab98-el-490" data-node="ex-fb96ed05ab98-el-490" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Card demo"} name={"g-fb96ed05ab98-choices-492"} defaultChecked={true} disabled={false} />
</div>
<div className="sigma-node sigma-export-ceisde-2w3maq-ex-fb96ed05ab98-el-491" data-node="ex-fb96ed05ab98-el-491" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Bank transfer demo"} name={"g-fb96ed05ab98-choices-492"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-ceisde-2w3maq-ex-fb96ed05ab98-el-492" data-node="ex-fb96ed05ab98-el-492" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Invoice demo"} name={"g-fb96ed05ab98-choices-492"} defaultChecked={false} disabled={false} />
</div>
</Stack>
</div>
</div>
</SigmaUIProvider>
);
}
Appearance choice
Appearance choice demonstrates mutually exclusive choices. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Radio, 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-r3smg-1jwjvpe-ex-4ae0e4cbafb6-el-497{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-r3smg-1jwjvpe-ex-4ae0e4cbafb6-el-497 \u003e *{width:100% !important}\n.sigma-export-r3smg-1jwjvpe-ex-4ae0e4cbafb6-el-498{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-r3smg-1jwjvpe-ex-4ae0e4cbafb6-el-498 \u003e *{width:100% !important}\n.sigma-export-r3smg-1jwjvpe-ex-4ae0e4cbafb6-el-499{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-r3smg-1jwjvpe-ex-4ae0e4cbafb6-el-499 \u003e *{width:100% !important}\n.sigma-export-r3smg-1jwjvpe-ex-4ae0e4cbafb6-el-500{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-r3smg-1jwjvpe-ex-4ae0e4cbafb6-el-500 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-r3smg-1jwjvpe-ex-4ae0e4cbafb6-el-497" data-node="ex-4ae0e4cbafb6-el-497" style={{"--node-gap":"16px","--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-r3smg-1jwjvpe-ex-4ae0e4cbafb6-el-498" data-node="ex-4ae0e4cbafb6-el-498" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Light appearance"} name={"g-4ae0e4cbafb6-choices-500"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-r3smg-1jwjvpe-ex-4ae0e4cbafb6-el-499" data-node="ex-4ae0e4cbafb6-el-499" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Dark appearance"} name={"g-4ae0e4cbafb6-choices-500"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-r3smg-1jwjvpe-ex-4ae0e4cbafb6-el-500" data-node="ex-4ae0e4cbafb6-el-500" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"System appearance"} name={"g-4ae0e4cbafb6-choices-500"} defaultChecked={false} disabled={false} />
</div>
</Stack>
</div>
</div>
</SigmaUIProvider>
);
}
Survey choice
Survey choice demonstrates mutually exclusive choices. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ExtendedElement, Radio, 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-41rqkp-2i0dkj-ex-788f9886f071-el-504{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-41rqkp-2i0dkj-ex-788f9886f071-el-504 \u003e *{width:100% !important}\n.sigma-export-41rqkp-2i0dkj-ex-788f9886f071-el-508{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-41rqkp-2i0dkj-ex-788f9886f071-el-508 \u003e *{width:100% !important}\n.sigma-export-41rqkp-2i0dkj-ex-788f9886f071-el-505{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-41rqkp-2i0dkj-ex-788f9886f071-el-505 \u003e *{width:100% !important}\n.sigma-export-41rqkp-2i0dkj-ex-788f9886f071-el-506{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-41rqkp-2i0dkj-ex-788f9886f071-el-506 \u003e *{width:100% !important}\n.sigma-export-41rqkp-2i0dkj-ex-788f9886f071-el-507{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-41rqkp-2i0dkj-ex-788f9886f071-el-507 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-41rqkp-2i0dkj-ex-788f9886f071-el-504" data-node="ex-788f9886f071-el-504" style={{"--node-gap":"16px","--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-41rqkp-2i0dkj-ex-788f9886f071-el-508" data-node="ex-788f9886f071-el-508" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Text"} props={{"text":"Tell us about this demonstration."}} />
</div>
<div className="sigma-node sigma-export-41rqkp-2i0dkj-ex-788f9886f071-el-505" data-node="ex-788f9886f071-el-505" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Very useful"} name={"g-788f9886f071-choices-507"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-41rqkp-2i0dkj-ex-788f9886f071-el-506" data-node="ex-788f9886f071-el-506" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Somewhat useful"} name={"g-788f9886f071-choices-507"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-41rqkp-2i0dkj-ex-788f9886f071-el-507" data-node="ex-788f9886f071-el-507" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Needs improvement"} name={"g-788f9886f071-choices-507"} 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.