React Code Instructions
React Code Instructions is an open-source dataset containing over 74,000 pairs of instructions generated by LLM models, to create complete components or applications in React. The examples cover concrete cases such as LinkedIn clones, iPhone calculators or waiting simulators (Chipotle). Ideal for training or refining front-end code generation models.
Description
React Code Instructions Is a dataset designed to train models to generate React code based on text instructions. The data was generated via powerful models such as LLama 3.1 70B, 405B, and Deepseek Chat V3. Each entry contains a descriptive text instruction and generated source code to produce interactive components and complete applications.
What is this dataset for?
- Fine-tuning generative models for front-end React code generation
- Creation of AI assistants capable of generating web interfaces on the fly
- Rapid prototyping of interfaces based on natural instructions
Can it be enriched or improved?
Yes, this dataset can be completed with TypeScript examples, automated tests, or components with enhanced accessibility. It is also possible to classify the examples according to their complexity or type (forms, dashboards, e-commerce UI...).
🔎 In summary
🧠 Recommended for
- AI/Code Developers
- Nocode/low-code projects
- Developer Assistant Platforms
🔧 Compatible tools
- OpenAI Codex
- Deepseek
- LLama
- ReACT agents
- LangChain
💡 Tip
For best results, categorize instructions by UI before training a specialized model.
Frequently Asked Questions
Does the dataset contain media files or only text and code?
The dataset is mostly textual with React code, but some examples mention PNG or GIF visual renderings as illustrations.
Is it possible to use this dataset with TypeScript or only JavaScript?
The examples are in JavaScript (React standard), but they can be adapted or transformed for TypeScript without difficulty.
Can this dataset be used to train generative agents like GPT Engineer or ReACT?
Yes, it is an excellent basis for training or refining generative agents that target the generation of React web UI.