UICloner Extension
November 24, 2024 ยท View on GitHub
UICloner Extension
UICloner is a AI-powered browser extension that allows you to clone any UI component from any webpage with a single click and automatically generates the corresponding code implementation.
โจ Key Features
- ๐ฏ One-Click Selection - Select UI components to clone with a simple click on any website
- ๐จ Multiple Format Support - Generate to HTML + Tailwind CSS or HTML + pure CSS code
- ๐ Live Preview - Real-time preview of cloned UI and generated code
Demo - clone the Facebook login form

๐ Quick Start
Install and Setup
- Install UICloner extension from Chrome Web Store
- Click the extension icon and setup a vision LLM API (GPT-4o or Claude 3.5 recommended, your API is saved locally!)

Usage
- Open any webpage and click the extension icon
- Use the selection tool to pick UI components on the webpage
- Wait for code generation to complete
- Copy the generated code to your project
๐ ๏ธ Development Setup
Install dependencies
pnpm install
Development mode
pnpm run dev
Build for production
pnpm build
๐ง Tech Stack
- WXT (Browser Extension Development)
- React 18
- Tailwind CSS
- Shadcn UI Components
- Langchain
- TypeScript
๐ค Contributing
Contributions via Pull Requests and Issues are welcome!
๐ License
MIT