For AI agents: the complete documentation index is available at https://rspress.rs/llms.txt, the full documentation bundle is available at https://rspress.rs/llms-full.txt, and this page is available as Markdown at https://rspress.rs/ui/components/index.md.
close
  • English
  • Doc Components

    Rspress provides commonly used components for documentation content writing, which can be directly imported in MDX files. For example:

    docs/index.mdx
    import { CdnTabs, PackageManagerTabs } from '@rspress/core/theme';
    
    <PackageManagerTabs command="create rspress@latest" />
    
    <CdnTabs
      package="bootstrap@5"
      files={['dist/css/bootstrap.min.css', 'dist/js/bootstrap.min.js']}
    />

    Doc Components