Popover
Context next to a trigger
Five practical starting points. Explore a live example, then open its exact document in Studio.
Profile details
Profile details demonstrates context next to a trigger. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Popover, 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-7t6ey1-xm8boz-ex-50c344bed474-el-361{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-7t6ey1-xm8boz-ex-50c344bed474-el-361 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-7t6ey1-xm8boz-ex-50c344bed474-el-361" data-node="ex-50c344bed474-el-361" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Popover trigger={"About Maya"}>
{"Maya Chen • Product designer in Bengaluru"}
</Popover>
</div>
</div>
</SigmaUIProvider>
);
}
Formatting options
Formatting options demonstrates context next to a trigger. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ExtendedElement, Popover, 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-qkny30-17wvz42-ex-6d3e6e8e7d56-el-364{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-qkny30-17wvz42-ex-6d3e6e8e7d56-el-364 \u003e *{width:100% !important}\n.sigma-export-qkny30-17wvz42-ex-6d3e6e8e7d56-el-367{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-qkny30-17wvz42-ex-6d3e6e8e7d56-el-367 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-qkny30-17wvz42-ex-6d3e6e8e7d56-el-364" data-node="ex-6d3e6e8e7d56-el-364" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"16px","--node-tablet":2} as CSSProperties}>
<Popover trigger={"Format text"}>
{"Choose a heading level or text treatment."}
<div className="sigma-node sigma-export-qkny30-17wvz42-ex-6d3e6e8e7d56-el-367" data-node="ex-6d3e6e8e7d56-el-367" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Toggle"} props={{"title":"Bold"}} />
</div>
</Popover>
</div>
</div>
</SigmaUIProvider>
);
}
Filter context
Filter context demonstrates context next to a trigger. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Checkbox, Popover, 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-1m369nc-65yooy-ex-2e6e20f6a907-el-371{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1m369nc-65yooy-ex-2e6e20f6a907-el-371 \u003e *{width:100% !important}\n.sigma-export-1m369nc-65yooy-ex-2e6e20f6a907-el-374{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1m369nc-65yooy-ex-2e6e20f6a907-el-374 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1m369nc-65yooy-ex-2e6e20f6a907-el-371" data-node="ex-2e6e20f6a907-el-371" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"32px","--node-tablet":2} as CSSProperties}>
<Popover trigger={"Filter projects"}>
{"Narrow your view to active projects."}
<div className="sigma-node sigma-export-1m369nc-65yooy-ex-2e6e20f6a907-el-374" data-node="ex-2e6e20f6a907-el-374" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkbox label={"Active projects only"} defaultChecked={false} disabled={false} />
</div>
</Popover>
</div>
</div>
</SigmaUIProvider>
);
}
Help context
Help context demonstrates context next to a trigger. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Popover, 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-o6bp4t-yqei0j-ex-baf587faaa5c-el-375{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-o6bp4t-yqei0j-ex-baf587faaa5c-el-375 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-o6bp4t-yqei0j-ex-baf587faaa5c-el-375" data-node="ex-baf587faaa5c-el-375" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"12px","--node-tablet":2} as CSSProperties}>
<Popover trigger={"How drafts work"}>
{"Drafts are stored in this browser and can be exported as JSON."}
</Popover>
</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.