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-h7taro-3kl1e-ex-08901f905b60-el-435{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-h7taro-3kl1e-ex-08901f905b60-el-435 \u003e *{width:100% !important}\n.sigma-export-h7taro-3kl1e-ex-08901f905b60-el-436{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-h7taro-3kl1e-ex-08901f905b60-el-436 \u003e *{width:100% !important}\n.sigma-export-h7taro-3kl1e-ex-08901f905b60-el-437{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-h7taro-3kl1e-ex-08901f905b60-el-437 \u003e *{width:100% !important}\n.sigma-export-h7taro-3kl1e-ex-08901f905b60-el-438{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-h7taro-3kl1e-ex-08901f905b60-el-438 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-h7taro-3kl1e-ex-08901f905b60-el-435" data-node="ex-08901f905b60-el-435" style={{"--node-gap":"16px","--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-h7taro-3kl1e-ex-08901f905b60-el-436" data-node="ex-08901f905b60-el-436" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Express delivery"} name={"g-08901f905b60-choices-438"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-h7taro-3kl1e-ex-08901f905b60-el-437" data-node="ex-08901f905b60-el-437" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Standard delivery"} name={"g-08901f905b60-choices-438"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-h7taro-3kl1e-ex-08901f905b60-el-438" data-node="ex-08901f905b60-el-438" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Collect locally"} name={"g-08901f905b60-choices-438"} 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-wyzbxs-c3c2de-ex-eb319ab002b9-el-443{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-wyzbxs-c3c2de-ex-eb319ab002b9-el-443 \u003e *{width:100% !important}\n.sigma-export-wyzbxs-c3c2de-ex-eb319ab002b9-el-444{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-wyzbxs-c3c2de-ex-eb319ab002b9-el-444 \u003e *{width:100% !important}\n.sigma-export-wyzbxs-c3c2de-ex-eb319ab002b9-el-445{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-wyzbxs-c3c2de-ex-eb319ab002b9-el-445 \u003e *{width:100% !important}\n.sigma-export-wyzbxs-c3c2de-ex-eb319ab002b9-el-446{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-wyzbxs-c3c2de-ex-eb319ab002b9-el-446 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-wyzbxs-c3c2de-ex-eb319ab002b9-el-443" data-node="ex-eb319ab002b9-el-443" style={{"--node-gap":"16px","--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-wyzbxs-c3c2de-ex-eb319ab002b9-el-444" data-node="ex-eb319ab002b9-el-444" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Starter plan"} name={"g-eb319ab002b9-choices-446"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-wyzbxs-c3c2de-ex-eb319ab002b9-el-445" data-node="ex-eb319ab002b9-el-445" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Studio plan"} name={"g-eb319ab002b9-choices-446"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-wyzbxs-c3c2de-ex-eb319ab002b9-el-446" data-node="ex-eb319ab002b9-el-446" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Enterprise plan"} name={"g-eb319ab002b9-choices-446"} 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-1xaejo8-tmghs2-ex-a59e976e78d6-el-451{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1xaejo8-tmghs2-ex-a59e976e78d6-el-451 \u003e *{width:100% !important}\n.sigma-export-1xaejo8-tmghs2-ex-a59e976e78d6-el-452{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1xaejo8-tmghs2-ex-a59e976e78d6-el-452 \u003e *{width:100% !important}\n.sigma-export-1xaejo8-tmghs2-ex-a59e976e78d6-el-453{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1xaejo8-tmghs2-ex-a59e976e78d6-el-453 \u003e *{width:100% !important}\n.sigma-export-1xaejo8-tmghs2-ex-a59e976e78d6-el-454{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1xaejo8-tmghs2-ex-a59e976e78d6-el-454 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1xaejo8-tmghs2-ex-a59e976e78d6-el-451" data-node="ex-a59e976e78d6-el-451" style={{"--node-gap":"16px","--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-1xaejo8-tmghs2-ex-a59e976e78d6-el-452" data-node="ex-a59e976e78d6-el-452" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Card demo"} name={"g-a59e976e78d6-choices-454"} defaultChecked={true} disabled={false} />
</div>
<div className="sigma-node sigma-export-1xaejo8-tmghs2-ex-a59e976e78d6-el-453" data-node="ex-a59e976e78d6-el-453" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Bank transfer demo"} name={"g-a59e976e78d6-choices-454"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-1xaejo8-tmghs2-ex-a59e976e78d6-el-454" data-node="ex-a59e976e78d6-el-454" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Invoice demo"} name={"g-a59e976e78d6-choices-454"} 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-1hnfd3q-1rey1cy-ex-029baeafdf5f-el-459{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1hnfd3q-1rey1cy-ex-029baeafdf5f-el-459 \u003e *{width:100% !important}\n.sigma-export-1hnfd3q-1rey1cy-ex-029baeafdf5f-el-460{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1hnfd3q-1rey1cy-ex-029baeafdf5f-el-460 \u003e *{width:100% !important}\n.sigma-export-1hnfd3q-1rey1cy-ex-029baeafdf5f-el-461{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1hnfd3q-1rey1cy-ex-029baeafdf5f-el-461 \u003e *{width:100% !important}\n.sigma-export-1hnfd3q-1rey1cy-ex-029baeafdf5f-el-462{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1hnfd3q-1rey1cy-ex-029baeafdf5f-el-462 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1hnfd3q-1rey1cy-ex-029baeafdf5f-el-459" data-node="ex-029baeafdf5f-el-459" style={{"--node-gap":"16px","--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-1hnfd3q-1rey1cy-ex-029baeafdf5f-el-460" data-node="ex-029baeafdf5f-el-460" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Light appearance"} name={"g-029baeafdf5f-choices-462"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-1hnfd3q-1rey1cy-ex-029baeafdf5f-el-461" data-node="ex-029baeafdf5f-el-461" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Dark appearance"} name={"g-029baeafdf5f-choices-462"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-1hnfd3q-1rey1cy-ex-029baeafdf5f-el-462" data-node="ex-029baeafdf5f-el-462" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"System appearance"} name={"g-029baeafdf5f-choices-462"} 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-bthqvd-1jzul0z-ex-d1deeeceafe6-el-466{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-bthqvd-1jzul0z-ex-d1deeeceafe6-el-466 \u003e *{width:100% !important}\n.sigma-export-bthqvd-1jzul0z-ex-d1deeeceafe6-el-470{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-bthqvd-1jzul0z-ex-d1deeeceafe6-el-470 \u003e *{width:100% !important}\n.sigma-export-bthqvd-1jzul0z-ex-d1deeeceafe6-el-467{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-bthqvd-1jzul0z-ex-d1deeeceafe6-el-467 \u003e *{width:100% !important}\n.sigma-export-bthqvd-1jzul0z-ex-d1deeeceafe6-el-468{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-bthqvd-1jzul0z-ex-d1deeeceafe6-el-468 \u003e *{width:100% !important}\n.sigma-export-bthqvd-1jzul0z-ex-d1deeeceafe6-el-469{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-bthqvd-1jzul0z-ex-d1deeeceafe6-el-469 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-bthqvd-1jzul0z-ex-d1deeeceafe6-el-466" data-node="ex-d1deeeceafe6-el-466" style={{"--node-gap":"16px","--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-bthqvd-1jzul0z-ex-d1deeeceafe6-el-470" data-node="ex-d1deeeceafe6-el-470" 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-bthqvd-1jzul0z-ex-d1deeeceafe6-el-467" data-node="ex-d1deeeceafe6-el-467" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Very useful"} name={"g-d1deeeceafe6-choices-469"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-bthqvd-1jzul0z-ex-d1deeeceafe6-el-468" data-node="ex-d1deeeceafe6-el-468" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Somewhat useful"} name={"g-d1deeeceafe6-choices-469"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-bthqvd-1jzul0z-ex-d1deeeceafe6-el-469" data-node="ex-d1deeeceafe6-el-469" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Radio label={"Needs improvement"} name={"g-d1deeeceafe6-choices-469"} 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.