React Router

Prerequisites

You'll need an existing React Router project with a package manager installed (npm, yarn, pnpm, or bun).

Initialize Sync UI

npx @abhivarde/syncui@latest init

This creates a components.json config and installs the base dependencies.

Wrap your app in ThemeProvider

Add your first component

npx @abhivarde/syncui@latest add hero

Add a specific variant with name/variant, for example hero/left. Dependencies install automatically, pass --skip-install to skip.

Start development

npm start

Open http://localhost:3000 in your browser.

You're all set

→ Check out Components, copy paste ready UI elements

→ Explore Blocks, pre-built page sections

→ Customize freely, all code is yours to modify

On this page

Buy me a coffee
Star