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-fq790r-z62l77-ex-fbbc8270feed-el-6{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-fq790r-z62l77-ex-fbbc8270feed-el-6 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-fq790r-z62l77-ex-fbbc8270feed-el-6" data-node="ex-fbbc8270feed-el-6" 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-1lt29gz-1x94vmb-ex-112b458616b7-el-7{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1lt29gz-1x94vmb-ex-112b458616b7-el-7 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1lt29gz-1x94vmb-ex-112b458616b7-el-7" data-node="ex-112b458616b7-el-7" 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-io0l1f-1xuggur-ex-0a9a93d700e5-el-8{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-io0l1f-1xuggur-ex-0a9a93d700e5-el-8 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-io0l1f-1xuggur-ex-0a9a93d700e5-el-8" data-node="ex-0a9a93d700e5-el-8" 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-3p56vd-1iphlpv-ex-ef78576df404-el-9{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-3p56vd-1iphlpv-ex-ef78576df404-el-9 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-3p56vd-1iphlpv-ex-ef78576df404-el-9" data-node="ex-ef78576df404-el-9" 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-gxvccj-pctv4j-ex-06ff95c8d684-el-10{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-gxvccj-pctv4j-ex-06ff95c8d684-el-10 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-gxvccj-pctv4j-ex-06ff95c8d684-el-10" data-node="ex-06ff95c8d684-el-10" 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.