UICloner Extension

November 24, 2024 ยท View on GitHub

UICloner Logo

UICloner Extension

Install from Chrome Web Store

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

Demo

๐Ÿš€ Quick Start

Install and Setup

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

Setup

Usage

  1. Open any webpage and click the extension icon
  2. Use the selection tool to pick UI components on the webpage
  3. Wait for code generation to complete
  4. 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