Build a typed React component from requirements
Build a component with explicit behaviour and interfaces.
Use this prompt
What to provide
- Requirements
- Version, styling and project conventions
Techotick / Prompt library
Explore 400 text prompts for writing, research, planning, coding and everyday tasks. Choose a goal, customise the inputs and check the response against your sources.
400 prompts to explore
Build a component with explicit behaviour and interfaces.
Model data and states with useful TypeScript types.
Choose where state belongs and how it changes.
Check whether effects are needed and correctly scoped.
Design a reliable data-fetching experience.
Implement forms with accessible validation and state handling.
Investigate frontend performance using actual measurements.
Diagnose unexpected rerenders or stale rendering.
Plan navigation and route behaviour.
Implement UI behaviour around authenticated sessions.
Solve a layout requirement with maintainable CSS.
Choose meaningful component and interaction tests.
A text prompt is most useful when it names the task, supplies the source material and describes the result you need. Replace the square-bracket inputs with your own details before copying it into your tool.
For a meeting summary, provide the notes and ask for decisions, action owners and unresolved questions in separate sections. Tell the tool to mark missing owners as unknown. Compare the result with the original notes before sharing it.
If an answer is too broad, specify the audience or ask for a shorter format. If it adds facts that are absent from your source, ask it to use only the supplied material and identify gaps. Keep sensitive information out of examples unless you have permission to use it.