> Leaf UI 0.8.1 · Package: @ifhover/leaf-ui · Source: 435bab23cad7d343653d9b63b049c0b0601eeefb
> Browser documentation: https://ifhover.github.io/leaf-ui/api/index.html

> For AI agents: the complete documentation index is available at https://ifhover.github.io/leaf-ui/llms.txt, the full documentation bundle is available at https://ifhover.github.io/leaf-ui/llms-full.txt.

# API 参考

这里提供全局配置的完整字段，方便有进阶需求时查询。常用写法和可运行示例见 [ConfigProvider](https://ifhover.github.io/leaf-ui/components/config-provider.md)。

## 全局配置

| 参考                                                                                                         | 用途                       |
| ---------------------------------------------------------------------------------------------------------- | ------------------------ |
| [LeafComponentDefaults](https://ifhover.github.io/leaf-ui/api/component-defaults.md#leafcomponentdefaults) | 可配置的组件名称和默认参数范围。         |
| [LeafThemeTokens](https://ifhover.github.io/leaf-ui/api/theme-tokens.md#leafthemetokens)                   | 单独覆盖主题自动生成的样式。           |
| [PopupOptions](https://ifhover.github.io/leaf-ui/api/popup-options.md#popupoptions)                        | 选择器与浮层共用的挂载容器、位置和内容定制参数。 |
| [翻译资源](https://ifhover.github.io/leaf-ui/api/translations.md)                                              | 补充自定义语言、设置回退顺序并检查 JSON。  |

各组件自身的参数、默认值和示例仍在对应组件文档中查询。
