A bare-bones v0 clone - an AI-powered UI code generator that creates HTML/Tailwind CSS components from natural language descriptions.
- AI Code Generation - Describe a UI component in plain English and get HTML/Tailwind CSS code
- Real-time Streaming - Watch the code generate live with instant preview updates
- Live Preview - See your generated UI rendered in a sandboxed iframe
- Code Modification - Iteratively refine generated code through conversation
- Split-Pane Layout - Resizable chat and preview panels
- Syntax Highlighting - View generated code with VSCode Dark+ theme
- Copy to Clipboard - One-click code copying
- Next.js 16 (App Router)
- React 19
- TypeScript
- Tailwind CSS 4
- OpenAI Agents SDK
- Bun
- Clone the repo and install dependencies:
bun install- Create a
.env.localfile with your OpenAI API key:
OPENAI_API_KEY=your_api_key_here
- Run the development server:
bun dev- Enter a description of the UI you want (e.g., "Create a login form with email and password fields")
- The AI generates HTML/Tailwind CSS code streamed in real-time
- Preview updates live as code streams in
- Continue the conversation to modify or enhance the generated UI