AI for developers

AI brick generation for React

Turn a brief, component, screenshot, or design reference into reviewable React and TypeScript, complete with the editable fields and controls needed by content teams.

Start from the Admin UI or use your preferred AI coding tool with the React Bricks Skill. In both workflows, generation uses your repository context and project conventions.

AI brick generation: current product demo chapter

AI React component generation in React Bricks

What it creates
Normal React and TypeScript code with the schema property that defines editable content and approved visual controls.
How it starts
Start with a written brief, existing component, screenshot, or design reference. Generate from the Admin UI or an AI coding tool.
Why it matters
Let trusted marketing or design leads propose component improvements while developers retain control of code review and merging.

Flexible inputs

Start from the source material you already have

The reference communicates intent. The generated component should still use the tokens, primitives, breakpoints, and conventions of the project where it will live.

01

Written brief

Describe the component purpose, content, behavior, and approved variations.

02

Existing component

Turn existing React code into a brick with editable content and controlled options.

03

Page screenshot

Use a visible page section as a reference for hierarchy, styling, and responsive intent.

04

Design reference

Provide a layout or interface pattern that captures the result you want to build.

Two entry points

Generate where it fits your workflow

Start from the product context in React Bricks, where authorized team leads can propose component changes, or work directly in the repository. Both paths produce code for developers to inspect, adapt, and merge through the usual project workflow.

Admin UI

Let trusted team leads propose brick changes

A marketing or design lead can propose a new brick or request changes to an existing one, such as additional editable fields, variants, or sidebar controls. AI creates a code proposal in the connected repository for developers to review, adapt, and merge.

AI coding tool

Work directly in your repository

Install the React Bricks Skill so your coding assistant receives the product conventions and implementation guidance it needs to create and edit bricks more reliably.

Generation workflow

From visual analysis to an editable brick

  1. 1

    Analyze the reference

    Identify visual structure, reusable patterns, content fields, variants, and responsive behavior.

  2. 2

    Generate the component

    Create normal React and TypeScript using the primitives and styling conventions already present in the project.

  3. 3

    Add the editing controls

    Define the schema property that maps text, images, links, repeatable items, and approved visual options to props.

  4. 4

    Review and register

    Adapt and test the result, then register the brick only when it is ready for editors.

Developer control

Review it like any component in your codebase

Generation shortens the path to a strong first implementation. Your team then applies the same engineering standards used for every other component before registering the brick for editors.

  • Semantic HTML, keyboard behavior, focus states, labels, and color contrast
  • Responsive layout and content behavior at the project breakpoints
  • TypeScript types, defaults, validation, and edge cases
  • Visually editable fields and the options exposed through sidebar controls
  • Design tokens, primitives, naming, imports, and project conventions
  • Performance, asset handling, tests, and the correct brick collection

One design system, two workflows

Create the system, then create within it

Brick generation helps developers extend the component system. Content generation helps teams use that approved system to produce pages and content faster.

Content and page generation

Assemble pages from approved bricks

AI writes into editable fields, selects approved variants, and arranges registered bricks. Marketing teams can then refine the result directly in the visual editor.

Explore content and page generation

Brick generation

Extend the design system with new components

AI generates React and TypeScript in the project repository. Developers review and register the finished brick, making it available to editors and content generation workflows.

See the complete AI overview

Continue with the full developer workflow

Watch the complete product demo or compare the generated workflow with the manual steps for creating a custom brick.

Ready to start building?