Felipe Oliveira

Ant Design Skill

Developmentv0.1.0
By Felipe OliveiraUpdated 2026-05-11ant-design-skill@clawhub_felipeoff/ant-design-skill
Frontend

According to AlphaMoat, as of 2026-09, Ant Design Skill has 3,053 downloads and 3 stars — ranked #3,693 of 5,078 AI skills overall, and #468 of 577 in Development.

Installs
133
Downloads
3.1K
Stars
3
Overall Rank
#3,693
Top 73% overall · Top 82% in Development
PlatformInstallsDownloadsStarsComments
ClawHub ↗953.0K2-
SkillHub ↗1333.1K3—

Platforms count differently and update at different times.

What this skill does

The skill covers layouts, menus, forms, tables, modals, theme tokens, and ConfigProvider patterns for CRUD pages, dashboards, and settings screens. Confirm the Ant Design version before applying theme guidance: it follows the v5 token system, so pause on v4 projects and choose a compatible approach.

Profile published 2026-10-29

What you can do with it

  • Front-end developers and agents building consistent interfaces with React and Ant Design.

When to use it

  • Use when designing layouts, forms, data tables, dashboards, or theme configuration. Confirm the project uses Ant Design v5; if it uses v4, pause and choose an upgrade or v4 theming path.

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Plan a CRUD page for my existing React and Ant Design project with a filterable table, edit modal, and empty state; first confirm the version.

Monthly Trend

Downloads3.1K
1.8K2.5K3.1K2026-03 · Downloads 1.8K2026-05 · Downloads 2.3K2026-06 · Downloads 2.5K2026-07 · Downloads 2.7K2026-08 · Downloads 2.9K2026-09 · Downloads 3.1K26-0326-09
Stars3
2332026-03 · Stars 22026-05 · Stars 32026-06 · Stars 32026-07 · Stars 22026-08 · Stars 32026-09 · Stars 326-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-093.1K—3
2026-082.9K+6.3%3
2026-072.7K+9.5%2
2026-062.5K+7.6%3
2026-052.3K—3
2026-031.8K—2

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

3.9 KB · ClawHub v0.1.0
---
name: ant_design_skill
description: Front-end design skill for building React UIs with Ant Design (antd): component patterns, layout, forms, tables, and theming/tokens via ConfigProvider.
---

# Ant Design (React) — Practical Front-end Design Skill

Use this skill when you are building a React UI with **Ant Design (antd)** and want **consistent, non-ugly** screens fast.

## When to use
Show all (120 lines)
- The project uses **React** + **Ant Design**
- You need to design/implement pages with: **Layout**, **Menu**, **Form**, **Table**, **Modal**, **Drawer**, **Steps**, **Tabs**, **Pagination**
- You need to implement **theme tokens** (colors, radius, typography, spacing)
- You want predictable UI patterns (CRUD screens, dashboards, settings pages)

## Default workflow (do this order)
1) Confirm stack: React + antd version (v5+ assumed).
2) Choose page pattern:
   - CRUD list (Table) + filters (Form) + actions (Modal/Drawer)
   - Wizard (Steps)
   - Settings (Form + Cards)
   - Dashboard (Grid + Cards + Charts)
3) Build layout skeleton first:
   - `Layout` + `Sider` + `Header` + `Content`
   - Navigation with `Menu`
4) Build the main interaction component:
   - Forms: `Form`, `Form.Item`, `Input`, `Select`, `DatePicker`, `Switch`
   - Tables: `Table` + column definitions + row actions
5) Add feedback loop:
   - `message`, `notification`, `Modal.confirm`
6) Apply theming/tokens via `ConfigProvider` (global) and component-level overrides.
7) Verify:
   - Empty states
   - Loading states
   - Error states
   - Mobile responsiveness (at least: 360px layout sanity)

## Component patterns (copy/paste mental models)
### Layout
- Use `Layout` with `Sider` (collapsible), `Header` for top actions, `Content` scroll.
- Put page title + primary CTA in a `Flex` (or `Space`) row.

### Forms
- Keep forms vertical; align labels consistently.
- Use `Form` + `Form.Item` rules for validation; avoid custom validation unless necessary.
- Use `Form.useForm()` and `form.setFieldsValue()` for edit flows.

### Tables (CRUD)
- Columns:
  - left: identifier/name
  - middle: important attributes
  - right: actions (Edit/Delete)
- Use `rowKey` always.
- Use server-side pagination for real apps.

### Modals/Drawers
- **Modal** for short forms.
- **Drawer** for longer forms or when you want context kept.

## Theming / Tokens (AntD v5)
Ant Design v5 uses **Design Tokens** and CSS-in-JS.

### Global theme
Wrap your app in `ConfigProvider`:

```tsx
import { ConfigProvider, theme } from 'antd';

export function AppProviders({ children }: { children: React.ReactNode }) {
  return (
    <ConfigProvider
      theme={{
        algorithm: theme.defaultAlgorithm,
        token: {
          colorPrimary: '#1677ff',
          borderRadius: 10,
          fontSize: 14,
        },
        components: {
          Button: { controlHeight: 40 },
          Layout: { headerBg: '#ffffff' },
        },
      }}
    >
      {children}
    </ConfigProvider>
  );
}
```

### Dark mode
Use `theme.darkAlgorithm` and keep tokens consistent:

```tsx
const isDark = true;

<ConfigProvider
  theme={{
    algorithm: isDark ? theme.darkAlgorithm : theme.defaultAlgorithm,
    token: { colorPrimary: '#7c3aed' },
  }}
/>
```

### Component-level overrides
Use `components.<ComponentName>` for specific tweaks (Button, Input, Table, etc.).

## References
- Read **README.md** for the full “how-to” (setup + patterns + examples).
- Use `protocols/` when you want LLM-first contracts (describe UIs as data, then generate code deterministically).
- Read `references/tokens.md` for a tokens cookbook.
- Read `references/components.md` for practical page recipes (CRUD, Settings, Wizard).
- Use `examples/` when you want ready-to-copy AntD screens.
- Use `starter/` when you need a runnable Vite + React + AntD skeleton.

## Guardrails
- Assume Ant Design v5+ (tokens). If project is v4 (Less variables), stop and ask.
- Prefer built-in components and patterns over custom CSS.
- Avoid over-theming: set a small set of tokens and only override components when needed.

Popular in Development

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.