mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
fbdd913d8e
* Add translation tracker for stale translations audit Generated-By: mintlify-agent * translations: add missing pages and update content for es, fr, zh Phase 1: Add translations for 4 new API analytics pages (feedback-by-page, searches, views, visitors) in es, fr, and zh. Phase 2: Update 3 pages with content changes: - agent/workflows: add "Disable a workflow" subsection - ai/skillmd: add 24-hour generation note - editor/publish: add AI PR title tip, reformat publishing workflows, promote "Publish your changes" heading from h3 to h2 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * update descriptions * translations * translations * translations * Delete TRANSLATION_TRACKER.md * translations * a * a * translations * translations * translations * translations * translations * translations * translations * translations * Update use-cases.mdx * translations * translations * Update ai-native.mdx * Update accordions.mdx * Update accordions.mdx * Update accordions.mdx * translations * translations * Update fonts.mdx * translations * translations: update SEO descriptions for es, fr, zh (150 pages) Update the description: frontmatter field across 150 pages × 3 languages to match the current English descriptions updated on 2026-03-31. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
---
|
|
title: "图标"
|
|
description: "使用图标组件将 Font Awesome、Lucide、Tabler 或自定义来源的图标添加到文档页面,支持尺寸和颜色选项。"
|
|
keywords: ["Font Awesome", "Lucide", "Tabler", "SVGs"]
|
|
---
|
|
|
|
import IconsRequired from "/snippets/zh/icons-required.mdx";
|
|
|
|
使用来自 Font Awesome、Lucide、Tabler、SVG、外部 URL 或项目文件的图标,丰富你的文档。
|
|
|
|
<Icon icon="flag" size={32} />
|
|
|
|
```mdx Icon example
|
|
<Icon icon="flag" size={32} />
|
|
```
|
|
|
|
|
|
<div id="inline-icons">
|
|
## 行内图标
|
|
</div>
|
|
|
|
当在句子、段落或标题中使用时,图标会以内联形式呈现。 <Icon icon="flag" iconType="solid" /> 你可以将图标用于装饰,或用于强化视觉重点。
|
|
|
|
```markdown Inline icon example
|
|
图标在句子、段落或标题中使用时会内联显示。<Icon icon="flag" iconType="solid" /> 使用图标可以起到装饰作用或增强视觉效果。
|
|
```
|
|
|
|
|
|
<div id="properties">
|
|
## 属性
|
|
</div>
|
|
|
|
<IconsRequired />
|
|
|
|
<ResponseField name="color" type="string">
|
|
icon 的颜色,使用十六进制色值(例如 `#FF5733`)。
|
|
</ResponseField>
|
|
|
|
<ResponseField name="size" type="number">
|
|
icon 的尺寸(像素)。
|
|
</ResponseField>
|
|
|
|
<ResponseField name="className" type="string">
|
|
应用于 icon 的自定义 CSS 类名。
|
|
</ResponseField> |