Antd Component Lookup
Developmentantd-component-lookupAntd Component Lookup is an Agent Skill for development published in the ant-design/ant-design repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Look up Ant Design React component documentation, props, and usage examples. Use when working with Ant Design (antd) components and needing API details, default values, or usage patterns.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/ant-design/ant-design/blob/HEAD/public/.well-known/agent-skills/antd-component-lookup/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/antd-component-lookup, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Ant Design Component Lookup
Look up component documentation for Ant Design (antd), a React UI library with 80+ components.
When to Use
- You need to know a component's props, defaults, or TypeScript types
- You need usage examples or demo code
- You need to know which subcomponents or methods a component provides
Instructions
- Visit the component's English documentation page at
https://ant.design/components/<component-name>- For Chinese docs:
https://ant.design/components/<component-name>-cn
- For Chinese docs:
- For a machine-readable overview, fetch
https://ant.design/llms.txtto discover all available component documentation paths - For detailed component API tables, fetch
https://ant.design/llms-full.txtfor the complete content
Common Components
Button, Input, Select, Table, Form, Modal, Tabs, Menu, DatePicker, Upload, message, notification, Popconfirm, Tooltip, Tree, Cascader, Transfer, Steps, Card, Collapse, Carousel, Calendar, TimePicker, Rate, Switch, Slider, Progress, Badge, Tag, Avatar, Typography, Space, Divider, Grid, Layout, Affix, Anchor, Breadcrumb, Dropdown, Pagination, Popover, Result, Skeleton, Spin, Watermark, Tour, FloatButton, QRCode, ColorPicker, Segmented, Splitter
Notes
- Component names in URLs use kebab-case (e.g.,
date-picker,float-button) - The
llms-full.txtfile contains the most comprehensive documentation - For TypeScript types, refer to the component's type definitions in the antd package