Section
Original Section 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 Section primitive and editable children.
Essential composition
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { DemoAction, ExtendedElement, Section, 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-1qbuglh-ipgcj7-ex-084ff220b144-el-91{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1qbuglh-ipgcj7-ex-084ff220b144-el-91 \u003e *{width:100% !important}\n.sigma-export-1qbuglh-ipgcj7-ex-084ff220b144-el-92{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1qbuglh-ipgcj7-ex-084ff220b144-el-92 \u003e *{width:100% !important}\n.sigma-export-1qbuglh-ipgcj7-ex-084ff220b144-el-93{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1qbuglh-ipgcj7-ex-084ff220b144-el-93 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1qbuglh-ipgcj7-ex-084ff220b144-el-91" data-node="ex-084ff220b144-el-91" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Section>
<h2>{"Essential composition"}</h2>
<div className="sigma-node sigma-export-1qbuglh-ipgcj7-ex-084ff220b144-el-92" data-node="ex-084ff220b144-el-92" 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-1qbuglh-ipgcj7-ex-084ff220b144-el-93" data-node="ex-084ff220b144-el-93" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<DemoAction variant={"outline"} disabled={false} aria-busy={false}>
{"Explore the local demo"}
</DemoAction>
</div>
</Section>
</div>
</div>
</SigmaUIProvider>
);
}
Content collection
Content collection using the original Section primitive and editable children.
Content collection
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { DemoAction, ExtendedElement, Section, 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-10qmrvp-1k9ufar-ex-3166d8fc8eae-el-94{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-10qmrvp-1k9ufar-ex-3166d8fc8eae-el-94 \u003e *{width:100% !important}\n.sigma-export-10qmrvp-1k9ufar-ex-3166d8fc8eae-el-95{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-10qmrvp-1k9ufar-ex-3166d8fc8eae-el-95 \u003e *{width:100% !important}\n.sigma-export-10qmrvp-1k9ufar-ex-3166d8fc8eae-el-96{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-10qmrvp-1k9ufar-ex-3166d8fc8eae-el-96 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-10qmrvp-1k9ufar-ex-3166d8fc8eae-el-94" data-node="ex-3166d8fc8eae-el-94" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"16px","--node-tablet":2} as CSSProperties}>
<Section>
<h2>{"Content collection"}</h2>
<div className="sigma-node sigma-export-10qmrvp-1k9ufar-ex-3166d8fc8eae-el-95" data-node="ex-3166d8fc8eae-el-95" 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-10qmrvp-1k9ufar-ex-3166d8fc8eae-el-96" data-node="ex-3166d8fc8eae-el-96" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<DemoAction variant={"outline"} disabled={false} aria-busy={false}>
{"Explore the local demo"}
</DemoAction>
</div>
</Section>
</div>
</div>
</SigmaUIProvider>
);
}
Compact context
Compact context using the original Section primitive and editable children.
Compact context
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { DemoAction, ExtendedElement, Section, 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-lwkqgl-1hhju9f-ex-750b846bab4a-el-97{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-lwkqgl-1hhju9f-ex-750b846bab4a-el-97 \u003e *{width:100% !important}\n.sigma-export-lwkqgl-1hhju9f-ex-750b846bab4a-el-98{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-lwkqgl-1hhju9f-ex-750b846bab4a-el-98 \u003e *{width:100% !important}\n.sigma-export-lwkqgl-1hhju9f-ex-750b846bab4a-el-99{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-lwkqgl-1hhju9f-ex-750b846bab4a-el-99 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-lwkqgl-1hhju9f-ex-750b846bab4a-el-97" data-node="ex-750b846bab4a-el-97" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Section>
<h2>{"Compact context"}</h2>
<div className="sigma-node sigma-export-lwkqgl-1hhju9f-ex-750b846bab4a-el-98" data-node="ex-750b846bab4a-el-98" 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-lwkqgl-1hhju9f-ex-750b846bab4a-el-99" data-node="ex-750b846bab4a-el-99" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<DemoAction variant={"outline"} disabled={false} aria-busy={false}>
{"Explore the local demo"}
</DemoAction>
</div>
</Section>
</div>
</div>
</SigmaUIProvider>
);
}
Responsive composition
Responsive composition using the original Section primitive and editable children.
Responsive composition
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { DemoAction, ExtendedElement, Section, 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-1lj0ti5-u1yu2b-ex-3b47c2a0b604-el-100{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1lj0ti5-u1yu2b-ex-3b47c2a0b604-el-100 \u003e *{width:100% !important}\n.sigma-export-1lj0ti5-u1yu2b-ex-3b47c2a0b604-el-101{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1lj0ti5-u1yu2b-ex-3b47c2a0b604-el-101 \u003e *{width:100% !important}\n.sigma-export-1lj0ti5-u1yu2b-ex-3b47c2a0b604-el-102{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1lj0ti5-u1yu2b-ex-3b47c2a0b604-el-102 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1lj0ti5-u1yu2b-ex-3b47c2a0b604-el-100" data-node="ex-3b47c2a0b604-el-100" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"32px","--node-tablet":2} as CSSProperties}>
<Section>
<h2>{"Responsive composition"}</h2>
<div className="sigma-node sigma-export-1lj0ti5-u1yu2b-ex-3b47c2a0b604-el-101" data-node="ex-3b47c2a0b604-el-101" 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-1lj0ti5-u1yu2b-ex-3b47c2a0b604-el-102" data-node="ex-3b47c2a0b604-el-102" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<DemoAction variant={"outline"} disabled={false} aria-busy={false}>
{"Explore the local demo"}
</DemoAction>
</div>
</Section>
</div>
</div>
</SigmaUIProvider>
);
}
Editorial context
Editorial context using the original Section primitive and editable children.
Editorial context
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { DemoAction, ExtendedElement, Section, 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-ucg177-8cklcj-ex-dccbf918ac19-el-103{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-ucg177-8cklcj-ex-dccbf918ac19-el-103 \u003e *{width:100% !important}\n.sigma-export-ucg177-8cklcj-ex-dccbf918ac19-el-104{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-ucg177-8cklcj-ex-dccbf918ac19-el-104 \u003e *{width:100% !important}\n.sigma-export-ucg177-8cklcj-ex-dccbf918ac19-el-105{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-ucg177-8cklcj-ex-dccbf918ac19-el-105 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-ucg177-8cklcj-ex-dccbf918ac19-el-103" data-node="ex-dccbf918ac19-el-103" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"12px","--node-tablet":2} as CSSProperties}>
<Section>
<h2>{"Editorial context"}</h2>
<div className="sigma-node sigma-export-ucg177-8cklcj-ex-dccbf918ac19-el-104" data-node="ex-dccbf918ac19-el-104" 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-ucg177-8cklcj-ex-dccbf918ac19-el-105" data-node="ex-dccbf918ac19-el-105" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<DemoAction variant={"outline"} disabled={false} aria-busy={false}>
{"Explore the local demo"}
</DemoAction>
</div>
</Section>
</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.