Stack
Original Stack 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 Stack primitive and editable children.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { DemoAction, 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-kin3nt-16ekrjn-ex-44a031569925-el-76{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-kin3nt-16ekrjn-ex-44a031569925-el-76 \u003e *{width:100% !important}\n.sigma-export-kin3nt-16ekrjn-ex-44a031569925-el-77{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-kin3nt-16ekrjn-ex-44a031569925-el-77 \u003e *{width:100% !important}\n.sigma-export-kin3nt-16ekrjn-ex-44a031569925-el-78{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-kin3nt-16ekrjn-ex-44a031569925-el-78 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-kin3nt-16ekrjn-ex-44a031569925-el-76" data-node="ex-44a031569925-el-76" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-kin3nt-16ekrjn-ex-44a031569925-el-77" data-node="ex-44a031569925-el-77" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Text"} props={{"text":"A workspace shaped around you."}} />
</div>
<div className="sigma-node sigma-export-kin3nt-16ekrjn-ex-44a031569925-el-78" data-node="ex-44a031569925-el-78" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<DemoAction variant={"outline"} disabled={false} aria-busy={false}>
{"Explore the local demo"}
</DemoAction>
</div>
</Stack>
</div>
</div>
</SigmaUIProvider>
);
}
Content collection
Content collection using the original Stack primitive and editable children.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { DemoAction, 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-v63nlx-irgp0z-ex-0e9913761915-el-79{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-v63nlx-irgp0z-ex-0e9913761915-el-79 \u003e *{width:100% !important}\n.sigma-export-v63nlx-irgp0z-ex-0e9913761915-el-80{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-v63nlx-irgp0z-ex-0e9913761915-el-80 \u003e *{width:100% !important}\n.sigma-export-v63nlx-irgp0z-ex-0e9913761915-el-81{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-v63nlx-irgp0z-ex-0e9913761915-el-81 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-v63nlx-irgp0z-ex-0e9913761915-el-79" data-node="ex-0e9913761915-el-79" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"16px","--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-v63nlx-irgp0z-ex-0e9913761915-el-80" data-node="ex-0e9913761915-el-80" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Text"} props={{"text":"A workspace shaped around you."}} />
</div>
<div className="sigma-node sigma-export-v63nlx-irgp0z-ex-0e9913761915-el-81" data-node="ex-0e9913761915-el-81" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<DemoAction variant={"outline"} disabled={false} aria-busy={false}>
{"Explore the local demo"}
</DemoAction>
</div>
</Stack>
</div>
</div>
</SigmaUIProvider>
);
}
Compact context
Compact context using the original Stack primitive and editable children.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { DemoAction, 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-15xhq1l-1uge9rn-ex-1d108d5bfd94-el-82{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-15xhq1l-1uge9rn-ex-1d108d5bfd94-el-82 \u003e *{width:100% !important}\n.sigma-export-15xhq1l-1uge9rn-ex-1d108d5bfd94-el-83{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-15xhq1l-1uge9rn-ex-1d108d5bfd94-el-83 \u003e *{width:100% !important}\n.sigma-export-15xhq1l-1uge9rn-ex-1d108d5bfd94-el-84{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-15xhq1l-1uge9rn-ex-1d108d5bfd94-el-84 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-15xhq1l-1uge9rn-ex-1d108d5bfd94-el-82" data-node="ex-1d108d5bfd94-el-82" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-15xhq1l-1uge9rn-ex-1d108d5bfd94-el-83" data-node="ex-1d108d5bfd94-el-83" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Text"} props={{"text":"A workspace shaped around you."}} />
</div>
<div className="sigma-node sigma-export-15xhq1l-1uge9rn-ex-1d108d5bfd94-el-84" data-node="ex-1d108d5bfd94-el-84" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<DemoAction variant={"outline"} disabled={false} aria-busy={false}>
{"Explore the local demo"}
</DemoAction>
</div>
</Stack>
</div>
</div>
</SigmaUIProvider>
);
}
Responsive composition
Responsive composition using the original Stack primitive and editable children.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { DemoAction, 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-m1lll9-6370mr-ex-681673282710-el-85{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-m1lll9-6370mr-ex-681673282710-el-85 \u003e *{width:100% !important}\n.sigma-export-m1lll9-6370mr-ex-681673282710-el-86{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-m1lll9-6370mr-ex-681673282710-el-86 \u003e *{width:100% !important}\n.sigma-export-m1lll9-6370mr-ex-681673282710-el-87{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-m1lll9-6370mr-ex-681673282710-el-87 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-m1lll9-6370mr-ex-681673282710-el-85" data-node="ex-681673282710-el-85" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"32px","--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-m1lll9-6370mr-ex-681673282710-el-86" data-node="ex-681673282710-el-86" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Text"} props={{"text":"A workspace shaped around you."}} />
</div>
<div className="sigma-node sigma-export-m1lll9-6370mr-ex-681673282710-el-87" data-node="ex-681673282710-el-87" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<DemoAction variant={"outline"} disabled={false} aria-busy={false}>
{"Explore the local demo"}
</DemoAction>
</div>
</Stack>
</div>
</div>
</SigmaUIProvider>
);
}
Editorial context
Editorial context using the original Stack primitive and editable children.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { DemoAction, 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-1yfvxu1-m4k7sj-ex-20d57d84d2fe-el-88{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1yfvxu1-m4k7sj-ex-20d57d84d2fe-el-88 \u003e *{width:100% !important}\n.sigma-export-1yfvxu1-m4k7sj-ex-20d57d84d2fe-el-89{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1yfvxu1-m4k7sj-ex-20d57d84d2fe-el-89 \u003e *{width:100% !important}\n.sigma-export-1yfvxu1-m4k7sj-ex-20d57d84d2fe-el-90{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1yfvxu1-m4k7sj-ex-20d57d84d2fe-el-90 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1yfvxu1-m4k7sj-ex-20d57d84d2fe-el-88" data-node="ex-20d57d84d2fe-el-88" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"12px","--node-tablet":2} as CSSProperties}>
<Stack>
<div className="sigma-node sigma-export-1yfvxu1-m4k7sj-ex-20d57d84d2fe-el-89" data-node="ex-20d57d84d2fe-el-89" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Text"} props={{"text":"A workspace shaped around you."}} />
</div>
<div className="sigma-node sigma-export-1yfvxu1-m4k7sj-ex-20d57d84d2fe-el-90" data-node="ex-20d57d84d2fe-el-90" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<DemoAction variant={"outline"} disabled={false} aria-busy={false}>
{"Explore the local demo"}
</DemoAction>
</div>
</Stack>
</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.