
ant-design-react
Provides comprehensive guidance for Ant Design React component library including components, design system, themes, and TypeScript support. Use when the user asks about Ant Design for React, needs to build React applications with Ant Design, or implement design system patterns.
- Installs
- 64
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/full-stack-skills/antd-skills --skill ant-design-react- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads ant-design-react automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
When to use this skill
Use this skill whenever the user wants to:
- Build React applications with Ant Design components
- Use Ant Design UI components (Button, Form, Table, Input, Select, etc.)
- Customize Ant Design theme and styles
- Implement internationalization (i18n) with Ant Design
- Use Ant Design with TypeScript
- Create forms with validation
- Display data in tables and lists
- Implement navigation and layout
- Use Ant Design icons
- Handle user feedback (Modal, Message, Notification)
- Implement data visualization components
- Use Ant Design design tokens and design system
How to use this skill
This skill is organized to match the Ant Design React official documentation structure (https://4x-ant-design.antgroup.com/docs/react/introduce-cn, https://4x-ant-design.antgroup.com/components/overview-cn/). When working with Ant Design React:
-
Identify the topic from the user's request:
- Getting started/快速开始 →
examples/getting-started/installation.mdorexamples/getting-started/basic-usage.md - Button/按钮 →
examples/components/button.md - Form/表单 →
examples/components/form.md - Table/表格 →
examples/components/table.md - Input/输入框 →
examples/components/input.md - Select/选择器 →
examples/components/select.md - DatePicker/日期选择器 →
examples/components/date-picker.md - Modal/对话框 →
examples/components/modal.md - Layout/布局 →
examples/components/layout.md - Menu/菜单 →
examples/components/menu.md - Theme customization/主题定制 →
examples/advanced/theme-customization.md - Internationalization/国际化 →
examples/advanced/internationalization.md - TypeScript/类型支持 →
examples/advanced/typescript.md
- Getting started/快速开始 →
-
Load the appropriate example file from the
examples/directory:Getting Started (快速开始) -
examples/getting-started/:examples/getting-started/installation.md- Installing Ant Design and basic setupexamples/getting-started/basic-usage.md- Basic component usage
Components (组件) -
examples/components/:examples/components/button.md- Button componentexamples/components/input.md- Input componentexamples/components/form.md- Form component with validationexamples/components/table.md- Table componentexamples/components/select.md- Select componentexamples/components/date-picker.md- DatePicker componentexamples/components/modal.md- Modal componentexamples/components/layout.md- Layout componentexamples/components/menu.md- Menu componentexamples/components/icon.md- Icon componentexamples/components/typography.md- Typography componentexamples/components/grid.md- Grid componentexamples/components/space.md- Space componentexamples/components/card.md- Card componentexamples/components/tabs.md- Tabs componentexamples/components/pagination.md- Pagination componentexamples/components/upload.md- Upload componentexamples/components/upload.md- Upload componentexamples/components/message.md- Message componentexamples/components/notification.md- Notification componentexamples/components/alert.md- Alert componentexamples/components/spin.md- Spin componentexamples/components/progress.md- Progress component
Advanced (高级) -
examples/advanced/:examples/advanced/theme-customization.md- Customizing themeexamples/advanced/internationalization.md- Internationalization setupexamples/advanced/typescript.md- TypeScript support
-
Follow the specific instructions in that example file for syntax, structure, and best practices
Important Notes:
- All examples follow Ant Design React 4.x API
- Examples include both JavaScript and TypeScript versions where applicable
- Each example file includes key concepts, code examples, and key points
- Always check the example file for best practices and common patterns
-
Reference API documentation in the
api/directory when needed:api/components.md- Component API referenceapi/config-provider.md- ConfigProvider APIapi/design-tokens.md- Design tokens API
-
Use templates from the
templates/directory:templates/project-setup.md- Project setup templatestemplates/component-template.md- Component usage templates
Doc mapping (one-to-one with official documentation)
Guide (指南):
- See guide files in
examples/guide/orexamples/getting-started/→ https://4x-ant-design.antgroup.com/docs/react/introduce-cn
Components (组件):
- See component files in
examples/components/→ https://4x-ant-design.antgroup.com/components/overview-cn/
Examples and Templates
This skill includes detailed examples organized to match the official documentation structure. All examples are in the examples/ directory (see mapping above).
To use examples:
- Identify the topic from the user's request
- Load the appropriate example file from the mapping above
- Follow the instructions, syntax, and best practices in that file
- Adapt the code examples to your specific use case
To use templates:
- Reference templates in
templates/directory for common scaffolding - Adapt templates to your specific needs and coding style
API Reference
Detailed API documentation is available in the api/ directory, organized to match the official Ant Design React API documentation structure:
Components API (api/components.md)
- All component props and APIs
- Component methods and events
- Component types and interfaces
ConfigProvider API (api/config-provider.md)
- ConfigProvider component API
- Global configuration options
- Locale configuration
Design Tokens API (api/design-tokens.md)
- Design tokens reference
- Theme customization tokens
- CSS variables
To use API reference:
- Identify the API you need help with
- Load the corresponding API file from the
api/directory - Find the API signature, parameters, return type, and examples
- Reference the linked example files for detailed usage patterns
- All API files include links to relevant example files in the
examples/directory
Best Practices
- Import styles: Import Ant Design CSS in your entry file
- Use ConfigProvider: Wrap your app with ConfigProvider for global configuration
- Form validation: Use Form component with validation rules
- TypeScript: Use TypeScript for better type safety
- Theme customization: Use design tokens for consistent theming
- Internationalization: Use ConfigProvider with locale for i18n
- Component composition: Compose components for complex UIs
- Performance: Use React.memo and useMemo for optimization
- Accessibility: Follow Ant Design accessibility guidelines
- Responsive design: Use Grid and responsive utilities
Resources
- Official Website: https://4x-ant-design.antgroup.com/index-cn
- Getting Started: https://4x-ant-design.antgroup.com/docs/react/introduce-cn
- Components: https://4x-ant-design.antgroup.com/components/overview-cn/
- GitHub Repository: https://github.com/ant-design/ant-design
Keywords
Ant Design, Ant Design React, antd, React UI library, components, Button, Form, Table, Input, Select, DatePicker, Modal, Layout, Menu, theme, customization, internationalization, i18n, TypeScript, design system, 组件库, 按钮, 表单, 表格, 输入框, 选择器, 日期选择器, 对话框, 布局, 菜单, 主题, 国际化, 类型支持
FAQ
What does the ant-design-react skill do?
Provides comprehensive guidance for Ant Design React component library including components, design system, themes, and TypeScript support. Use when the user asks about Ant Design for React, needs to build React applications with Ant Design, or implement design system patterns.
How do I install ant-design-react?
Run npx skills add https://github.com/full-stack-skills/antd-skills --skill ant-design-react in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/ant-design-react/ (personal) or .claude/skills/ant-design-react/ (project).
Which AI agents can use ant-design-react?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is ant-design-react safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains ant-design-react?
It is published by full-stack-skills in full-stack-skills/antd-skills. It has 64 recorded installs.
More from full-stack-skills/antd-skills
ant-design-vue
full-stack-skills/antd-skills
Open the skill to read its SKILL.md instructions.
ant-design-mobile
full-stack-skills/antd-skills
Open the skill to read its SKILL.md instructions.
ant-design-mini
full-stack-skills/antd-skills
Open the skill to read its SKILL.md instructions.
Popular frontend & design skills
setup-matt-pocock-skills
mattpocock/skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
frontend-design
anthropics/skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
hyperframes-animation
heygen-com/hyperframes
All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.
prototype
mattpocock/skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
hyperframes-core
heygen-com/hyperframes
The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.
vercel-react-best-practices
vercel-labs/agent-skills
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.