Docs shell
import { DocsShell, DocsArticle, DocsMarkdown, DocsCloseMatches, docsElements, inDocs, closeMatches, missingWords } from "@arcadia/ui/web/docs";Loading product docs
TSX
Static pages
TSX
With no script
TSX
Examples
DocsShell
namerequired- string
base- string
- Default:
"/docs" navrequired- DocsGroup[]
indexrequired- DocsIndex
suggested- string[]
pathrequired- string
navigate- (href: string) => void
signedIn- boolean
- Default:
false hostsrequired- { arcadia: string; home?: string }
pinnedTheme- "light" | "dark" | null
pinnedMotion- "on" | null
noScript- boolean
- Default:
false footer- ReactNode
slugrequired- string
pathrequired- string
markdownrequired- string
sectionrequired- string
titlerequired- string
descriptionrequired- string
bodyrequired- string
referencerequired- boolean
tasks- readonly Pick<ArticleLink, "href" | "title">[]
relatedrequired- ArticleLink[]
prev- { href: string; title: string; description?: string }
next- { href: string; title: string; description?: string }
readerrequired- { Markdown: (props: DocsReaderProps) => ReactNode; plugins?: readonly unknown[] }
feedback- ReactNode
contact- string