arco-design

Arco Design React UI component library reference (@arco-design/web-react). Use this skill whenever the user asks to build a page, create a UI, write frontend code, develop a web application, design a dashboard, or implement any React interface — especially when they mention Arco, arco-design, @arco-design/web-react, or any Arco component name (Button, Table, Form, Modal, Select, Menu, etc.). Covers all 70 components with full API, code examples, import patterns, theming, i18n, layout, forms, tables, modals, navigation, data entry, data display, feedback, responsive design, and best practices.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "arco-design" with this command: npx skills add arco-design/arco-design-skill/arco-design-arco-design-skill-arco-design

Arco Design React — Skills Reference

@arco-design/web-react — An enterprise-level React UI component library by ByteDance.

Critical Conventions

Always follow these rules when writing Arco Design code:

  • Imports: import { Button, Table, Form } from '@arco-design/web-react' — always from the package root, never from sub-paths like @arco-design/web-react/es/Button
  • Icons: import { IconSearch, IconPlus } from '@arco-design/web-react/icon'
  • Types: import type { TableProps, FormInstance } from '@arco-design/web-react'
  • Styles: import '@arco-design/web-react/dist/css/arco.css' (full) or configure on-demand loading
  • Date library: dayjs (NOT moment.js)
  • Controlled mode: value + onChange; Uncontrolled: defaultValue
  • Sub-components: accessed via Component.Sub pattern — Form.Item, Select.Option, Menu.SubMenu, Input.Search, Input.TextArea, Grid.Row, Grid.Col
  • Form.Item uses field prop (not name like Ant Design)
  • Switch in Form requires triggerPropName="checked"

Skill Index

Load the relevant file below for full API reference, code examples, and best practices.

Setup & Configuration

TopicFileWhen to use
Installationgetting-started.mdInstall @arco-design/web-react, import styles, configure tree-shaking or babel-plugin-import
Global Configconfig-provider.mdSet global component size, theme, locale, default props via <ConfigProvider>
Themingtheming.mdCustom theme colors, CSS variable overrides, Less variables, dark mode toggle
Internationalizationinternationalization.mdSwitch languages, add locale packs, customize locale text
Architecturearchitecture.mdUnderstand controlled/uncontrolled patterns, props merging, ref forwarding, CSS naming

General Components

ComponentFileUse for
Buttonbutton.mdButtons, button groups, icon buttons, loading state
Iconicon.mdBuilt-in icons (IconXxx), custom SVG icons, IconFont
Typographytypography.mdHeadings, paragraphs, text ellipsis, copyable/editable text
Linklink.mdHyperlinks with icon, hover states
Dividerdivider.mdHorizontal/vertical dividers, dividers with text

Layout

ComponentFileUse for
Gridgrid.md24-column Row/Col grid, responsive breakpoints (xs/sm/md/lg/xl/xxl), gutter
Layoutlayout.mdPage skeleton: Header, Sider, Content, Footer, collapsible sidebar
Spacespace.mdConsistent spacing between elements, horizontal/vertical, wrap

Navigation

ComponentFileUse for
Menumenu.mdSidebar nav, top nav bar, sub-menus, menu groups, collapsible
Tabstabs.mdTab switching, card tabs, editable/closable tabs, extra content
Dropdowndropdown.mdDropdown menus, context menus, button dropdowns
Breadcrumbbreadcrumb.mdNavigation hierarchy path, route breadcrumbs
Paginationpagination.mdPage navigation, size changer, simple/mini mode
Stepssteps.mdStep-by-step workflows, vertical/dot steps, error state
Affixaffix.mdPin element to viewport on scroll
Anchoranchor.mdIn-page anchor navigation, scroll-to-section
PageHeaderpage-header.mdPage title + back button + breadcrumb + actions

Data Entry

ComponentFileUse for
Formform.mdForm building, validation, Form.Item (uses field prop), Form.List, useForm hook
Inputinput.mdText input, Input.Password, Input.Search, Input.TextArea, prefix/suffix
Selectselect.mdDropdown select, multi-select, search, remote search, Select.Option, virtual scroll
DatePickerdate-picker.mdDate/range picker (RangePicker), week/month/quarter/year, disabled dates (dayjs)
TimePickertime-picker.mdTime selection, range, 12h format, step intervals
InputNumberinput-number.mdNumeric input, stepper, precision, min/max
Checkboxcheckbox.mdMulti-select, Checkbox.Group, select all / indeterminate
Radioradio.mdSingle select, Radio.Group, button-style radio
Switchswitch.mdToggle switch, loading, text labels (use triggerPropName="checked" in Form)
Sliderslider.mdRange slider, marks, vertical, step, tooltip format
Raterate.mdStar rating, half-star, readonly, custom characters
Cascadercascader.mdMulti-level cascade (province/city), remote load, search
TreeSelecttree-select.mdSelect from tree structure, checkable, searchable, async load
Transfertransfer.mdTransfer items between two lists, search, simple mode
AutoCompleteauto-complete.mdInput autocomplete, search suggestions
Mentionsmentions.md@mention users/topics in text input
InputTaginput-tag.mdTag input, add/remove tags, drag sort
Uploadupload.mdFile upload, drag-and-drop, image upload with preview
ColorPickercolor-picker.mdColor selection (hex/rgb/hsl)
VerificationCodeverification-code.mdOTP / verification code input

Data Display

ComponentFileUse for
Tabletable.mdData tables, sort, filter, pagination, fixed columns/header, virtual scroll, row selection, expandable rows
Listlist.mdData lists, paginated, virtual scroll, grid layout
Cardcard.mdCard containers, cover, Card.Grid, Card.Meta, actions
Treetree.mdTree structure, checkable, draggable, virtual scroll, async load
Tooltiptooltip.mdHover text hints (for rich content use Popover)
Popoverpopover.mdClick/hover popup cards with rich content
Avataravatar.mdUser avatars, avatar groups, image/text/icon avatars
Badgebadge.mdNumeric badges, status dots, count indicators
Tagtag.mdStatus tags, closable, Tag.CheckableTag, colored tags
Carouselcarousel.mdImage carousels, slideshows
Collapsecollapse.mdCollapsible panels, accordion mode, FAQ
Descriptionsdescriptions.mdKey-value detail display, bordered, responsive columns
Calendarcalendar.mdCalendar view, event marking
Commentcomment.mdComment display, nested replies, actions
Emptyempty.mdEmpty state placeholder
Imageimage.mdImage display, preview, lazy load, Image.PreviewGroup
Statisticstatistic.mdNumeric display, countdown, trend indicators
Timelinetimeline.mdTimelines, activity feeds, changelog

Feedback

ComponentFileUse for
Modalmodal.mdModal dialogs, Modal.confirm(), useModal hook, form-in-modal
Messagemessage.mdGlobal toast: Message.success(), error(), warning(), loading()
Notificationnotification.mdRich notification toasts with title + content + actions
Drawerdrawer.mdSlide-out side panels, form editing, nested drawers
Alertalert.mdInline alert banners (info/success/warning/error), banner mode
Progressprogress.mdLinear/circular progress bars, step progress
Popconfirmpopconfirm.mdLightweight confirmation popup before delete/submit
Resultresult.mdResult pages (success/fail/403/404/500)
Skeletonskeleton.mdLoading skeleton placeholders with animation
Spinspin.mdLoading spinner wrapping content

Other

ComponentFileUse for
BackTopback-top.mdScroll-to-top button
Portalportal.mdRender children into different DOM node
ResizeBoxresize-box.mdResizable containers, split panes
Triggertrigger.mdBase popup positioning (underlies Tooltip/Popover/Dropdown)
Watermarkwatermark.mdText/image watermarks over page content

Patterns & Best Practices

TopicFileWhen to use
Form Patternsform-patterns.mdDynamic forms, linked validation, nested forms, async submit, complex layouts
Table Patternstable-patterns.mdRemote data, editable rows, virtual scroll large data, custom filters
Modal Patternsmodal-patterns.mdForm-in-modal, confirmation flows, nested drawers, global messages
Controlled vs Uncontrolledcontrolled-uncontrolled.mdChoosing value+onChange vs defaultValue pattern
Responsive Designresponsive-design.mdGrid breakpoints, adaptive layout, mobile-friendly design

Hooks

Import from @arco-design/web-react/hooks. Use these headless hooks only when you need a fully custom UI — otherwise prefer the corresponding component.

HookFileUse for
useVerificationCodeuse-verification-code.mdCustom OTP input with focus, paste, keyboard navigation
useWatermarkuse-watermark.mdDynamic canvas watermark with tamper protection

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

github-tools

Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.

Archived SourceRecently Updated
Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
Coding

ask-claude

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Archived SourceRecently Updated
Coding

ai-dating

This skill enables dating and matchmaking workflows. Use it when a user asks to make friends, find a partner, run matchmaking, or provide dating preferences/profile updates. The skill should execute `dating-cli` commands to complete profile setup, task creation/update, match checking, contact reveal, and review.

Archived SourceRecently Updated