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

文档组件

Rspress 提供了一些用于文档内容编写的常用组件,可在 MDX 文件中直接通过 import 导入。例如:

docs/index.mdx
import { PackageManagerTabs } from '@rspress/core/theme';

<PackageManagerTabs command="create rspress@latest" />

文档组件