umlforge_frontend_components
Map frontend component hierarchies and data flow for React, Vue, Angular, or Svelte features. Identify prop drilling and god components from props and state management patterns.
Instructions
Design a frontend component tree and interaction flow for a UI feature.
USE THIS WHEN:
You are designing or documenting a React, Vue, Angular, or Svelte feature
You want to see component hierarchy, props flow, and state management
You need to identify god components or prop drilling issues
NOT FOR:
Backend service interactions → use umlforge_api_sequence
Full codebase including frontend → use umlforge_reverse_engineer
Overall system architecture for stakeholders → use umlforge_stakeholder_arch
Produces:
Component hierarchy graph: parent-child, props (downward arrows), events/callbacks (upward dashed arrows), state store connections, API origins
Interaction sequence diagram: most complex user flow — loading, success, error
Component responsibility table: responsibilities, state owned, reusability flag
Accessibility note: ARIA roles needed, keyboard nav, WCAG risks
God component flags (⚠️) for components with too many responsibilities
(report_mode=True) Component Analysis Notes: coupling risks, refactoring quick wins
Args: feature_description: The UI feature or page to diagram. framework: Frontend framework (default: React). state_management: State approach — Redux, Zustand, Context API, Pinia (optional). interactions: Key user interactions (optional — improves sequence diagram). report_mode: True → also produce Component Analysis Notes. Pro/Team/Enterprise only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| framework | No | React | |
| report_mode | No | ||
| interactions | No | ||
| state_management | No | ||
| feature_description | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |