Tooltip
Short supplementary hints
Five practical starting points. Explore a live example, then open its exact document in Studio.
Icon hint
Icon hint demonstrates short supplementary hints. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Button, SigmaUIProvider, Tooltip } 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-w20rbh-55kik3-ex-7f815ba272bf-el-291{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-w20rbh-55kik3-ex-7f815ba272bf-el-291 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-w20rbh-55kik3-ex-7f815ba272bf-el-291" data-node="ex-7f815ba272bf-el-291" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Tooltip content={"Open the local preview"}>
<Button>{"?"}</Button>
</Tooltip>
</div>
</div>
</SigmaUIProvider>
);
}
Shortcut hint
Shortcut hint demonstrates short supplementary hints. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Button, SigmaUIProvider, Tooltip } 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-98b2kj-1fclaz7-ex-744e53055b2a-el-292{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-98b2kj-1fclaz7-ex-744e53055b2a-el-292 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-98b2kj-1fclaz7-ex-744e53055b2a-el-292" data-node="ex-744e53055b2a-el-292" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"16px","--node-tablet":2} as CSSProperties}>
<Tooltip content={"Shortcut: Ctrl + S"}>
<Button>{"Save draft"}</Button>
</Tooltip>
</div>
</div>
</SigmaUIProvider>
);
}
Status hint
Status hint demonstrates short supplementary hints. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Button, SigmaUIProvider, Tooltip } 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-1j8r31x-6bxxdf-ex-cb9387f57ba6-el-293{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1j8r31x-6bxxdf-ex-cb9387f57ba6-el-293 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1j8r31x-6bxxdf-ex-cb9387f57ba6-el-293" data-node="ex-cb9387f57ba6-el-293" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Tooltip content={"All edits are stored locally"}>
<Button>{"Sync status"}</Button>
</Tooltip>
</div>
</div>
</SigmaUIProvider>
);
}
Help hint
Help hint demonstrates short supplementary hints. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Button, SigmaUIProvider, Tooltip } 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-lmbqlf-1k5r00j-ex-2561e92b09a7-el-294{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-lmbqlf-1k5r00j-ex-2561e92b09a7-el-294 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-lmbqlf-1k5r00j-ex-2561e92b09a7-el-294" data-node="ex-2561e92b09a7-el-294" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"32px","--node-tablet":2} as CSSProperties}>
<Tooltip content={"Learn about the current setting"}>
<Button>{"? Help"}</Button>
</Tooltip>
</div>
</div>
</SigmaUIProvider>
);
}
Truncated text hint
Truncated text hint demonstrates short supplementary hints. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Button, SigmaUIProvider, Tooltip } 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-17w8yqb-15sueab-ex-4d4a3ddb3dc6-el-295{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-17w8yqb-15sueab-ex-4d4a3ddb3dc6-el-295 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-17w8yqb-15sueab-ex-4d4a3ddb3dc6-el-295" data-node="ex-4d4a3ddb3dc6-el-295" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"12px","--node-tablet":2} as CSSProperties}>
<Tooltip content={"Workspace overview and recent project activity"}>
<Button>{"Workspace overview?"}</Button>
</Tooltip>
</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.