Project Setup
Create a React Bricks project
Create a new React Bricks project with the CLI and run it locally.
Estimated time: 4 minRaw Markdown
Prerequisites
- A React Bricks account
- Node.js 22 or later installed
- A code editor
Create the project
# With pnpm
pnpm create reactbricks-app@latest
# With npm
npm create reactbricks-app@latest
# With yarn
yarn create reactbricks-app@latestThe CLI will run you through:
- logging into your account
- choosing a project name
- selecting a starter template
- selecting the React framework (Next.js or Astro)
In a couple of minutes your project will be ready to run.
Run the project
cd your-project-folder
npm run devSee it in action
- Next.js → http://localhost:3000
- Astro → http://localhost:4321
Open the visual editor
Open the visual editor at /admin.
From there you can visually edit your pages, composing content with reusable bricks (React components).