The Rhetoric Element is a UI component that guides users through the filing
process. It is meant to be embedded in a host application and can be styled to
match its environment. It takes a session token and other configuration and
communicates with the Rhetoric API directly to advance a filing session.
Installation
The Element is published as a React component. You can install it using the
following command:
npm install @rhetoriclabs/element-react
The package requires React 18 or higher as a peer dependency.
Usage
To use the Element, create a filing session on the backend and pass the session
token that it returns to the frontend. Use that token to instantiate the
component.
import { Element } from "@rhetoriclabs/element-react";function FilingPanel({ sessionToken }: { sessionToken: string }) { return <Element sessionToken={sessionToken} />;}
You can pass additional props to modify the appearance of the Element. For more
information, refer to the
configuration reference.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Rhetoric","description":"Documentation for Rhetoric, one API for court e-filing. Guides, API reference, and CLI reference for building court filing into your product.","colors":{"primary":"#3d5a73","light":"#7fa3c2","dark":"#3d5a73"},"logo":{"light":"https://mintcdn.com/rhetoric-ccacd083/35FYIqT7rpELDzJZ/logo/light.svg?fit=max\u0026auto=format\u0026n=35FYIqT7rpELDzJZ\u0026q=85\u0026s=f1b36a3f3e4080f86da067721a7a8679","dark":"https://mintcdn.com/rhetoric-ccacd083/35FYIqT7rpELDzJZ/logo/dark.svg?fit=max\u0026auto=format\u0026n=35FYIqT7rpELDzJZ\u0026q=85\u0026s=4cb1c1bcde8e4d8cfe7f460794de09d9"},"favicon":"https://mintcdn.com/rhetoric-ccacd083/35FYIqT7rpELDzJZ/favicon.svg?fit=max\u0026auto=format\u0026n=35FYIqT7rpELDzJZ\u0026q=85\u0026s=4dc7a8df3608eb3454f13c3e2bf49256","appearance":{"default":"light"},"background":{"color":{"light":"#f7f3ee","dark":"#17140f"}},"fonts":{"heading":{"family":"Crimson Pro","weight":500},"body":{"family":"Crimson Pro"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"rhetoric-ccacd083","hasAudioNarration":false,"actualSubdomain":"rhetoric-ccacd083","customDomains":["docs.rhetoric.law"],"gitSource":{"type":"github","owner":"rhetoriclabs","repo":"efapi","deployBranch":"main","contentDirectory":"packages/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af9f58128ec4545927bd006","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"API Reference","count":16},{"language":"default","tag":"Filing sessions","count":11},{"language":"default","tag":"CLI Reference","count":11},{"language":"default","tag":"Guides","count":8},{"language":"default","tag":"Filers","count":6},{"language":"default","tag":"Filings","count":4},{"language":"default","tag":"Webhooks","count":4},{"language":"default","tag":"Filing primer","count":4},{"language":"default","tag":"Element","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"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":true},"customCss":[{"filePath":"styles.css","content":":root{--rule: rgba(61, 90, 115, 0.15);--rule-strong: rgba(61, 90, 115, 0.3);--font-ui: \"Inter\", ui-sans-serif, system-ui, sans-serif;--ink: #1c1a17;--ink-light: #6b6158;--accent-tint: rgba(61, 90, 115, 0.08);--accent-tint-strong: rgba(61, 90, 115, 0.18)}html.dark{--ink: #f2ede4;--ink-light: #a89d8e}html.dark{--rule: rgba(200, 210, 220, 0.12);--rule-strong: rgba(200, 210, 220, 0.24);--accent-tint: rgba(127, 163, 194, 0.1);--accent-tint-strong: rgba(127, 163, 194, 0.22)}#navbar,#navbar *,#sidebar,#sidebar *,#table-of-contents,#table-of-contents *,.eyebrow,#pagination,#pagination *,footer,footer *,button,input,select,textarea{font-family:var(--font-ui)}#content.mdx-content{font-size:1.125rem;line-height:1.7}#content-area p,#content-area ul,#content-area ol,#content-area blockquote{font-size:1.125rem;line-height:1.7}#content.mdx-content table,#content.mdx-content th,#content.mdx-content td{font-size:1.125rem!important}#content.mdx-content table code{font-size:0.875em!important}#content.mdx-content th,#content.mdx-content td{padding-top:1rem!important;padding-bottom:1rem!important}#content.mdx-content tbody tr,#content.mdx-content thead{border-bottom:1px solid var(--rule-strong)!important}#content.mdx-content .field{border-bottom-color:var(--rule-strong)!important}#content.mdx-content .expandable-content>.field:last-child{border-bottom-color:transparent!important}#content.mdx-content .field>div:last-child{font-size:1.125rem!important}#content-area div.text-lg,#content-area div.text-lg p{font-size:1.25rem;line-height:1.6}#content-area h1 a div,#content-area h2 a div,#content-area h3 a div,#content-area h4 a div{background:transparent!important;--tw-shadow: 0 0 #0000 !important}#content-area [data-component-part=\"step-number\"]>div{border:1px solid var(--rule-strong);background:var(--accent-tint)}#content-area [data-component-part=\"step-line\"]{background:var(--rule-strong)!important;background-image:none!important}#content-area [data-component-part=\"step-content\"]{font-size:1.125rem!important;line-height:1.7!important}*,*::before,*::after{border-radius:0!important}code{border-radius:0.375rem!important}code:not(pre *){background:transparent!important;border:none!important;border-bottom:1px solid var(--accent-tint-strong)!important;border-radius:0!important}body::before{content:\"\";position:fixed;inset:0;background-image:url(\"/dots.png\");background-repeat:repeat;opacity:0.22;pointer-events:none;z-index:0}html.dark body::before{background-image:url(\"/dots-dark.png\");opacity:0.1}#navbar{border-bottom:1px solid var(--rule)}#navbar-transition{background-color:#f7f3ee}html.dark #navbar-transition{background-color:#17140f}#navbar::after{content:\"\";position:absolute;inset:0;background-image:url(\"/dots.png\");background-repeat:repeat;opacity:0.22;pointer-events:none}html.dark #navbar::after{background-image:url(\"/dots-dark.png\");opacity:0.1}#navbar>*:not(#navbar-transition){position:relative;z-index:1}@media (min-width: 1024px){#navbar::before{content:\"\";position:absolute;left:calc(18rem + 32px - 1px);top:0;bottom:0;width:1px;background:var(--rule);z-index:2;pointer-events:none}}#sidebar,aside{border-right:1px solid var(--rule)}footer{border-top-color:var(--rule)!important}#sidebar [class*=\"bg-linear-to\"]{background-image:none}div:has(>#search-bar-entry){justify-content:flex-end}#search-bar-entry{width:auto;background:transparent;border:none;box-shadow:none;padding:0;color:var(--ink)}#search-bar-entry svg{width:1.125rem;height:1.125rem;color:rgb(113 114 115)}#search-bar-entry:hover svg{color:rgb(64 65 66)}html.dark #search-bar-entry svg{color:rgb(160 161 162)}html.dark #search-bar-entry:hover svg{color:rgb(224 225 226)}#search-bar-entry div.truncate,#search-bar-entry span.flex-none{display:none}div:has(>#search-bar-entry),div:has(>#search-bar-entry)+div{flex:0 0 auto}div:has(>#search-bar-entry){align-self:stretch;align-items:center;border-left:1px solid var(--rule);padding-left:1.5rem}#assistant-entry,#assistant-entry-mobile,.chat-assistant-floating-input{display:none!important}#pagination{padding-bottom:5.375rem}#navbar .max-w-8xl{max-width:none}div:has(>#sidebar){max-width:none}#content-container{max-width:72rem;margin-inline:auto}"}]}
{"page":{"pagePath":"element/introduction","slug":"/element/introduction","pageMetadata":{"title":"Introduction","description":null,"href":"/element/introduction"},"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={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedImage}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The Rhetoric Element is a UI component that guides users through the filing\nprocess. It is meant to be embedded in a host application and can be styled to\nmatch its environment. It takes a session token and other configuration and\ncommunicates with the Rhetoric API directly to advance a filing session.`}),`\n`,_jsx(OptimizedImage,{className:`mint-block dark:mint-hidden`,src:`https://mintcdn.com/rhetoric-ccacd083/JO0Hw8X6rX_irF1H/assets/element-light.png?fit=max\u0026auto=format\u0026n=JO0Hw8X6rX_irF1H\u0026q=85\u0026s=a599e9f3cfdf6d3522a293cbaa7faeb3`,alt:`Element screenshot`,\"data-og-width\":`1518`,width:`1518`,\"data-og-height\":`666`,height:`666`,\"data-path\":`assets/element-light.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/rhetoric-ccacd083/JO0Hw8X6rX_irF1H/assets/element-light.png?w=280\u0026fit=max\u0026auto=format\u0026n=JO0Hw8X6rX_irF1H\u0026q=85\u0026s=a8191a8df97c8d70ed8df46128a6687b 280w, https://mintcdn.com/rhetoric-ccacd083/JO0Hw8X6rX_irF1H/assets/element-light.png?w=560\u0026fit=max\u0026auto=format\u0026n=JO0Hw8X6rX_irF1H\u0026q=85\u0026s=f3f6a1ddea843869de4b5266857cff07 560w, https://mintcdn.com/rhetoric-ccacd083/JO0Hw8X6rX_irF1H/assets/element-light.png?w=840\u0026fit=max\u0026auto=format\u0026n=JO0Hw8X6rX_irF1H\u0026q=85\u0026s=106c120c84e4f9aab23f0b6b05a03be3 840w, https://mintcdn.com/rhetoric-ccacd083/JO0Hw8X6rX_irF1H/assets/element-light.png?w=1100\u0026fit=max\u0026auto=format\u0026n=JO0Hw8X6rX_irF1H\u0026q=85\u0026s=8d38ca9baf347b24c7b341423b162090 1100w, https://mintcdn.com/rhetoric-ccacd083/JO0Hw8X6rX_irF1H/assets/element-light.png?w=1650\u0026fit=max\u0026auto=format\u0026n=JO0Hw8X6rX_irF1H\u0026q=85\u0026s=09adcaf449a14a08d2d6bc317c9e4fa4 1650w, https://mintcdn.com/rhetoric-ccacd083/JO0Hw8X6rX_irF1H/assets/element-light.png?w=2500\u0026fit=max\u0026auto=format\u0026n=JO0Hw8X6rX_irF1H\u0026q=85\u0026s=ebed209247cf7e4f81c535a2862cbe8b 2500w`}),`\n`,_jsx(OptimizedImage,{className:`mint-hidden dark:mint-block`,src:`https://mintcdn.com/rhetoric-ccacd083/JO0Hw8X6rX_irF1H/assets/element-dark.png?fit=max\u0026auto=format\u0026n=JO0Hw8X6rX_irF1H\u0026q=85\u0026s=bc91151cbd584b39148e437bfcdd65ba`,alt:`Element screenshot`,\"data-og-width\":`1508`,width:`1508`,\"data-og-height\":`656`,height:`656`,\"data-path\":`assets/element-dark.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/rhetoric-ccacd083/JO0Hw8X6rX_irF1H/assets/element-dark.png?w=280\u0026fit=max\u0026auto=format\u0026n=JO0Hw8X6rX_irF1H\u0026q=85\u0026s=5cac16c2dccf65d5a5b2850e42c7cb1b 280w, https://mintcdn.com/rhetoric-ccacd083/JO0Hw8X6rX_irF1H/assets/element-dark.png?w=560\u0026fit=max\u0026auto=format\u0026n=JO0Hw8X6rX_irF1H\u0026q=85\u0026s=4a8b6ee22adad46671a6c92344c1abdc 560w, https://mintcdn.com/rhetoric-ccacd083/JO0Hw8X6rX_irF1H/assets/element-dark.png?w=840\u0026fit=max\u0026auto=format\u0026n=JO0Hw8X6rX_irF1H\u0026q=85\u0026s=ca04ab0a80de543590f6fc306d5b26f9 840w, https://mintcdn.com/rhetoric-ccacd083/JO0Hw8X6rX_irF1H/assets/element-dark.png?w=1100\u0026fit=max\u0026auto=format\u0026n=JO0Hw8X6rX_irF1H\u0026q=85\u0026s=7bd906c3123ed7050e20b272df8e1ee0 1100w, https://mintcdn.com/rhetoric-ccacd083/JO0Hw8X6rX_irF1H/assets/element-dark.png?w=1650\u0026fit=max\u0026auto=format\u0026n=JO0Hw8X6rX_irF1H\u0026q=85\u0026s=c392b9b1eaa5d078453ff1665f59c5f0 1650w, https://mintcdn.com/rhetoric-ccacd083/JO0Hw8X6rX_irF1H/assets/element-dark.png?w=2500\u0026fit=max\u0026auto=format\u0026n=JO0Hw8X6rX_irF1H\u0026q=85\u0026s=4f7e648d06f4443feb562e42280dac44 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`installation`,children:`Installation`}),`\n`,_jsx(_components.p,{children:`The Element is published as a React component. You can install it using the\nfollowing command:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @rhetoriclabs/element-react`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The package requires React 18 or higher as a peer dependency.`}),`\n`,_jsx(Heading,{level:`2`,id:`usage`,children:`Usage`}),`\n`,_jsx(_components.p,{children:`To use the Element, create a filing session on the backend and pass the session\ntoken that it returns to the frontend. Use that token to instantiate the\ncomponent.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Element`}),_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:` \"@rhetoriclabs/element-react\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` FilingPanel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`sessionToken`}),_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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`sessionToken`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }) {`})]}),`\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:`Element`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` sessionToken`}),_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:`sessionToken`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},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`]})})}),`\n`,_jsxs(_components.p,{children:[`You can pass additional props to modify the appearance of the Element. For more\ninformation, refer to the\n`,_jsx(_components.a,{href:`/element/configuration`,children:`configuration`}),` reference.`]})]})}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":"Introduction","description":null,"href":"/element/introduction"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Installation","slug":"installation","depth":2,"children":[]},{"title":"Usage","slug":"usage","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/rhetoric-ccacd083/4c918b632aac2969/title-separator.js"],"dynamicCss":".mint-block {\n display: block\n}\n.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":"rhetoric-ccacd083","siteName":"Rhetoric","title":"Introduction - Rhetoric","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-10T17:46:09.870Z","originalFileLocation":"element/introduction.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=\"light\"}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=\"application-name\" content=\"Rhetoric\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rhetoric-ccacd083/nRhTQsu2c9KY6GDt/_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/rhetoric-ccacd083/nRhTQsu2c9KY6GDt/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rhetoric-ccacd083/nRhTQsu2c9KY6GDt/_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/rhetoric-ccacd083/nRhTQsu2c9KY6GDt/_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/rhetoric-ccacd083/nRhTQsu2c9KY6GDt/_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/rhetoric-ccacd083/nRhTQsu2c9KY6GDt/_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/rhetoric-ccacd083/nRhTQsu2c9KY6GDt/_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/rhetoric-ccacd083/nRhTQsu2c9KY6GDt/_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/rhetoric-ccacd083/nRhTQsu2c9KY6GDt/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Introduction - Rhetoric\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Rhetoric\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.rhetoric.law/element/introduction\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://rhetoric-ccacd083.mintlify.site/_mintlify/api/og/v2?division=Element\u0026amp;title=Introduction\u0026amp;theme=877e8b6d1fed4d59e6beb32c\u0026amp;signature=5cdaad5daeea3699349eb5a79f6d70e7dfc28656bde9db0cb8bc6116270fba13\">\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=\"Introduction - Rhetoric\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://rhetoric-ccacd083.mintlify.site/_mintlify/api/og/v2?division=Element\u0026amp;title=Introduction\u0026amp;theme=877e8b6d1fed4d59e6beb32c\u0026amp;signature=5cdaad5daeea3699349eb5a79f6d70e7dfc28656bde9db0cb8bc6116270fba13\">\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/rhetoric-ccacd083/nRhTQsu2c9KY6GDt/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Rhetoric\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3d5a73\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.rhetoric.law/element/introduction\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/element/introduction.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.rhetoric.law/#organization\",\"name\":\"Rhetoric\",\"url\":\"https://docs.rhetoric.law\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/rhetoric-ccacd083/35FYIqT7rpELDzJZ/logo/light.svg?fit=max\u0026auto=format\u0026n=35FYIqT7rpELDzJZ\u0026q=85\u0026s=f1b36a3f3e4080f86da067721a7a8679\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.rhetoric.law#website\",\"name\":\"Rhetoric\",\"url\":\"https://docs.rhetoric.law\",\"publisher\":{\"@id\":\"https://docs.rhetoric.law/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.rhetoric.law/element/introduction#webpage\",\"url\":\"https://docs.rhetoric.law/element/introduction\",\"name\":\"Introduction\",\"dateModified\":\"2026-10-10T17:46:09.870Z\",\"isPartOf\":{\"@id\":\"https://docs.rhetoric.law#website\"},\"breadcrumb\":{\"@id\":\"https://docs.rhetoric.law/element/introduction#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.rhetoric.law/element/introduction#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Rhetoric\",\"item\":\"https://docs.rhetoric.law\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Introduction\",\"item\":\"https://docs.rhetoric.law/element/introduction\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.rhetoric.law/element/introduction#article\",\"headline\":\"Introduction\",\"name\":\"Introduction\",\"url\":\"https://docs.rhetoric.law/element/introduction\",\"mainEntityOfPage\":{\"@id\":\"https://docs.rhetoric.law/element/introduction#webpage\"},\"dateModified\":\"2026-10-10T17:46:09.870Z\",\"publisher\":{\"@id\":\"https://docs.rhetoric.law/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.rhetoric.law#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Rhetoric\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Rhetoric\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/element/introduction.md","siteName":"Rhetoric","nav":{"global":null,"pages":[{"title":"Rhetoric Docs","sidebarTitle":"Introduction","href":"/index"},{"group":"Guides","pages":[{"title":"Quickstart","href":"/guides/quickstart"},{"title":"Quickstart (agent)","href":"/guides/quickstart-agent"},{"title":"Client libraries","href":"/guides/client-libraries"},{"group":"Filing primer","pages":[{"title":"Court filing","sidebarTitle":"Overview","href":"/guides/primer/overview"},{"title":"The filing lifecycle","sidebarTitle":"Lifecycle","href":"/guides/primer/lifecycle"},{"title":"Service of process","sidebarTitle":"Service","href":"/guides/primer/service"},{"title":"Filing fees","sidebarTitle":"Fees","href":"/guides/primer/fees"}]},{"title":"Webhooks","description":null,"href":"/guides/webhooks"}]},{"group":"Element","pages":[{"title":"Introduction","href":"/element/introduction"},{"title":"Configuration","description":null,"href":"/element/configuration"}]},{"group":"API Reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"group":"Filing sessions","pages":[{"title":"Create filing session","href":"/api-reference/filing-sessions/create-filing-session"},{"title":"Get filing session","href":"/api-reference/filing-sessions/get-filing-session"},{"title":"List filing sessions","href":"/api-reference/filing-sessions/list-filing-sessions"},{"title":"Resume filing session","href":"/api-reference/filing-sessions/resume-filing-session"},{"title":"Apply filing session event","href":"/api-reference/filing-sessions/apply-filing-session-event"},{"title":"The form","href":"/api-reference/filing-sessions/form"}]},{"group":"Filings","pages":[{"title":"Get filing","href":"/api-reference/filings/get-filing"},{"title":"List filings","href":"/api-reference/filings/list-filings"}]},{"group":"Filers","pages":[{"title":"Create filer","href":"/api-reference/filers/create-filer"},{"title":"Get filer","href":"/api-reference/filers/get-filer"},{"title":"List filers","href":"/api-reference/filers/list-filers"}]},{"group":"Webhooks","pages":[{"title":"Filing submitted","href":"/api-reference/webhooks/filing-submitted"},{"title":"Filing reviewed","href":"/api-reference/webhooks/filing-reviewed"},{"title":"Filing accepted","href":"/api-reference/webhooks/filing-accepted"},{"title":"Filing rejected","href":"/api-reference/webhooks/filing-rejected"}]}]},{"group":"CLI Reference","pages":[{"title":"Introduction","href":"/cli-reference/introduction"},{"group":"Filing sessions","pages":[{"title":"create-filing-session","href":"/cli-reference/filing-sessions/create-filing-session"},{"title":"get-filing-session","href":"/cli-reference/filing-sessions/get-filing-session"},{"title":"list-filing-sessions","href":"/cli-reference/filing-sessions/list-filing-sessions"},{"title":"resume-filing-session","href":"/cli-reference/filing-sessions/resume-filing-session"},{"title":"apply-filing-session-event","href":"/cli-reference/filing-sessions/apply-filing-session-event"}]},{"group":"Filings","pages":[{"title":"get-filing","href":"/cli-reference/filings/get-filing"},{"title":"list-filings","href":"/cli-reference/filings/list-filings"}]},{"group":"Filers","pages":[{"title":"create-filer","href":"/cli-reference/filers/create-filer"},{"title":"get-filer","href":"/cli-reference/filers/get-filer"},{"title":"list-filers","href":"/cli-reference/filers/list-filers"}]}]}]},"basePath":"","title":"Introduction - Rhetoric","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BodsesVp.js","lightbox-handle-r17bVUz3.js"]}