Skip to content
svedocs

Components

Author interactive Svelte components inside SVX and MDX-style documentation pages.

svedocs can route .svx and .mdx files through a Svelte-compatible authoring path while keeping the same manifest, search records, SEO metadata, and navigation model.

Interactive authoring

The component above is compiled as Svelte, not rendered through a React MDX runtime.

TypeScriptcomponent-authoring.ts
export const runtime = 'svelte'; export const framework = 'svedocs';

When to use it

  • Small interactive examples.
  • Localized demos and callouts.
  • Layout-sensitive snippets that should stay inside the docs theme.