Generate, compare, refine, and export responsive ecommerce storefront concepts from a category or design direction.
Shopify UI Generator is an open-source storefront design workspace built with Next.js, React, TypeScript, Tailwind CSS, and Motion. It combines reusable composition systems for headers, heroes, product sections, typography, media, interactions, motion, and responsive behavior instead of relying on one fixed template.
Trademark notice: Shopify UI Generator is an independent project and is not affiliated with, endorsed by, or sponsored by Shopify Inc. Shopify is a trademark of Shopify Inc.
Generate a complete storefront from a design direction, then inspect it directly in the live responsive preview.
Explore three structurally different storefront directions side by side and choose the one you want to continue refining.
| Area | What it does |
|---|---|
| Design generation | Creates storefront concepts from a short category, niche, or design direction. |
| Variation explorer | Keeps the current design, tries related variations, or creates a new design direction. |
| Generate 3 | Produces multiple visual directions at once for faster comparison. |
| Responsive preview | Reviews storefronts across desktop, tablet, and mobile views. |
| Section control | Regenerates individual sections while preserving parts you want to keep. |
| Storefront pages | Supports product, collection, cart, search, and content-oriented page foundations. |
| Motion and interaction | Uses Motion-based interaction patterns and responsive UI behavior. |
| Export foundation | Provides React and Shopify OS 2.0-oriented export foundations for implementation workflows. |
- Generate storefront concepts from a short design direction or product niche
- Browse a large catalog of curated ecommerce design directions and categories
- Produce different header, hero, collection, product, pricing, section, and footer compositions
- Compare multiple generated storefront variations before choosing a direction
- Preview layouts on desktop, tablet, and mobile
- Regenerate individual sections while preserving locked parts of a design
- Edit copy, styling, sections, interactions, and responsive behavior
- Work with multiple storefront pages instead of a single landing page
- Use local generation without an API key, with an optional OpenAI planning route
- Export foundations for React and Shopify OS 2.0 workflows
| Technology | Role |
|---|---|
| Next.js 16 | Application framework |
| React 19 | UI rendering |
| TypeScript | Type-safe application code |
| Tailwind CSS 4 | Styling and responsive layout |
| Motion | Motion and interaction system |
| Zustand | Client-side state management |
| Zod | Runtime validation |
| Lucide React | Interface icons |
- Node.js 20 or newer
- npm
- Git
Clone the repository:
git clone https://github.com/lascent/shopify-ui-generator.git
cd shopify-ui-generatorInstall and prepare the project:
npm run setupStart the development server:
npm run devOpen http://localhost:3000 in your browser.
You can also install dependencies directly with npm install if you do not want to use the setup helper.
Run:
start-windows.bat
chmod +x start-unix.sh
./start-unix.shThe project works without an API key. To enable the optional OpenAI planner, copy .env.example to .env.local and add your key:
OPENAI_API_KEY=your_key_here
OPENAI_MODEL=gpt-5.6-lunaKeep .env.local and other credentials out of version control.
- Enter a shop title.
- Enter a design direction or choose a storefront category.
- Generate one storefront or use Generate 3 to compare several directions.
- Review the result at desktop, tablet, and mobile sizes.
- Keep the current direction, try variations, or create a new design.
- Refine or regenerate individual sections as needed.
- Export the result when the design is ready for implementation.
Example directions:
minimal Japanese furniture store with quiet typography and subtle interactions
premium gaming laptop store with technical comparisons and restrained motion
modern automotive storefront with editorial typography and premium product photography
| Command | Purpose |
|---|---|
npm run setup |
Prepare the local environment and install dependencies |
npm run dev |
Start the development server |
npm run verify |
Run repository structure and integration checks |
npm run typecheck |
Run TypeScript type checking |
npm run check |
Run verification and type checking |
npm run build |
Create a production build |
npm run start |
Start the production build |
shopify-ui-generator/
├── src/
│ ├── app/ Next.js application and API routes
│ ├── components/ Builder and storefront components
│ ├── lib/ Generation and design systems
│ ├── store/ Application state
│ └── types/ Shared TypeScript types
├── data/ Design direction data
├── docs/ Architecture, design notes, and preview images
├── public/ Static assets and branding
├── scripts/ Setup and verification scripts
└── .github/ GitHub templates
Before opening a pull request, run:
npm run verify
npm run typecheck
npm run buildContributions are welcome. Please read CONTRIBUTING.md before opening a pull request.
For security issues, follow the reporting process in SECURITY.md.
This project is available under the MIT License.

