Accordions
Expandable grouped content
Five practical starting points. Explore a live example, then open its exact document in Studio.
Product details
Product details demonstrates expandable grouped content. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Accordion, 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-1idxp8d-1x2lzlf-ex-ec4d4f6bb08b-el-1{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1idxp8d-1x2lzlf-ex-ec4d4f6bb08b-el-1 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1idxp8d-1x2lzlf-ex-ec4d4f6bb08b-el-1" data-node="ex-ec4d4f6bb08b-el-1" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Accordion items={[{"content":"Recycled aluminium and soft woven fabric.","id":"item-0","label":"Materials"},{"content":"Wipe clean with a dry cloth.","id":"item-1","label":"Care"}]} />
</div>
</div>
</SigmaUIProvider>
);
}
Settings groups
Settings groups demonstrates expandable grouped content. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Accordion, 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-1n7kfcr-w7a5w3-ex-ff1e5bd05235-el-2{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1n7kfcr-w7a5w3-ex-ff1e5bd05235-el-2 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1n7kfcr-w7a5w3-ex-ff1e5bd05235-el-2" data-node="ex-ff1e5bd05235-el-2" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Accordion items={[{"content":"Manage local project settings.","id":"item-0","label":"Workspace"},{"content":"Choose when to receive updates.","id":"item-1","label":"Notifications"}]} />
</div>
</div>
</SigmaUIProvider>
);
}
Shipping questions
Shipping questions demonstrates expandable grouped content. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Accordion, 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-habszh-1hh7khf-ex-cee48661e1bb-el-3{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-habszh-1hh7khf-ex-cee48661e1bb-el-3 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-habszh-1hh7khf-ex-cee48661e1bb-el-3" data-node="ex-cee48661e1bb-el-3" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Accordion items={[{"content":"Demo delivery takes 3-5 days.","id":"item-0","label":"Shipping"},{"content":"Example returns within 30 days.","id":"item-1","label":"Returns"}]} />
</div>
</div>
</SigmaUIProvider>
);
}
Course outline
Course outline demonstrates expandable grouped content. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Accordion, 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-68g0j9-h9z0xf-ex-3e221b13dd8d-el-4{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-68g0j9-h9z0xf-ex-3e221b13dd8d-el-4 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-68g0j9-h9z0xf-ex-3e221b13dd8d-el-4" data-node="ex-3e221b13dd8d-el-4" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Accordion items={[{"content":"Understand the design model.","id":"item-0","label":"Introduction"},{"content":"Create an editable composition.","id":"item-1","label":"Practice"}]} />
</div>
</div>
</SigmaUIProvider>
);
}
Release notes
Release notes demonstrates expandable grouped content. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Accordion, 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-sntmcz-1opob9v-ex-20f3ac035a49-el-5{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-sntmcz-1opob9v-ex-20f3ac035a49-el-5 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-sntmcz-1opob9v-ex-20f3ac035a49-el-5" data-node="ex-20f3ac035a49-el-5" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Accordion items={[{"content":"New Elements catalogue.","id":"item-0","label":"October"},{"content":"Responsive inspector improvements.","id":"item-1","label":"September"}]} />
</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.