A policy as a direct answer, an excerpt or the full text.
Desktop
Mobile
Block type policyDetail, included in @40rty/ams-ui/catalog. Its default manifest is catalogs/content/policy-detail.md.
Props
Prop
Type
policy
object
mode
'answer' | 'excerpt' | 'full'?
answer
string?
excerptHtml
string?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AMS","colors":{"primary":"#0F172A","light":"#F8F9FB","dark":"#0F172A"},"logo":{"light":"/logo/40rty-logo-black.png","dark":"/logo/40rty-logo-black.png"},"favicon":"/logo/40rty-logo-black.png","navbar":{"primary":{"type":"button","label":"Console","href":"https://app.40rty.ai"}},"integrations":{"telemetry":{"enabled":false}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"hasAudioNarration":false,"customDomains":[],"gitSource":{"type":"github","owner":"local","repo":"local","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"local","isBase":true},"buildId":"local","clientVersion":"0.0.4203"},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false,"isLoggedInCli":false,"mintExport":{}},"customCss":[],"page":{"pagePath":"ams-ui/content/policy-detail","slug":"/ams-ui/content/policy-detail","pageMetadata":{"title":"Policy","description":"A policy as a direct answer, an excerpt or the full text.","href":"/ams-ui/content/policy-detail"},"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: \"A policy as a direct answer, an excerpt or the full text.\"\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`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,OptimizedFrame,Tab,Table,Tabs}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedFrame)_missingMdxReference(`OptimizedFrame`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsxs(Tabs,{children:[_jsx(Tab,{title:`Desktop`,icon:`desktop`,id:`desktop`,children:_jsx(OptimizedFrame,{src:`https://40rty-ui-explorer.vercel.app/iframe.html?viewMode=story\u0026id=content-blocks-policydetail--answer`,title:`Desktop preview`,loading:`lazy`,style:{width:`100%`,height:460,border:`1px solid #e5e7eb`,borderRadius:12}})}),_jsx(Tab,{title:`Mobile`,icon:`mobile`,id:`mobile`,children:_jsx(`div`,{style:{display:`flex`,justifyContent:`center`},children:_jsx(OptimizedFrame,{src:`https://40rty-ui-explorer.vercel.app/iframe.html?viewMode=story\u0026id=content-blocks-policydetail--answer`,title:`Mobile preview`,loading:`lazy`,style:{width:390,height:720,border:`1px solid #e5e7eb`,borderRadius:24}})})})]}),`\n`,_jsxs(_components.p,{children:[`Block type `,_jsx(_components.code,{children:`policyDetail`}),`, included in `,_jsx(_components.code,{children:`@40rty/ams-ui/catalog`}),`. Its default manifest is `,_jsx(_components.code,{children:`catalogs/content/policy-detail.md`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`props`,children:`Props`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Prop`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`policy`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`object`})}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mode`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`'answer' | 'excerpt' | 'full'?`})}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`answer`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string?`})}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`excerptHtml`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string?`})}),_jsx(_components.td,{})]})]})]})]})}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":{"config":{},"pageMetadata":{"title":"Policy","description":"A policy as a direct answer, an excerpt or the full text.","href":"/ams-ui/content/policy-detail"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Props","slug":"props","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/localhost/29947afe2f501821/autoplay-in-view.js"],"subdomain":"localhost","siteName":"AMS","title":"Policy - AMS","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"ams-ui/content/policy-detail.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=\"A policy as a direct answer, an excerpt or the full text.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AMS\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/favicons/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicons/favicon-32x32.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicons/favicon-16x16.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/favicons/favicon.ico\">\u003cmeta data-mint-head property=\"og:title\" content=\"Policy - AMS\">\u003cmeta data-mint-head property=\"og:description\" content=\"A policy as a direct answer, an excerpt or the full text.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AMS\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://local./ams-ui/content/policy-detail\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Policy - AMS\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"A policy as a direct answer, an excerpt or the full text.\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/favicons/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AMS\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0F172A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://local./ams-ui/content/policy-detail\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ams-ui/content/policy-detail.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AMS\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AMS\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/ams-ui/content/policy-detail.md","siteName":"AMS","nav":{"tabs":[{"tab":"AMS","groups":[{"group":"Get started","pages":[{"title":"Introduction","href":""},{"title":"Quickstart","href":"/quickstart"},{"title":"Architecture","href":"/architecture"}]},{"group":"Guides","pages":[{"title":"Self-hosted","href":"/guides/self-hosted"},{"title":"Managed","href":"/guides/managed"},{"group":"E-commerce","pages":[{"title":"Shopify","href":"/guides/ecommerce/shopify"}]}]},{"group":"UI Components","pages":[{"title":"Overview","href":"/ams-ui/overview"},{"group":"Shell","pages":[{"title":"Composer","href":"/ams-ui/shell/composer"},{"title":"Conversation panel","href":"/ams-ui/shell/conversation-panel"},{"title":"Presence","href":"/ams-ui/shell/presence"}]},{"group":"Commerce","pages":[{"title":"Product grid","href":"/ams-ui/commerce/product-grid"},{"title":"Product detail","href":"/ams-ui/commerce/product-detail"},{"title":"Comparison table","href":"/ams-ui/commerce/comparison-table"},{"title":"Collection list","href":"/ams-ui/commerce/collection-list"}]},{"group":"Content","pages":[{"title":"Hero","href":"/ams-ui/content/hero"},{"title":"Brand story","href":"/ams-ui/content/brand-story"},{"title":"Info cards","href":"/ams-ui/content/info-cards"},{"title":"FAQ","href":"/ams-ui/content/faq"},{"title":"Blog posts","href":"/ams-ui/content/blog-posts"},{"title":"Article","href":"/ams-ui/content/article-detail"},{"title":"Page","description":"One content page, in full.","href":"/ams-ui/content/page-detail"},{"title":"Policy","href":"/ams-ui/content/policy-detail"}]},{"group":"Social","pages":[{"title":"Reviews","description":"Product reviews with a summary.","href":"/ams-ui/social/reviews"},{"title":"Testimonials","href":"/ams-ui/social/testimonials"},{"title":"Customer photos","href":"/ams-ui/social/ugc"}]},{"group":"Shared","pages":[{"title":"Agent text","href":"/ams-ui/shared/agent-text"},{"title":"Turn","href":"/ams-ui/shared/turn"},{"title":"Backdrop","href":"/ams-ui/shared/backdrop"}]},{"title":"Component explorer","href":"/ams-ui/explorer"}]},{"group":"Reference","pages":[{"title":"SDK","href":"/reference/sdk"},{"title":"CLI","href":"/reference/cli"},{"title":"forty.config.json","href":"/reference/config"}]}]},{"tab":"AgentIQ","pages":[{"title":"AgentIQ","href":"/agentiq/overview"}]}]},"basePath":"","title":"Policy - AMS","buildId":"c7fb3ee5f094","dynamics":[],"chunks":[]}