Compare
An Ant Design alternative for Vue and React
Ecosphere is an open-source design system for data-heavy Vue 3 and React apps. If you use Ant Design Vue or Ant Design, this page shows how the two differ and what replaces each component.
How they differ
| Ant Design | Ecosphere | |
|---|---|---|
| Frameworks | Ant Design Vue for Vue; Ant Design for React, with its own API. | vue-ecosphere and react-ecosphere: the same components, props and markup, one stylesheet. |
| Theming | A ConfigProvider and a JavaScript theme object. | Plain CSS custom properties. Override a token in your stylesheet; set data-theme="dark" (or "auto") for the dark theme. |
| Scope | A very wide catalogue (cascader, transfer, mentions, rate, slider…). | A focused set for data-heavy apps: data tables, tree tables, charts, forms, overlays and an app shell. |
| Charts | A separate library (Ant Design Charts). | Built in: bar, line, area, donut, pie, radar, diverging and step-line charts in the same look. |
| Forms | a-form with rules and a-form-item wrappers. | Each field carries label, required, hint and error; you validate in the view. |
| AI agents | — | An agent skill teaches Claude Code, Codex and Gemini CLI the API of the release you run, and a second skill migrates Ant Design apps. |
The same screen, before and after
Ecosphere fields carry their own label; a destructive dialog names the consequence on its button.
Component map
What replaces each Ant Design component. The same names work in Vue and React.
| Ant Design | Ecosphere |
|---|---|
a-button | EcoButton (variant: primary, secondary, tertiary, danger) |
a-input / a-input-password | EcoTextField |
a-input-search | EcoSearchField |
a-input-number | EcoNumberField |
a-textarea | EcoTextarea |
a-select | EcoSelect |
a-checkbox / a-checkbox-group | EcoCheckbox / EcoCheckboxGroup |
a-switch | EcoSwitch |
a-radio-group (buttons) | EcoSegmented |
a-date-picker / a-time-picker | EcoDatePicker / EcoTimePicker |
a-upload | EcoFileUpload |
a-table | EcoDataTable (or EcoTable for a static table) |
tree a-table / a-tree | EcoTreeTable / EcoTreeView |
a-modal / Modal.confirm | EcoDialog / useConfirm |
a-drawer | EcoDrawer |
message / notification | useToast with EcoToaster |
a-alert / a-result / a-empty | EcoNotice / EcoEmptyState |
a-tooltip | EcoTooltip |
a-dropdown + a-menu | EcoMenu (or EcoSplitButton) |
a-tabs | EcoTabs |
a-steps | EcoProgressSteps |
a-pagination | EcoPagination |
a-layout + a-menu (inline) | EcoAppShell with EcoNavItem and EcoNavSection |
a-card / a-collapse | EcoCard / EcoDisclosure |
a-tag / a-badge | EcoTag / EcoBadge |
a-statistic / a-progress | EcoKpi or EcoStat / EcoMeter |
a-skeleton / a-spin | EcoSkeleton / EcoSpinner |
Let an agent do the move
The ecosphere-migrate skill walks an AI coding agent through an Ant Design app view by view, with this map and the prop translations. Ant Design code for comparison:
Install the Ecosphere skill, then ask your agent to migrate the app. See AI agents for Codex, Gemini CLI and other agents.