Collapse
A single expandable region, distinct from Accordions
Five practical starting points. Explore a live example, then open its exact document in Studio.
Read more
Read more demonstrates a single expandable region, distinct from accordions. Edit content, composition and responsive styling in Studio.
Read more
Thoughtful design starts with a clear understanding of the people who use it.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ExtendedElement, 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-19nhgml-vj5hv7-ex-2689a134b5d4-el-600{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-19nhgml-vj5hv7-ex-2689a134b5d4-el-600 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-19nhgml-vj5hv7-ex-2689a134b5d4-el-600" data-node="ex-2689a134b5d4-el-600" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Collapse"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Thoughtful design starts with a clear understanding of the people who use it.","gap":16,"items":["Design|24","Build|48","Review|72"],"label":"Read more","padding":24,"src":"/elements/product.svg","text":"standard","title":"Read more","value":24}} />
</div>
</div>
</SigmaUIProvider>
);
}
Advanced options
Advanced options demonstrates a single expandable region, distinct from accordions. Edit content, composition and responsive styling in Studio.
Advanced options
Enable local drafts, configure the preview size and choose a theme.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ExtendedElement, Select, SigmaUIProvider, Switch } 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-75538j-16k97ir-ex-522689d9890a-el-603{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-75538j-16k97ir-ex-522689d9890a-el-603 \u003e *{width:100% !important}\n.sigma-export-75538j-16k97ir-ex-522689d9890a-el-606{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-75538j-16k97ir-ex-522689d9890a-el-606 \u003e *{width:100% !important}\n.sigma-export-75538j-16k97ir-ex-522689d9890a-el-607{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-75538j-16k97ir-ex-522689d9890a-el-607 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-75538j-16k97ir-ex-522689d9890a-el-603" data-node="ex-522689d9890a-el-603" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"16px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Collapse"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Enable local drafts, configure the preview size and choose a theme.","gap":16,"items":["Maya Chen|Online","Alex Rivera|Away"],"label":"Advanced options","padding":16,"src":"/elements/product.svg","text":"compact","title":"Advanced options","value":65}}>
<div className="sigma-node sigma-export-75538j-16k97ir-ex-522689d9890a-el-606" data-node="ex-522689d9890a-el-606" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Switch label={"Save local drafts"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-75538j-16k97ir-ex-522689d9890a-el-607" data-node="ex-522689d9890a-el-607" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Select label={"Theme"} options={["Minimal","Glass","Editorial"]} />
</div>
</ExtendedElement>
</div>
</div>
</SigmaUIProvider>
);
}
Order summary
Order summary demonstrates a single expandable region, distinct from accordions. Edit content, composition and responsive styling in Studio.
Order summary
Arc headphones • 1 • Illustrative total $129. No payment is processed.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ExtendedElement, 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-119ogtj-1cehj4j-ex-73f71dfbfd28-el-608{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-119ogtj-1cehj4j-ex-73f71dfbfd28-el-608 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-119ogtj-1cehj4j-ex-73f71dfbfd28-el-608" data-node="ex-73f71dfbfd28-el-608" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Collapse"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Arc headphones • 1 • Illustrative total $129. No payment is processed.","gap":16,"items":["Overview|Start here","Projects|Your recent work","Settings|Preferences"],"label":"Order summary","padding":24,"src":"/elements/product.svg","text":"detailed","title":"Order summary","value":82}} />
</div>
</div>
</SigmaUIProvider>
);
}
Mobile disclosure
Mobile disclosure demonstrates a single expandable region, distinct from accordions. Edit content, composition and responsive styling in Studio.
Mobile disclosure
Browse projects, people and workspace preferences.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ExtendedElement, 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-1fnrpdj-wzcqdv-ex-ac5241dcba9a-el-611{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1fnrpdj-wzcqdv-ex-ac5241dcba9a-el-611 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1fnrpdj-wzcqdv-ex-ac5241dcba9a-el-611" data-node="ex-ac5241dcba9a-el-611" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"32px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Collapse"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Browse projects, people and workspace preferences.","gap":16,"items":["First milestone|12 Oct","Second milestone|14 Oct","Launch|18 Oct"],"label":"Mobile disclosure","padding":32,"src":"/elements/product.svg","text":"featured","title":"Mobile disclosure","value":40}} />
</div>
</div>
</SigmaUIProvider>
);
}
Help details
Help details demonstrates a single expandable region, distinct from accordions. Edit content, composition and responsive styling in Studio.
Help details
All edits are saved locally. Export JSON to keep a portable backup.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ExtendedElement, 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-tlcf5l-1p3kjn7-ex-4da49370be1d-el-614{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-tlcf5l-1p3kjn7-ex-4da49370be1d-el-614 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-tlcf5l-1p3kjn7-ex-4da49370be1d-el-614" data-node="ex-4da49370be1d-el-614" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"12px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Collapse"} props={{"alt":"SigmaUI abstract workspace illustration","description":"All edits are saved locally. Export JSON to keep a portable backup.","gap":16,"items":["Getting started|A thoughtful beginning"],"label":"Help details","padding":12,"src":"/elements/product.svg","text":"minimal","title":"Help details","value":100}} />
</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.