If you call showDialog() from within an already-open dialog, a new dialog will be shown
on top of the existing one, with breadcrumbs showing the user the titles of the dialogs under
the top one.Clicking outside the dialog will close them all. Esc or clicking the “back” button will close
the top-most dialog.
Example
Call showDialog() from record actions. Hiding the dialog is automatically handled by Attio when the user closes it.
src/app/extensions/aurora/extension.tsx
import React from "react"import {Extensions, showDialog} from "attio/client"import {AuroraDialog} from "./aurora-dialog"export default Extensions.defineExtension({ type: "record-action", id: "aurora", label: "Aurora", onTrigger: async ({recordId}) => { showDialog({ title: "Aurora", Dialog: () => { // This is a React component. It can use hooks and render other components. return <AuroraDialog recordId={recordId} /> }, }) },})
API
TypeScript
async function showDialog(options: DialogOptions): Promise<void>
Returns
A Promise that resolves when the dialog is closed.
DialogOptions
string
required
The title of the dialog.
React.FC<{ hideDialog: () => void }>
required
The contents of the dialog.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Attio Docs","colors":{"primary":"#3b6be8","light":"#f1f3f5"},"logo":{"light":"https://mintcdn.com/attio/3FCwdEhb_DlqKzFE/logo/light.svg?fit=max\u0026auto=format\u0026n=3FCwdEhb_DlqKzFE\u0026q=85\u0026s=4bb7b194e33162f18966b3c1387b34c3","dark":"https://mintcdn.com/attio/3FCwdEhb_DlqKzFE/logo/dark.svg?fit=max\u0026auto=format\u0026n=3FCwdEhb_DlqKzFE\u0026q=85\u0026s=01ea3173e22697a3f1ecf428a89c0d0b"},"favicon":"https://mintcdn.com/attio/K80TPmD53BHsjreP/favicon.svg?fit=max\u0026auto=format\u0026n=K80TPmD53BHsjreP\u0026q=85\u0026s=152cde9e28a397a330931484ee9fc811","background":{"color":{"light":"#fff","dark":"#191b1f"}},"footer":{"socials":{"x":"https://x.com/Attio","website":"https://attio.com"}},"seo":{"indexing":"navigable"},"fonts":{"heading":{"family":"Inter","weight":100},"body":{"family":"Inter"}},"styling":{"codeblocks":"system","latex":true},"integrations":{"ga4":{"measurementId":"G-PZRKGLEPJ3"},"intercom":{"appId":"cqp3eh0z"}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Developer console","icon":"terminal","href":"https://build.attio.com/"},{"anchor":"Support","icon":"headset","href":"https://attio.com/help"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"attio","hasAudioNarration":false,"actualSubdomain":"attio","customDomains":["docs.attio.com"],"gitSource":{"type":"github","owner":"attio","repo":"developer-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b09cd959d92a4426fee06b6","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"REST API","count":226},{"language":"default","tag":"Endpoint reference","count":165},{"language":"default","tag":"App SDK","count":150},{"language":"default","tag":"Core endpoints","count":107},{"language":"default","tag":"Components","count":62},{"language":"default","tag":"Standard objects","count":46},{"language":"default","tag":"Webhook reference","count":34},{"language":"default","tag":"Guides","count":22},{"language":"default","tag":"Attribute types","count":18},{"language":"default","tag":"Forms","count":18}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"*{--font-weight-headings-custom: 500}th{text-align:left}:not(pre)>code{padding:0.125rem}.mermaid-inline button{width:100%;display:flex;justify-content:center;align-items:center}.mermaid-inline button>a{width:100%}img[alt~=\"logo\"]{width:90px}.rounded-xl{border-radius:10px}.rounded-2xl{border-radius:10px}.rounded-\\[14px\\][data-component-part=\"code-block-root\"]{border-radius:8px}#navbar div>a[href=\"/sdk/guides/creating-an-app\"]{position:relative}#navbar div>a[href=\"/sdk/guides/creating-an-app\"]::after{content:\"Alpha\";display:inline-block;font-size:0.7rem;font-weight:600;color:#F97514;background-color:rgb(249, 117, 20, 0.1);padding:0.1rem 0.4rem;border-radius:4px;margin-left:0.5rem}#navigation-items>ul>li>a[href=\"/sdk/guides/creating-an-app\"]{position:relative}#navigation-items>ul>li>a[href=\"/sdk/guides/creating-an-app\"]::after{content:\"Alpha\";display:inline-block;font-size:0.7rem;font-weight:600;color:#0066ff;background-color:rgba(0, 102, 255, 0.1);padding:0.1rem 0.4rem;border-radius:4px;margin-left:0.5rem}"}]}
{"page":{"pagePath":"sdk/dialogs/show-dialog","slug":"/sdk/dialogs/show-dialog","pageMetadata":{"title":"showDialog()","description":"Show a dialog box","href":"/sdk/dialogs/show-dialog"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Show a dialog box\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedImage,ParamField,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(`img`,{className:`dark:mint-hidden`,width:`720`,height:`440`,noZoom:true,src:`https://mintcdn.com/attio/4Fh2EPa8-SlLTNAV/images/dialog.png?fit=max\u0026auto=format\u0026n=4Fh2EPa8-SlLTNAV\u0026q=85\u0026s=8382f7d690adc03b3bde9da44d844d5b`,\"data-og-width\":`1440`,\"data-og-height\":`880`,\"data-path\":`images/dialog.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/attio/4Fh2EPa8-SlLTNAV/images/dialog.png?w=280\u0026fit=max\u0026auto=format\u0026n=4Fh2EPa8-SlLTNAV\u0026q=85\u0026s=6f7a41e77554b7e105c00d78e9dbb311 280w, https://mintcdn.com/attio/4Fh2EPa8-SlLTNAV/images/dialog.png?w=560\u0026fit=max\u0026auto=format\u0026n=4Fh2EPa8-SlLTNAV\u0026q=85\u0026s=6ac7b7cf4f7229eb2284821781ff4c6b 560w, https://mintcdn.com/attio/4Fh2EPa8-SlLTNAV/images/dialog.png?w=840\u0026fit=max\u0026auto=format\u0026n=4Fh2EPa8-SlLTNAV\u0026q=85\u0026s=bcf80cb3072efd48182cb25e17b520ce 840w, https://mintcdn.com/attio/4Fh2EPa8-SlLTNAV/images/dialog.png?w=1100\u0026fit=max\u0026auto=format\u0026n=4Fh2EPa8-SlLTNAV\u0026q=85\u0026s=5a571967156ed6406de877ff55a33f01 1100w, https://mintcdn.com/attio/4Fh2EPa8-SlLTNAV/images/dialog.png?w=1650\u0026fit=max\u0026auto=format\u0026n=4Fh2EPa8-SlLTNAV\u0026q=85\u0026s=da4b14b4709ef6290379052751ffa9b3 1650w, https://mintcdn.com/attio/4Fh2EPa8-SlLTNAV/images/dialog.png?w=2500\u0026fit=max\u0026auto=format\u0026n=4Fh2EPa8-SlLTNAV\u0026q=85\u0026s=6ade8278ab19cea21a68619533e5eff4 2500w`}),`\n`,_jsx(OptimizedImage,{className:`mint-hidden dark:mint-block`,width:`720`,height:`440`,src:`https://mintcdn.com/attio/4Fh2EPa8-SlLTNAV/images/dialog-dark.png?fit=max\u0026auto=format\u0026n=4Fh2EPa8-SlLTNAV\u0026q=85\u0026s=152f14974743b47e31894f064e6e75a3`,\"data-og-width\":`1440`,\"data-og-height\":`880`,\"data-path\":`images/dialog-dark.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/attio/4Fh2EPa8-SlLTNAV/images/dialog-dark.png?w=280\u0026fit=max\u0026auto=format\u0026n=4Fh2EPa8-SlLTNAV\u0026q=85\u0026s=8e26b76d38114daff00a7695b95eb8b9 280w, https://mintcdn.com/attio/4Fh2EPa8-SlLTNAV/images/dialog-dark.png?w=560\u0026fit=max\u0026auto=format\u0026n=4Fh2EPa8-SlLTNAV\u0026q=85\u0026s=c0573bed407b10254cc839bb4e978bde 560w, https://mintcdn.com/attio/4Fh2EPa8-SlLTNAV/images/dialog-dark.png?w=840\u0026fit=max\u0026auto=format\u0026n=4Fh2EPa8-SlLTNAV\u0026q=85\u0026s=73f06e33b33cda37e916e22d89622ca0 840w, https://mintcdn.com/attio/4Fh2EPa8-SlLTNAV/images/dialog-dark.png?w=1100\u0026fit=max\u0026auto=format\u0026n=4Fh2EPa8-SlLTNAV\u0026q=85\u0026s=7f0612667a2639f6083efa3817c27cc4 1100w, https://mintcdn.com/attio/4Fh2EPa8-SlLTNAV/images/dialog-dark.png?w=1650\u0026fit=max\u0026auto=format\u0026n=4Fh2EPa8-SlLTNAV\u0026q=85\u0026s=9aa5a1e17dd11c02d776eb306a20ebbe 1650w, https://mintcdn.com/attio/4Fh2EPa8-SlLTNAV/images/dialog-dark.png?w=2500\u0026fit=max\u0026auto=format\u0026n=4Fh2EPa8-SlLTNAV\u0026q=85\u0026s=ff523ee4421f0a7384f53c063293edb6 2500w`}),`\n`,_jsxs(Tip,{children:[_jsxs(_components.p,{children:[`If you call `,_jsx(_components.code,{children:`showDialog()`}),` from within an already-open dialog, a new dialog will be shown\non top of the existing one, with breadcrumbs showing the user the titles of the dialogs under\nthe top one.`]}),_jsxs(_components.p,{children:[`Clicking outside the dialog will close them all. `,_jsx(_components.code,{children:`Esc`}),` or clicking the “back” button will close\nthe top-most dialog.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsxs(_components.p,{children:[`Call `,_jsx(_components.code,{children:`showDialog()`}),` from record actions. Hiding the dialog is automatically handled by Attio when the user closes it.`]}),`\n`,_jsx(CodeBlock,{filename:`src/app/extensions/aurora/extension.tsx`,numberOfLines:`18`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` React`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"react\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Extensions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`showDialog`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"attio/client\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`AuroraDialog`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"./aurora-dialog\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`export`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` default`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Extensions`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`defineExtension`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"record-action\"`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"aurora\"`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` label:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Aurora\"`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onTrigger`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` async`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ({`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`recordId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` showDialog`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` title:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Aurora\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Dialog`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // This is a React component. It can use hooks and render other components.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`AuroraDialog`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` recordId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`recordId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`api`,children:`API`}),`\n`,_jsx(CodeBlock,{filename:`TypeScript`,numberOfLines:`1`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` showDialog`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`options`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` DialogOptions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Promise`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`void`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`returns`,children:`Returns`}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`Promise`}),` that resolves when the dialog is closed.`]}),`\n`,_jsx(Heading,{level:`2`,id:`dialogoptions`,children:`DialogOptions`}),`\n`,_jsx(ParamField,{path:`title`,type:`string`,required:true,id:`param-title`,children:_jsx(_components.p,{children:`The title of the dialog.`})}),`\n`,_jsx(ParamField,{path:`Dialog`,type:`React.FC\u003c{ hideDialog: () => void }>`,required:true,id:`param-dialog`,children:_jsx(_components.p,{children:`The contents of the dialog.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"showDialog()","description":"Show a dialog box","href":"/sdk/dialogs/show-dialog"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Example","slug":"example","depth":2,"children":[]},{"title":"API","slug":"api","depth":2,"children":[]},{"title":"Returns","slug":"returns","depth":2,"children":[]},{"title":"DialogOptions","slug":"dialogoptions","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"dynamicCss":".mint-hidden {\n display: none\n}\n.dark\\:mint-block:is(.dark *) {\n display: block\n}\n.dark\\:mint-hidden:is(.dark *) {\n display: none\n}","subdomain":"attio","siteName":"Attio Docs","title":"showDialog() - Attio Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-24T12:07:23.209Z","originalFileLocation":"sdk/dialogs/show-dialog.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Show a dialog box\">\u003cmeta data-mint-head name=\"application-name\" content=\"Attio Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/attio/uv-SA-Beu9tb1-RJ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/attio/uv-SA-Beu9tb1-RJ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/attio/uv-SA-Beu9tb1-RJ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/attio/uv-SA-Beu9tb1-RJ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/attio/uv-SA-Beu9tb1-RJ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/attio/uv-SA-Beu9tb1-RJ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/attio/uv-SA-Beu9tb1-RJ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/attio/uv-SA-Beu9tb1-RJ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/attio/uv-SA-Beu9tb1-RJ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"showDialog() - Attio Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Show a dialog box\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Attio Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.attio.com/sdk/dialogs/show-dialog\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://attio.mintlify.site/_mintlify/api/og/v2?division=Dialogs\u0026amp;title=showDialog%28%29\u0026amp;description=Show+a+dialog+box\u0026amp;theme=db02538680684f8d288991bc\u0026amp;signature=8d5d1feaa7a03d3cc9cc53ff8bc89b4474720badd11d296d9f9f30cf9d54717c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"showDialog() - Attio Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Show a dialog box\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://attio.mintlify.site/_mintlify/api/og/v2?division=Dialogs\u0026amp;title=showDialog%28%29\u0026amp;description=Show+a+dialog+box\u0026amp;theme=db02538680684f8d288991bc\u0026amp;signature=8d5d1feaa7a03d3cc9cc53ff8bc89b4474720badd11d296d9f9f30cf9d54717c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/attio/uv-SA-Beu9tb1-RJ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Attio Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3b6be8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.attio.com/sdk/dialogs/show-dialog\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/sdk/dialogs/show-dialog.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.attio.com/#organization\",\"name\":\"Attio Docs\",\"url\":\"https://docs.attio.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/attio/3FCwdEhb_DlqKzFE/logo/light.svg?fit=max\u0026auto=format\u0026n=3FCwdEhb_DlqKzFE\u0026q=85\u0026s=4bb7b194e33162f18966b3c1387b34c3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.attio.com#website\",\"name\":\"Attio Docs\",\"url\":\"https://docs.attio.com\",\"publisher\":{\"@id\":\"https://docs.attio.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.attio.com/sdk/dialogs/show-dialog#webpage\",\"url\":\"https://docs.attio.com/sdk/dialogs/show-dialog\",\"name\":\"showDialog()\",\"description\":\"Show a dialog box\",\"dateModified\":\"2026-07-24T12:07:23.209Z\",\"isPartOf\":{\"@id\":\"https://docs.attio.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.attio.com/sdk/dialogs/show-dialog#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.attio.com/sdk/dialogs/show-dialog#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Attio Docs\",\"item\":\"https://docs.attio.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"showDialog()\",\"item\":\"https://docs.attio.com/sdk/dialogs/show-dialog\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.attio.com/sdk/dialogs/show-dialog#article\",\"headline\":\"showDialog()\",\"name\":\"showDialog()\",\"description\":\"Show a dialog box\",\"url\":\"https://docs.attio.com/sdk/dialogs/show-dialog\",\"mainEntityOfPage\":{\"@id\":\"https://docs.attio.com/sdk/dialogs/show-dialog#webpage\"},\"dateModified\":\"2026-07-24T12:07:23.209Z\",\"publisher\":{\"@id\":\"https://docs.attio.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.attio.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Attio Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Attio Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/sdk/dialogs/show-dialog.md","siteName":"Attio Docs","nav":{"global":{"anchors":[{"anchor":"Developer console","icon":"terminal","href":"https://build.attio.com/"},{"anchor":"Support","icon":"headset","href":"https://attio.com/help"}]},"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":"/docs/overview"}]},{"tab":"App SDK","groups":[{"group":"Introduction","pages":[{"title":"App SDK","href":"/sdk/overview"},{"title":"SDK concepts","href":"/sdk/deep-dives/overview"}]},{"group":"Guides","pages":[{"title":"Creating an app","href":"/sdk/guides/creating-an-app"},{"title":"Querying Attio data","href":"/sdk/guides/querying-attio-data"},{"title":"Making HTTP requests","href":"/sdk/guides/making-http-requests"},{"title":"Authenticating to external services","href":"/sdk/guides/authenticating-to-external-services"},{"title":"Building forms","href":"/sdk/guides/building-forms"},{"title":"Using charts","href":"/sdk/guides/using-charts"},{"title":"Defining app settings","href":"/sdk/guides/adding-workspace-settings"},{"title":"Building app pages","href":"/sdk/guides/building-app-pages"},{"title":"Receiving HTTP requests","href":"/sdk/guides/receiving-http-requests"},{"title":"Cleaning up on uninstall","href":"/sdk/guides/cleaning-up-on-uninstall"},{"title":"Debugging your app","href":"/sdk/guides/debugging-your-app"},{"title":"AI-assisted development","href":"/sdk/guides/ai"},{"title":"Migration: Folder structure","href":"/sdk/guides/folder-structure-migration"},{"title":"Building workflow blocks","href":"/guides/building-workflow-blocks"}]},{"group":"Extensions","pages":[{"title":"App structure","href":"/sdk/extensions/overview"},{"title":"Record action","sidebarTitle":"Record action","href":"/sdk/extensions/record-action"},{"title":"Bulk record action","sidebarTitle":"Bulk record action","href":"/sdk/extensions/bulk-record-action"},{"title":"Record widget","sidebarTitle":"Record widget","href":"/sdk/extensions/record-widget"},{"title":"Record tab","sidebarTitle":"Record tab","href":"/sdk/extensions/record-tab"},{"title":"Object action","sidebarTitle":"Object action","href":"/sdk/extensions/object-action"},{"group":"Text selection","pages":[{"title":"Call recording transcript text action","sidebarTitle":"Call recording transcript","href":"/sdk/extensions/call-recording-transcript-text-action"},{"title":"Call recording insight text action","sidebarTitle":"Call recording insights","href":"/sdk/extensions/call-recording-insight-text-action"},{"title":"Call recording summary text action","sidebarTitle":"Call recording summary","href":"/sdk/extensions/call-recording-summary-text-action"}]}]},{"group":"Pages","pages":[{"title":"Pages","sidebarTitle":"Overview","href":"/sdk/pages/overview"},{"title":"Extensions.definePage()","href":"/sdk/pages/define-page"}]},{"group":"Workflow blocks","pages":[{"title":"Workflow blocks","sidebarTitle":"Overview","href":"/sdk/workflow-blocks/overview"},{"title":"File structure","href":"/sdk/workflows/file-structure"},{"group":"Defining a block","pages":[{"title":"Block definition","href":"/sdk/workflows/define-workflow-block"},{"title":"Config schema","href":"/sdk/workflows/config-schema"},{"title":"Outcome schema","href":"/sdk/workflows/outcome-schema"}]},{"title":"Configurator","href":"/sdk/workflows/configurator"},{"title":"Error handling","href":"/sdk/workflows/error-handling"},{"title":"Block lifecycle","href":"/sdk/workflows/block-lifecycle"},{"group":"Step handlers","pages":[{"title":"Executing a step","href":"/sdk/workflows/define-workflow-block-execute"},{"title":"Finishing a deferred step","href":"/sdk/workflows/define-workflow-block-resume-callback"}]},{"group":"Trigger handlers","pages":[{"title":"Registering a trigger","href":"/sdk/workflows/define-workflow-block-activate"},{"title":"Receiving a trigger event","href":"/sdk/workflows/define-workflow-block-on-trigger-callback"},{"title":"Deactivating a trigger","href":"/sdk/workflows/define-workflow-block-deactivate"}]}]},{"group":"Notifications","pages":[{"title":"Notifying the user","href":"/sdk/notifications/notifications"},{"title":"alert()","href":"/sdk/notifications/alert"},{"title":"confirm()","href":"/sdk/notifications/confirm"},{"title":"showToast()","description":"Shows a toast to the user","href":"/sdk/notifications/show-toast"}]},{"group":"Dialogs","pages":[{"title":"showDialog()","href":"/sdk/dialogs/show-dialog"},{"title":"\u003cDialogList />","description":"A navigable and clickable list of items in a dialog.","href":"/sdk/dialogs/dialog-list"}]},{"group":"Navigation","pages":[{"title":"Navigation","sidebarTitle":"Overview","href":"/sdk/navigation/overview"},{"title":"\u003cAttioLink />","href":"/sdk/navigation/attio-link"},{"title":"navigate()","href":"/sdk/navigation/navigate"}]},{"group":"Components","pages":[{"title":"\u003cAvatar />","href":"/sdk/components/avatar"},{"title":"\u003cBadge />","href":"/sdk/components/badge"},{"title":"\u003cBanner />","href":"/sdk/components/banner"},{"title":"\u003cButton />","href":"/sdk/components/button"},{"title":"\u003cCard />","href":"/sdk/components/card"},{"title":"\u003cDescriptionList />","href":"/sdk/components/description-list"},{"title":"\u003cDivider />","href":"/sdk/components/divider"},{"title":"\u003cEmptyState />","href":"/sdk/components/empty-state"},{"title":"\u003cGrid />","href":"/sdk/components/grid"},{"title":"\u003cImage />","href":"/sdk/components/image"},{"title":"\u003cJson />","href":"/sdk/components/json"},{"title":"\u003cLink />","href":"/sdk/components/link"},{"title":"\u003cLoadingState />","href":"/sdk/components/loading-state"},{"title":"\u003cSection />","href":"/sdk/components/section"},{"title":"\u003cStack />","href":"/sdk/components/stack"},{"title":"\u003cStatusBadge />","href":"/sdk/components/status-badge"},{"title":"\u003cTable />","href":"/sdk/components/table"},{"title":"experimental_useDataTable()","href":"/sdk/components/data-table"},{"title":"\u003cTextBlock />","href":"/sdk/components/text-block"},{"title":"\u003cTypography />","href":"/sdk/components/typography"},{"group":"Charts","pages":[{"title":"\u003cChart.Bar />","href":"/sdk/components/charts/bar"},{"title":"\u003cChart.Line />","href":"/sdk/components/charts/line"},{"title":"\u003cChart.Pie />","href":"/sdk/components/charts/pie"},{"title":"\u003cChart.Metric />","href":"/sdk/components/charts/metric"},{"title":"\u003cChart.Funnel />","href":"/sdk/components/charts/funnel"},{"title":"\u003cChart.Loading />","href":"/sdk/components/charts/loading"}]},{"group":"Forms","pages":[{"title":"\u003cAttioRecordCombobox />","href":"/sdk/components/forms/attio-record-combobox"},{"title":"\u003cAttioUserCombobox />","href":"/sdk/components/forms/attio-user-combobox"},{"title":"\u003cCheckbox />","href":"/sdk/components/forms/checkbox"},{"title":"\u003cCombobox />","href":"/sdk/components/forms/combobox"},{"title":"\u003cDateTimeInput />","href":"/sdk/components/forms/date-time-input"},{"title":"\u003cFieldset />","href":"/sdk/components/forms/fieldset"},{"title":"\u003cForm />","href":"/sdk/components/forms/form"},{"title":"\u003cInputGroup />","href":"/sdk/components/forms/input-group"},{"title":"\u003cNumberInput />","href":"/sdk/components/forms/number-input"},{"title":"\u003cPlainDateInput />","href":"/sdk/components/forms/plain-date-input"},{"title":"\u003cRadioGroup />","href":"/sdk/components/forms/radio-group"},{"title":"\u003cSubmitButton />","href":"/sdk/components/forms/submit-button"},{"title":"\u003cTextInput />","href":"/sdk/components/forms/text-input"},{"title":"\u003cTextArea />","href":"/sdk/components/forms/text-area"},{"title":"\u003cToggle />","href":"/sdk/components/forms/toggle"},{"title":"\u003cWithState />","href":"/sdk/components/forms/with-state"}]},{"group":"Workspace settings","pages":[{"title":"\u003cAttioUserCombobox />","href":"/sdk/components/workspace-settings/attio-user-combobox"},{"title":"\u003cButton />","href":"/sdk/components/workspace-settings/button"},{"title":"\u003cCheckbox />","href":"/sdk/components/workspace-settings/checkbox"},{"title":"\u003cCombobox />","href":"/sdk/components/workspace-settings/combobox"},{"title":"\u003cFieldset />","href":"/sdk/components/workspace-settings/fieldset"},{"title":"\u003cForm />","href":"/sdk/components/workspace-settings/form"},{"title":"\u003cInputGroup />","href":"/sdk/components/workspace-settings/input-group"},{"title":"\u003cNumberInput />","href":"/sdk/components/workspace-settings/number-input"},{"title":"\u003cRadioGroup />","href":"/sdk/components/workspace-settings/radio-group"},{"title":"\u003cRichTextInput />","href":"/sdk/components/workspace-settings/rich-text-input"},{"title":"\u003cSection />","href":"/sdk/components/workspace-settings/section"},{"title":"\u003cTextInput />","href":"/sdk/components/workspace-settings/text-input"},{"title":"\u003cToggle />","href":"/sdk/components/workspace-settings/toggle"},{"title":"\u003cWithState />","href":"/sdk/components/workspace-settings/with-state"}]},{"group":"Widgets","pages":[{"title":"\u003cWidget.TextWidget />","href":"/sdk/components/widgets/text-widget"},{"title":"\u003cWidget.Title />","href":"/sdk/components/widgets/title"},{"title":"\u003cWidget.Text.Primary />","href":"/sdk/components/widgets/text-primary"},{"title":"\u003cWidget.Text.Secondary />","href":"/sdk/components/widgets/text-secondary"},{"title":"\u003cWidget.Loading />","href":"/sdk/components/widgets/loading"},{"title":"\u003cWidget.Decoration />","href":"/sdk/components/widgets/decoration"}]}]},{"group":"Forms","pages":[{"title":"Form schema","href":"/sdk/forms/form-schema"},{"title":"useForm()","href":"/sdk/forms/use-form"}]},{"group":"Icons","pages":[{"title":"AttioIcon","href":"/sdk/icons"}]},{"group":"Settings","pages":[{"title":"Workspace settings","href":"/sdk/settings/overview"},{"title":"Settings.defineWorkspaceSchema()","href":"/sdk/settings/define-workspace-schema"},{"title":"Settings.defineWorkspacePage()","href":"/sdk/settings/define-workspace-page"},{"title":"Settings.useForm()","href":"/sdk/settings/use-form"},{"title":"Settings.useSettings()","href":"/sdk/settings/use-settings"},{"title":"Settings.getSettings()","href":"/sdk/settings/get-settings"},{"title":"Settings.setSettings()","href":"/sdk/settings/set-settings"}]},{"group":"GraphQL","pages":[{"title":"GraphQL","href":"/sdk/graphql/graphql"},{"title":"runQuery()","href":"/sdk/graphql/run-query"},{"title":"useQuery()","href":"/sdk/graphql/use-query"}]},{"group":"Data fetching","pages":[{"title":"useAsyncCache()","href":"/sdk/data-fetching/use-async-cache"},{"title":"React Query","href":"/sdk/data-fetching/react-query"}]},{"group":"Server","pages":[{"title":"Server functions","mode":"wide","href":"/sdk/server/server-functions"},{"title":"Attio API Token","href":"/sdk/server/attio-api-token"},{"title":"Environment Variables","href":"/sdk/server/environment-variables"},{"title":"Available Globals","href":"/sdk/server/available-globals"},{"group":"Connections","pages":[{"title":"Connections","href":"/sdk/server/connections/connections"},{"title":"getUserConnection()","href":"/sdk/server/connections/get-user-connection"},{"title":"getWorkspaceConnection()","href":"/sdk/server/connections/get-workspace-connection"}]},{"group":"Events","pages":[{"title":"Events","href":"/sdk/server/events/events"},{"title":"connection-added","href":"/sdk/server/events/connection-added"},{"title":"connection-removed","href":"/sdk/server/events/connection-removed"}]},{"group":"Webhooks","pages":[{"title":"Webhook Handlers","href":"/sdk/server/webhooks/webhook-handlers"},{"title":"createWebhookHandler()","href":"/sdk/server/webhooks/create-webhook-handler"},{"title":"deleteWebhookHandler()","href":"/sdk/server/webhooks/delete-webhook-handler"},{"title":"updateWebhookHandler()","href":"/sdk/server/webhooks/update-webhook-handler"}]},{"title":"KV Store","href":"/sdk/server/kv-store"},{"title":"timingSafeEqual","href":"/sdk/server/timing-safe-equal"}]},{"group":"System","pages":[{"title":"platform","href":"/sdk/system/platform"}]},{"group":"Legacy","pages":[{"title":"App configuration file","sidebarTitle":"app.ts","href":"/sdk/entry-points/app-ts"},{"group":"Settings (legacy)","pages":[{"title":"Workspace settings schema","href":"/sdk/settings/app-settings-schema"},{"title":"useWorkspaceSettingsForm()","href":"/sdk/settings/use-workspace-settings-form"},{"title":"useWorkspaceSettings()","href":"/sdk/settings/use-workspace-settings"},{"title":"getWorkspaceSettings()","href":"/sdk/settings/get-workspace-settings"},{"title":"getWorkspaceSetting()","href":"/sdk/settings/get-workspace-setting"},{"title":"setWorkspaceSetting()","href":"/sdk/settings/set-workspace-setting"}]}]}]},{"tab":"REST API","pages":[{"title":"REST API","href":"/rest-api/overview"}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"SQL","pages":[{"title":"SQL","href":"/sql/overview"}]},{"tab":"Share","pages":[{"title":"Share","href":"/share/the-publication-lifecycle"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/app-sdk"}]}]},"basePath":"","title":"showDialog() - Attio Docs","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BodsesVp.js","lightbox-handle-r17bVUz3.js"]}