Ecosphere design system
v1.0.3Vue and React UI components of the Ecosphere design system: props, tokens, rules, setup
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_components List Ecosphere components
List every UI component in the Ecosphere design system (vue-ecosphere for Vue 3, react-ecosphere for React) with a one-line summary, by group: actions, general, navigation, layout, display, data-display, charts, forms, feedback-and-overlays. Also lists the composables/hooks, guides and markup patterns. Use it to browse what exists before building a screen.
| Parameter | Type | Description |
|---|---|---|
group | string | Only this group, e.g. "forms", "charts", "feedback-and-overlays". One of: actions, general, navigation, layout, display, data-display, charts, forms, feedback-and-overlays. |
search_components Find the right Ecosphere component
Find the best Ecosphere UI component for a need described in plain words or in another library's vocabulary ("modal with a confirm button", "data grid with sorting and selection", "toggle", "snackbar", "date range", "sidebar navigation", "KPI card", "bar chart"). Returns ranked Vue/React components, composables and markup patterns with summaries and docs links.
| Parameter | Type | Description |
|---|---|---|
query * | string | What the UI needs to do, or the component name you'd use in MUI, Ant Design, Vuetify, shadcn, etc. |
limit | integer | Maximum results (default 8). |
get_component Get an Ecosphere component's API
Get the full API of one Ecosphere component for Vue or React: every prop with type, default and description, events, slots, v-model bindings (Vue) or controlled props and callbacks (React), the import line, and the ecosphere.dev docs URL plus its markdown version with Vue and React examples. Also answers composables/hooks (useToast, useConfirm, useEcoId), guides and markup patterns (loading-state, table-fixed). Accepts EcoDataTable, DataTable, data-table or "data table".
| Parameter | Type | Description |
|---|---|---|
name * | string | Component, composable or page name, e.g. "EcoDialog", "date-picker", "useToast", "loading-state". |
framework | string | vue (vue-ecosphere, default), react (react-ecosphere) or both. |
get_tokens Get Ecosphere design tokens
Get Ecosphere design tokens (CSS custom properties) with values and usage: colour, type (font families and type styles), spacing, radius, shadow, motion. Pass a category, or a query to filter ("accent", "danger", "gap"). Use these instead of raw hex, px, shadows or font-family.
| Parameter | Type | Description |
|---|---|---|
category | string | One of colour, type, spacing, radius, shadow, motion, other, or "all". Aliases like color, typography, elevation work. |
query | string | Filter tokens whose name, value or usage contains these words. |
get_design_rules Get Ecosphere design rules
Get the Ecosphere design rules and guidance an agent must follow when building UI: component rules (one primary button per region, Ecosphere only, tokens not raw values, RemixIcon), content and copy, colour, type, layout, states and focus, accessibility, class vocabulary for plain HTML, "which component for what", recipes (forms, data table, dialogs, toasts, empty/loading/error states, charts) and the review checklist. No topic returns the core rules and the topic list.
| Parameter | Type | Description |
|---|---|---|
topic | string | e.g. "rules", "which-component", "recipes", "recipe:forms", "colour", "content-fundamentals", "review-checklist", "all". |
get_setup Install and set up Ecosphere
How to install and set up Ecosphere in a Vue 3 app (npm install vue-ecosphere, app.use, styles.css), a React 18/19 or Next.js app (react-ecosphere, EcoToaster, EcoConfirmHost), or a plain HTML page (the stylesheet from a CDN and the class markup); plus theming, and for React the mapping from the Vue-first docs to React props.
| Parameter | Type | Description |
|---|---|---|
framework | string | vue (default), react or html. |
get_migration_mapping Map another UI kit to Ecosphere
Migrate a UI from another component library to Ecosphere: the curated Ant Design Vue → Ecosphere table (component and prop translations, code shapes) and Ant Design icons → RemixIcon names; for MUI, Vuetify, Element Plus, Chakra, shadcn/ui, PrimeVue, Bootstrap and others, the closest Ecosphere components by need plus the migration workflow. Pass a component to get just its row.
| Parameter | Type | Description |
|---|---|---|
from * | string | Source library: "ant-design-vue", "ant-design", "ant-design-icons", "mui", "vuetify", "element-plus", … |
component | string | One source component, e.g. "a-modal", "Modal", "Autocomplete", "PlusOutlined". |
get_types Get Ecosphere TypeScript types
Get the TypeScript definitions of Ecosphere's public types that component props use (EcoOption, EcoTableColumn, ChartSeries, NavTarget, …). No name lists them all; several names may be given separated by commas.
| Parameter | Type | Description |
|---|---|---|
name | string | Type name(s), e.g. "EcoTableColumn" or "EcoOption, StatusTone". |