·mantine-custom-components
</>

mantine-custom-components

构建与 Mantine 主题、样式 API 和核心功能集成的自定义组件。在以下情况下使用此技能:(1) 使用factory()、polymorphicFactory() 或 genericFactory() 创建新组件,(2) 添加样式 API 支持(classNames、styles、vars、unstyled),(3) 通过 createVarsResolver 实现 CSS 变量,(4) 使用子组件和共享上下文构建复合组件,(5) 通过 Component.extend() 向 MantineProvider 注册组件,或 (6) 任何涉及 Factory 的任务, @mantine/core 中的 useProps、useStyles、BoxProps、StylesApiProps 或 ElementProps。

53安装·1热度·@mantinedev

安装

$npx skills add https://github.com/mantinedev/skills --skill mantine-custom-components

如何安装 mantine-custom-components

通过命令行快速安装 mantine-custom-components AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/mantinedev/skills --skill mantine-custom-components
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:mantinedev/skills。

SKILL.md

查看原文

| Standard component | factory() | Factory | | Supports component prop (polymorphic) | polymorphicFactory() | PolymorphicFactory — add defaultComponent and defaultRef | | Props change based on a generic (e.g. multiple) | genericFactory() | Factory |

Use polymorphicFactory sparingly — it adds TypeScript overhead and slows IDE autocomplete.

构建与 Mantine 主题、样式 API 和核心功能集成的自定义组件。在以下情况下使用此技能:(1) 使用factory()、polymorphicFactory() 或 genericFactory() 创建新组件,(2) 添加样式 API 支持(classNames、styles、vars、unstyled),(3) 通过 createVarsResolver 实现 CSS 变量,(4) 使用子组件和共享上下文构建复合组件,(5) 通过 Component.extend() 向 MantineProvider 注册组件,或 (6) 任何涉及 Factory 的任务, @mantine/core 中的 useProps、useStyles、BoxProps、StylesApiProps 或 ElementProps。 来源:mantinedev/skills。

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/mantinedev/skills --skill mantine-custom-components 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/mantinedev/skills --skill mantine-custom-components
分类
</>开发工具
认证
收录时间
2026-02-22
更新时间
2026-03-11

Browse more skills from mantinedev/skills

快速解答

什么是 mantine-custom-components?

构建与 Mantine 主题、样式 API 和核心功能集成的自定义组件。在以下情况下使用此技能:(1) 使用factory()、polymorphicFactory() 或 genericFactory() 创建新组件,(2) 添加样式 API 支持(classNames、styles、vars、unstyled),(3) 通过 createVarsResolver 实现 CSS 变量,(4) 使用子组件和共享上下文构建复合组件,(5) 通过 Component.extend() 向 MantineProvider 注册组件,或 (6) 任何涉及 Factory 的任务, @mantine/core 中的 useProps、useStyles、BoxProps、StylesApiProps 或 ElementProps。 来源:mantinedev/skills。

如何安装 mantine-custom-components?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/mantinedev/skills --skill mantine-custom-components 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/mantinedev/skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-22