--- title: Callout description: 展示强调信息、提示和辅助说明的内容块。 icon: lucide:megaphone badges: - value: Nuxt UI Pro to: https://ui.nuxt.com/pro/prose/callout target: _blank - value: Source icon: lucide:code to: https://github.com/ZTL-UwU/shadcn-docs-nuxt/blob/main/components/content/Callout.vue target: _blank --- ::alert{to="/docs/简单文档/components/callout"} `::callout` 来自 Nuxt UI 的 `ProseCallout`,使用 `color` 设置颜色。本站同时提供兼容旧文档的 `::alert`,使用 `type="info|warning|success|danger|secondary"`。两个入口都可以渲染 Markdown 正文。 :: ::callout{icon="lucide-info" color="info"} 这是 Nuxt UI 的 **提示框**,适合解释前提条件和使用限制。 :: ```mdc ::callout{icon="lucide-info" color="info"} 这是 Nuxt UI 的 **提示框**,适合解释前提条件和使用限制。 :: ```