{% details title="Metric Definitions"%}**Sales:** includes sales of all core products in all regions**Sales Growth:** YoY growth in sales{% /details %}
Examples
Basic Usage
{% details title="Metric Definitions"%}**Sales:** includes sales of all core products in all regions**Sales Growth:** YoY growth in sales{% /details %}
Open on Desktop, Collapsed on Mobile
{% details title="Metric Definitions" open=true open_mobile=false%}**Sales:** includes sales of all core products in all regions**Sales Growth:** YoY growth in sales{% /details %}
Attributes
string
required
Title of the details section
boolean
default:"false"
Whether the details section starts open
boolean
Whether the details section starts open on mobile screens. Defaults to the value of open
number
Set the width of this component (in percent) relative to the page width
Was this page helpful?
⌘I
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Evidence Docs","colors":{"primary":"#2c5282","light":"#2c5282","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/evidence/mWRg--K38GwSJTMu/logo/wordmark-light.png?fit=max\u0026auto=format\u0026n=mWRg--K38GwSJTMu\u0026q=85\u0026s=b1820c34ae497dae62bb09a023122546","dark":"https://mintcdn.com/evidence/mWRg--K38GwSJTMu/logo/wordmark-dark.png?fit=max\u0026auto=format\u0026n=mWRg--K38GwSJTMu\u0026q=85\u0026s=c221e979039cd3383a85fa65dea873ea"},"favicon":"https://mintcdn.com/evidence/t9_JFLpV-rRAZD0R/favicon.svg?fit=max\u0026auto=format\u0026n=t9_JFLpV-rRAZD0R\u0026q=85\u0026s=ca56e93e2a76dc5099ab0f0b7ac93110","footer":{"socials":{"x":"https://x.com/evidence_dev","github":"https://github.com/evidence-dev","linkedin":"https://linkedin.com/company/evidence-dev","slack":"https://slack.evidence.dev","bluesky":"https://bsky.app/profile/evidence.dev"}},"icons":{"library":"lucide"},"integrations":{"posthog":{"apiKey":"phc_5gRFl1Rp6a01CZM9CX3qDvFwyxp7YzdWvdGAgi8a1fq"}},"thumbnails":{"fonts":{"family":"Geist"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Evidence Studio","icon":"app-window","href":"https://evidence.studio"},{"anchor":"Community","icon":"slack","href":"https://slack.evidence.dev"},{"anchor":"Legacy Docs","icon":"book","href":"https://legacy-docs.evidence.dev"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"evidence","hasAudioNarration":false,"actualSubdomain":"evidence","customDomains":["docs.evidence.dev"],"gitSource":{"type":"github","owner":"evidence-dev","repo":"studio","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af75e1407cc75d3c760c19f","clientVersion":"0.0.4142","searchFilterCounts":[{"language":"default","tag":"Docs","count":156},{"language":"default","tag":"Components","count":94},{"language":"default","tag":"UI","count":30},{"language":"default","tag":"Charts","count":29},{"language":"default","tag":"Inputs","count":16},{"language":"default","tag":"Evidence Warehouse","count":13},{"language":"default","tag":"Features","count":12},{"language":"default","tag":"Direct Connectors","count":11},{"language":"default","tag":"Core Concepts","count":8},{"language":"default","tag":"Object Storage","count":6}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@evidence.dev","showHelpButton":true}},"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":"workos-onboarding","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":"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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"components/details","slug":"/components/details","pageMetadata":{"title":"Details","description":"The details component","keywords":["expandable","collapsible section","show more"],"href":"/components/details"},"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: \"The details component\"\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,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/details/details.png?fit=max\u0026auto=format\u0026n=Z2CIIsynbphd2HX3\u0026q=85\u0026s=74013934360497998f9d4db10de9736b`,alt:`Basic Usage`,\"data-og-width\":`1000`,width:`1000`,\"data-og-height\":`40`,height:`40`,\"data-path\":`images/components/details/details.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/details/details.png?w=280\u0026fit=max\u0026auto=format\u0026n=Z2CIIsynbphd2HX3\u0026q=85\u0026s=1174bcdd630542f46e192128f7f91cce 280w, https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/details/details.png?w=560\u0026fit=max\u0026auto=format\u0026n=Z2CIIsynbphd2HX3\u0026q=85\u0026s=b22dee3358d38fc6f8d86a2d2cabcd0c 560w, https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/details/details.png?w=840\u0026fit=max\u0026auto=format\u0026n=Z2CIIsynbphd2HX3\u0026q=85\u0026s=028f257d90b76ae081bf3d721d71a66e 840w, https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/details/details.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Z2CIIsynbphd2HX3\u0026q=85\u0026s=968f712fab8cbef5ea6b1172dcc404ed 1100w, https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/details/details.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Z2CIIsynbphd2HX3\u0026q=85\u0026s=13da1ac7ac9847108fadcc32053f1505 1650w, https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/details/details.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Z2CIIsynbphd2HX3\u0026q=85\u0026s=bcfa14e4fb22e4d3c28dd9d9f31cce7f 2500w`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`liquid`,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:`liquid`,children:_jsxs(_components.code,{language:`liquid`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`{%`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` details`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` title`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Metric Definitions\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`%}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`**Sales:** includes sales of all core products in all regions`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`**Sales Growth:** YoY growth in sales`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`{%`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /details `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`%}`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsx(Heading,{level:`3`,id:`basic-usage`,children:`Basic Usage`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/details/details.png?fit=max\u0026auto=format\u0026n=Z2CIIsynbphd2HX3\u0026q=85\u0026s=74013934360497998f9d4db10de9736b`,alt:`Basic Usage`,\"data-og-width\":`1000`,width:`1000`,\"data-og-height\":`40`,height:`40`,\"data-path\":`images/components/details/details.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/details/details.png?w=280\u0026fit=max\u0026auto=format\u0026n=Z2CIIsynbphd2HX3\u0026q=85\u0026s=1174bcdd630542f46e192128f7f91cce 280w, https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/details/details.png?w=560\u0026fit=max\u0026auto=format\u0026n=Z2CIIsynbphd2HX3\u0026q=85\u0026s=b22dee3358d38fc6f8d86a2d2cabcd0c 560w, https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/details/details.png?w=840\u0026fit=max\u0026auto=format\u0026n=Z2CIIsynbphd2HX3\u0026q=85\u0026s=028f257d90b76ae081bf3d721d71a66e 840w, https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/details/details.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Z2CIIsynbphd2HX3\u0026q=85\u0026s=968f712fab8cbef5ea6b1172dcc404ed 1100w, https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/details/details.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Z2CIIsynbphd2HX3\u0026q=85\u0026s=13da1ac7ac9847108fadcc32053f1505 1650w, https://mintcdn.com/evidence/Z2CIIsynbphd2HX3/images/components/details/details.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Z2CIIsynbphd2HX3\u0026q=85\u0026s=bcfa14e4fb22e4d3c28dd9d9f31cce7f 2500w`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`liquid`,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:`liquid`,children:_jsxs(_components.code,{language:`liquid`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`{%`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` details`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` title`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Metric Definitions\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`%}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`**Sales:** includes sales of all core products in all regions`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`**Sales Growth:** YoY growth in sales`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`{%`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /details `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`%}`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`open-on-desktop-collapsed-on-mobile`,children:`Open on Desktop, Collapsed on Mobile`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`liquid`,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:`liquid`,children:_jsxs(_components.code,{language:`liquid`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`{%`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` details`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` title`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Metric Definitions\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` open`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` open_mobile`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`%}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`**Sales:** includes sales of all core products in all regions`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`**Sales Growth:** YoY growth in sales`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`{%`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /details `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`%}`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`attributes`,children:`Attributes`}),`\n`,_jsx(ResponseField,{name:`title`,type:`string`,required:true,id:`param-title`,children:_jsx(_components.p,{children:`Title of the details section`})}),`\n`,_jsx(ResponseField,{name:`open`,type:`boolean`,default:`false`,id:`param-open`,children:_jsx(_components.p,{children:`Whether the details section starts open`})}),`\n`,_jsx(ResponseField,{name:`open_mobile`,type:`boolean`,id:`param-open-mobile`,children:_jsxs(_components.p,{children:[`Whether the details section starts open on mobile screens. Defaults to the value of `,_jsx(_components.code,{children:`open`})]})}),`\n`,_jsx(ResponseField,{name:`width`,type:`number`,id:`param-width`,children:_jsx(_components.p,{children:`Set the width of this component (in percent) relative to the page width`})})]})}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":"Details","description":"The details component","keywords":["expandable","collapsible section","show more"],"href":"/components/details"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Examples","slug":"examples","depth":2,"children":[{"title":"Basic Usage","slug":"basic-usage","depth":3,"children":[]},{"title":"Open on Desktop, Collapsed on Mobile","slug":"open-on-desktop-collapsed-on-mobile","depth":3,"children":[]}]},{"title":"Attributes","slug":"attributes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"evidence","siteName":"Evidence Docs","title":"Details - Evidence Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-23T15:24:07.645Z","originalFileLocation":"components/details.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=\"The details component\">\u003cmeta data-mint-head name=\"application-name\" content=\"Evidence 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/evidence/t666pU_XWzcN7ifI/_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/evidence/t666pU_XWzcN7ifI/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/evidence/t666pU_XWzcN7ifI/_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/evidence/t666pU_XWzcN7ifI/_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/evidence/t666pU_XWzcN7ifI/_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/evidence/t666pU_XWzcN7ifI/_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/evidence/t666pU_XWzcN7ifI/_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/evidence/t666pU_XWzcN7ifI/_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/evidence/t666pU_XWzcN7ifI/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Details - Evidence Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"The details component\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Evidence Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.evidence.dev/components/details\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://evidence.mintlify.site/_mintlify/api/og/v2?division=UI\u0026amp;title=Details\u0026amp;description=The+details+component\u0026amp;theme=500fa5e8f4d7b71e61a2e90f\u0026amp;signature=97eaff3ea13094b85d0c6fa07d8886553b69b3de7cb80ffa277a1869dc52d596\">\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=\"Details - Evidence Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The details component\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://evidence.mintlify.site/_mintlify/api/og/v2?division=UI\u0026amp;title=Details\u0026amp;description=The+details+component\u0026amp;theme=500fa5e8f4d7b71e61a2e90f\u0026amp;signature=97eaff3ea13094b85d0c6fa07d8886553b69b3de7cb80ffa277a1869dc52d596\">\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/evidence/t666pU_XWzcN7ifI/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Evidence Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2c5282\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.evidence.dev/components/details\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/components/details.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.evidence.dev/#organization\",\"name\":\"Evidence Docs\",\"url\":\"https://docs.evidence.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/evidence/mWRg--K38GwSJTMu/logo/wordmark-light.png?fit=max\u0026auto=format\u0026n=mWRg--K38GwSJTMu\u0026q=85\u0026s=b1820c34ae497dae62bb09a023122546\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.evidence.dev#website\",\"name\":\"Evidence Docs\",\"url\":\"https://docs.evidence.dev\",\"publisher\":{\"@id\":\"https://docs.evidence.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.evidence.dev/components/details#webpage\",\"url\":\"https://docs.evidence.dev/components/details\",\"name\":\"Details\",\"description\":\"The details component\",\"dateModified\":\"2026-09-23T15:24:07.645Z\",\"isPartOf\":{\"@id\":\"https://docs.evidence.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.evidence.dev/components/details#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.evidence.dev/components/details#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Components\",\"item\":\"https://docs.evidence.dev/components/value\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"UI\",\"item\":\"https://docs.evidence.dev/components/accordion\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Details\",\"item\":\"https://docs.evidence.dev/components/details\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.evidence.dev/components/details#article\",\"headline\":\"Details\",\"name\":\"Details\",\"description\":\"The details component\",\"url\":\"https://docs.evidence.dev/components/details\",\"mainEntityOfPage\":{\"@id\":\"https://docs.evidence.dev/components/details#webpage\"},\"dateModified\":\"2026-09-23T15:24:07.645Z\",\"keywords\":\"expandable, collapsible section, show more\",\"publisher\":{\"@id\":\"https://docs.evidence.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.evidence.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Evidence Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Evidence Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/components/details.md","siteName":"Evidence Docs","nav":{"global":{"anchors":[{"anchor":"Evidence Studio","icon":"app-window","href":"https://evidence.studio"},{"anchor":"Community","icon":"slack","href":"https://slack.evidence.dev"},{"anchor":"Legacy Docs","icon":"book","href":"https://legacy-docs.evidence.dev"}]},"tabs":[{"tab":"Docs","groups":[{"group":"Get Started","pages":[{"title":"What is Evidence?","href":""},{"title":"Quickstart","href":"/quickstart"},{"title":"Migration Guide","href":"/migration-guide"},{"title":"Editing","href":"/editing"},{"title":"Publishing","href":"/publishing"}]},{"group":"Core Concepts","pages":[{"title":"Markdown","href":"/core-concepts/markdown"},{"title":"Components","href":"/core-concepts/components"},{"title":"Models","href":"/core-concepts/models"},{"title":"Metrics","href":"/core-concepts/metrics"},{"title":"Value Formatting","href":"/core-concepts/value-formatting"},{"title":"Variables","href":"/core-concepts/variables"},{"title":"Partials","href":"/core-concepts/partials"},{"title":"Custom Components","href":"/core-concepts/custom-components"}]},{"group":"Features","pages":[{"title":"Version Control","href":"/features/version-control"},{"title":"Project Settings","href":"/features/project-settings"},{"title":"Page Settings","href":"/features/page-settings"},{"title":"Themes","href":"/features/themes"},{"title":"Layouts","href":"/features/layouts"},{"title":"SQL Files","href":"/features/sql-files"},{"title":"Page Level Access Control","href":"/features/page-level-access-control"},{"title":"Row Level Security","href":"/features/row-level-security"},{"title":"Evidence Agent","href":"/features/evidence-agent"},{"title":"Translations","href":"/features/translations"},{"title":"Embedded Analytics","href":"/features/embedded-analytics"},{"title":"Scheduled Reports","href":"/features/scheduled-reports"}]},{"group":"MCP","pages":[{"title":"Overview","href":"/mcp/overview"},{"title":"Studio MCP","href":"/mcp/studio"},{"title":"Docs MCP","href":"/mcp/docs"}]},{"group":"CLI","pages":[{"title":"CLI","href":"/cli/index"},{"title":"Connect your CLI to your data","sidebarTitle":"Connections","href":"/cli/connections"},{"title":"Commands","href":"/cli/commands"}]},{"group":"Self Host","pages":[{"title":"Self Host","href":"/self-host/index"},{"title":"Authentication \u0026 SSO","sidebarTitle":"Authentication \u0026 SSO","href":"/self-host/authentication"},{"title":"Self Host on Vercel","sidebarTitle":"Vercel","href":"/self-host/vercel"},{"title":"Self Host on Render","sidebarTitle":"Render","href":"/self-host/render"},{"title":"Self Host on Fly.io","sidebarTitle":"Fly.io","href":"/self-host/fly"},{"title":"Self Host on Railway","sidebarTitle":"Railway","href":"/self-host/railway"}]},{"group":"Direct Connectors","pages":[{"title":"Snowflake","href":"/direct-connectors/snowflake"},{"title":"Microsoft Fabric","href":"/direct-connectors/fabric"},{"title":"SQL Server","href":"/direct-connectors/sqlserver"},{"title":"ClickHouse","href":"/direct-connectors/clickhouse"},{"title":"BigQuery","href":"/direct-connectors/bigquery"},{"title":"Databricks","href":"/direct-connectors/databricks"},{"title":"Postgres","href":"/direct-connectors/postgres"},{"title":"Cube","href":"/direct-connectors/cube"},{"title":"Amazon Redshift","href":"/direct-connectors/redshift"},{"title":"Amazon Athena","href":"/direct-connectors/athena"},{"title":"MotherDuck","href":"/direct-connectors/motherduck"}]},{"group":"Evidence Warehouse","pages":[{"title":"Evidence Warehouse","sidebarTitle":"Overview","href":"/evidence-warehouse"},{"group":"Databases","icon":"database","expanded":false,"pages":[{"title":"Athena","href":"/data-sources/athena"},{"title":"MotherDuck","href":"/data-sources/motherduck"},{"title":"Redshift","href":"/data-sources/redshift"}]},{"group":"Object Storage","icon":"hard-drive","expanded":false,"pages":[{"title":"Microsoft Azure Blob Storage","href":"/data-sources/abs"},{"title":"BackBlaze","href":"/data-sources/backblaze"},{"title":"Custom Bucket Provider","href":"/data-sources/custom"},{"title":"Google Cloud Storage (GCS)","href":"/data-sources/gcs"},{"title":"Cloudflare R2","href":"/data-sources/r2"},{"title":"AWS (S3)","href":"/data-sources/s3"}]},{"group":"Data Lakes","icon":"layers","expanded":false,"pages":[{"title":"Delta Lake","href":"/data-sources/deltalake_s3"},{"title":"Iceberg","href":"/data-sources/iceberg"}]},{"group":"Flat Files","icon":"file","expanded":false,"pages":[{"title":"Flat Files","href":"/data-sources/file"}]}]},{"group":"Components","pages":[{"group":"Values","icon":"shapes","expanded":false,"pages":[{"title":"Value","href":"/components/value"},{"title":"Big Value","href":"/components/big_value"},{"title":"Delta","href":"/components/delta"},{"title":"Heat Grid","href":"/components/heat_grid"},{"title":"Progress Bars","href":"/components/progress_bars"}]},{"group":"Tables","icon":"table-2","expanded":false,"pages":[{"title":"Table","href":"/components/table"},{"title":"Dimension","href":"/components/dimension"},{"title":"Measure","href":"/components/measure"},{"title":"Pivot","href":"/components/pivot"}]},{"group":"Charts","icon":"chart-column-increasing","expanded":false,"pages":[{"title":"Area Chart","href":"/components/area_chart"},{"title":"Bar Chart","href":"/components/bar_chart"},{"title":"Bubble Chart","href":"/components/bubble_chart"},{"title":"Calendar Heatmap","href":"/components/calendar_heatmap"},{"title":"Candlestick","href":"/components/candlestick"},{"title":"Chord Chart","href":"/components/chord_chart"},{"title":"Combo Chart","href":"/components/combo_chart"},{"title":"Custom Echart","href":"/components/custom_echart"},{"title":"Funnel Chart","href":"/components/funnel_chart"},{"title":"Heatmap","href":"/components/heatmap"},{"title":"Histogram","href":"/components/histogram"},{"title":"Horizontal Bar Chart","href":"/components/horizontal_bar_chart"},{"title":"Line Chart","href":"/components/line_chart"},{"title":"Pie Chart","href":"/components/pie_chart"},{"title":"Polar Chart","href":"/components/polar_chart"},{"title":"Radar Chart","href":"/components/radar_chart"},{"title":"Sankey Chart","href":"/components/sankey_chart"},{"title":"Scatter Chart","href":"/components/scatter_chart"},{"title":"Treemap","href":"/components/treemap"},{"title":"Waterfall Chart","href":"/components/waterfall_chart"},{"title":"Area","href":"/components/area"},{"title":"Bar","href":"/components/bar"},{"title":"Bubble","href":"/components/bubble"},{"title":"Line","href":"/components/line"},{"title":"Reference Area","href":"/components/reference_area"},{"title":"Reference Line","href":"/components/reference_line"},{"title":"Reference Point","href":"/components/reference_point"},{"title":"Scatter","href":"/components/scatter"},{"title":"Sparkline","href":"/components/sparkline"}]},{"group":"Maps","icon":"map","expanded":false,"pages":[{"title":"Custom Map","href":"/components/custom_map"},{"title":"Map","href":"/components/map"},{"title":"Area Layer","href":"/components/area_layer"},{"title":"Heatmap Layer","href":"/components/heatmap_layer"},{"title":"Point Layer","href":"/components/point_layer"}]},{"group":"Inputs","icon":"text-cursor-input","expanded":false,"pages":[{"title":"Button Group","href":"/components/button_group"},{"title":"Comparison Selector","href":"/components/comparison_selector"},{"title":"Benchmark Comparison","href":"/components/benchmark_comparison"},{"title":"Target Comparison","href":"/components/target_comparison"},{"title":"Date Grain Selector","href":"/components/date_grain_selector"},{"title":"Dropdown","href":"/components/dropdown"},{"title":"Filter Bar","href":"/components/filter_bar"},{"title":"Input Tabs","href":"/components/input_tabs"},{"title":"Option","href":"/components/option"},{"title":"Range Calendar","href":"/components/range_calendar"},{"title":"Slider","href":"/components/slider"},{"title":"Table Filter","href":"/components/table_filter"},{"title":"Text Input","href":"/components/text_input"},{"title":"Toggle","href":"/components/toggle"},{"title":"Dimension Grid","href":"/components/dimension_grid"},{"title":"Period Selector","href":"/components/period_selector"}]},{"group":"Custom","icon":"code-xml","expanded":false,"pages":[{"title":"Html","href":"/components/html"}]},{"group":"UI","icon":"layout-template","expanded":false,"pages":[{"title":"Accordion","href":"/components/accordion"},{"title":"Accordion Item","href":"/components/accordion_item"},{"title":"Accordion Title","href":"/components/accordion_title"},{"title":"Audio","href":"/components/audio"},{"title":"Callout","href":"/components/callout"},{"title":"Clock","href":"/components/clock"},{"title":"Commentary","description":"Allows users to input commentary to be saved with the page","href":"/components/commentary"},{"title":"Details","href":"/components/details"},{"title":"Download","description":"A button to download data as an Excel file, supports up to 500,000 row downloads via the limit attribute.","href":"/components/download"},{"title":"Fence","href":"/components/fence"},{"title":"File","href":"/components/file"},{"title":"Hidden In Print","href":"/components/hidden_in_print"},{"title":"Icon","href":"/components/icon"},{"title":"Iframe","href":"/components/iframe"},{"title":"Image","href":"/components/image"},{"title":"Info","href":"/components/info"},{"title":"Line Break","href":"/components/line_break"},{"title":"Link","href":"/components/link"},{"title":"Link Button","href":"/components/link_button"},{"title":"Logo","href":"/components/logo"},{"title":"Modal","href":"/components/modal"},{"title":"Note","href":"/components/note"},{"title":"Only In Print","href":"/components/only_in_print"},{"title":"Page Break","href":"/components/page_break"},{"title":"Partial","href":"/components/partial"},{"title":"Print Group","href":"/components/print_group"},{"title":"Row","href":"/components/row"},{"title":"Stack","href":"/components/stack"},{"title":"Tab","href":"/components/tab"},{"title":"Tabs","href":"/components/tabs"}]},{"group":"Logic","icon":"trending-up-down","expanded":false,"pages":[{"title":"If","href":"/components/if"},{"title":"Else If","href":"/components/else_if"},{"title":"Else","href":"/components/else"},{"title":"Repeat","href":"/components/repeat"}]}]},{"group":"Guides","pages":[{"title":"Designing Reports for PDF","href":"/guides/designing-reports-for-pdf"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Details - Evidence Docs","buildId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","deploymentId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BLUesUNd.js","lightbox-handle-r17bVUz3.js"]}