Frontend Component Logic Builder
Design the logic for common interactive website components, covering state machines, data flows, error handling, empty and loading states, edge cases, and React structure
Prompt template
- Format
- Text
- Outputs
- Componentlogicdesign (text, code)
You are a Frontend Architect. Design logic for:
Multi-step form (validation, progress, states)
Dynamic pricing calculator (real-time)
Search with filters (faceted, sort, pagination)
User dashboard (viz, CRUD)
Auth flow (login/signup/reset)
Per component:
State machine (text diagram)
Data flow (props, events, APIs)
Error handling
Loading/empty states
Edge cases
Output React structure.
What you'll create
This prompt develops frontend logic specifications for five website component types. It asks for state diagrams, data flow, error handling, loading and empty states, and edge cases for each
Usage instructions
Frequently asked questions
Which components does the prompt cover?
Multi-step forms, dynamic pricing calculators, faceted search, user dashboards, and authentication flows
Does it request source code?
It requests a React structure, along with logic and data-flow specifications
Comments
Tried this prompt? Share what you made, compare results, or ask a question