# 组件总览 共 13 个组件,分为布局、编辑器与用户三类。 ## 布局组件 | 组件 | 说明 | | --- | --- | | [RootLayout](/components/root-layout) | 提供页面级骨架与统一留白,承载顶部区域与主内容。 | | [AdminLayout](/components/admin-layout) | 侧边菜单、顶部栏与内容区三区合一的后台骨架,支持菜单折叠。 | ## 编辑器组件 | 组件 | 说明 | | --- | --- | | [CodeEditor](/components/code-editor) | 带行号、语法高亮与查找替换的代码输入框。 | | [TiptapEditor](/components/tiptap-editor) | 基于 Tiptap 的富文本编辑器,内置媒体、表格、链接与代码块等工具栏能力。 | | [TiptapView](/components/tiptap-view) | Tiptap 内容的只读渲染视图,与编辑器共用同一套样式。 | | [ArticleEditor](/components/article-editor) | 以 Article 为数据模型,按正文类型切换纯文本、Markdown 与富文本编辑。 | | [ArticleView](/components/article-view) | 按 Article 的正文类型渲染标题、正文与附件列表。 | | [NotifyEditor](/components/notify-editor) | 以 NotifyDetail 为数据模型的通知编辑表单,复用文章编辑器能力。 | | [NotifyView](/components/notify-view) | 渲染通知主题、状态与正文内容。 | ## 用户组件 | 组件 | 说明 | | --- | --- | | [AuthorizeForm](/components/authorize-form) | 登录与注册合一的授权表单,验证码、请求与回调全部由外部注入。 | | [UserProfile](/components/user-profile) | 展示用户头像、昵称与等级信息,支持点击展开资料弹窗。 | | [UserProfilePopup](/components/user-profile-popup) | 用户资料卡弹窗,由 UserProfile 唤起,也可独立使用。 | | [UserLevel](/components/user-level) | 按等级值渲染等级图标与文案,等级规则可外部覆盖。 |