Products & ProjectsMihua DesignDesign Systems生成框架组件体系产品工程

Mihua Design Generation Framework: Adapting Enterprise Component Systems

How Mihua Design adapts real frontend stacks, proprietary components, Figma assets, generation rules, and component promotion workflows.
Fan Mihua

Fan Mihua

Cross-domain Designer

Hi, I’m Fan Mihua. This article explains how the Mihua Design generation framework connects to an enterprise’s existing stack, components, and design standards.

It focuses on four questions: adapting to a different frontend stack, importing proprietary components, keeping repeated generation within standards, and creating missing components that can later flow back into the library.

1. Can a different technology stack still be integrated?

Yes. Product facts and page responsibilities stay stable, while the implementation layer is adapted to the project’s real component APIs, state model, build system, and validation rules.

KeepAdapt
Page roles and core tasksComponent names and imports
Business objects, states, and outcomesProps, events, slots, and state models
Primary and supporting viewsForms, dialogs, tables, and layout composition
Critical flows and acceptance criteriaTokens, responsive behavior, builds, and verification

Mihua Design has validated this boundary with shadcn, Ant Design React, and Ant Design Vue: implementations change, but page tasks, business state, and acceptance criteria remain.

2. How do proprietary components and styles enter the framework?

The path depends on the assets already available. Existing frontend libraries are converted into an AI-readable capability catalog. Figma-first libraries need design semantics before engineering assets can be generated and verified.

Path A: Existing frontend components

Existing assetInformation to organize
Component code and typesProps, events, states, and composition
DocumentationUse cases, anti-patterns, and important differences
Design tokensColor, spacing, radius, density, and semantic states
Business componentsPage tasks, dependencies, and reuse boundaries

Path B: Figma components

  1. Organize tokens such as color, spacing, typography, radius, and density.
  2. Complete component states, variants, interaction semantics, and naming.
  3. Generate component code, types, documentation, and usage rules.
  4. Validate layout, state, and responsive behavior in real pages.
  5. Write verified boundaries back to rules and the component index.

In the Arco adaptation, the workflow covered 64 component categories, 67 frontend components, and 12 admin pages. The important result is a verifiable transformation chain from design assets to engineering capabilities.

A real Arco adaptation record

Input: provide the original Figma link and request a component capability map.
Input: provide the original Figma link and request a component capability map.
Boundary: keep component APIs while replacing tokens and high-frequency component styles.
Boundary: keep component APIs while replacing tokens and high-frequency component styles.
Verification: check tokens, component alignment, builds, and the component index.
Verification: check tokens, component alignment, builds, and the component index.

3. Will repeated generation drift away from standards?

No. The component catalog, tokens, and rules define available capabilities. A page checklist and runtime output verify the result before and after generation.

01 Before02 During03 After
Define the page task and component boundarySelect and compose components from the checklistVerify code, runtime output, and acceptance criteria
StagePrimary basisSystem workOutput
BeforeProduct facts, page checklist, component docs, and rulesExtract tasks, primary expression, multi-device needs, and required capabilitiesPage generation checklist
DuringAvailable components, tokens, and project rulesCompose components, preserve provenance, and bind state and interactionsRunnable page
AfterReal code, runtime output, and acceptance criteriaVerify provenance, business regions, interactions, flows, visual output, and devicesPassed gates or repair items

4. Can AI create missing components and feed them back?

Yes, but a generated component first remains project-level. It must be validated in a real page before it can be considered reusable and promoted into the shared library.

Existing capability is sufficientExisting capability is insufficient
Reuse an existing component or compositionCreate a project-level component, validate it, then add documentation and tests before promotion
  1. Search existing components and compositions first.
  2. Create a project-level component only when the gap is real.
  3. Validate states, interactions, and responsive behavior in a real page.
  4. Evaluate whether it has cross-page or cross-domain reuse value.
  5. Complete the API, docs, examples, rules, tests, and index before promotion.

Conclusion

A generation framework should not lock a company into one component library. Mihua Design keeps product facts above the implementation layer, adapts real stacks and assets below it, and uses rules plus quality gates to keep continuous generation controlled and verifiable.