Skip to content

jntellez/html-to-image

Repository files navigation

HTML to Image

React Vite TypeScript Tailwind CSS

✨ What is HTML to Image?

HTML to Image is a modern web application that converts HTML and CSS code into high-quality images. It provides a live editor with instant preview and multiple export options for developers and designers.

The application is built with modern web technologies that ensure performance and user experience:

Frontend Framework

  • React with TypeScript for type-safe component development
  • Vite as the build tool for a fast and lightweight development experience

UI & Design System

  • TailwindCSS for utility-first styling
  • Shadcn/ui on top of Radix primitives for accessible components

🎯 Core Features

Editor Features:

  • βœ… Real-time HTML/CSS code editor
  • βœ… Instant live preview
  • βœ… Configurable options panel
  • βœ… Canvas and resolution configuration

Export Options:

  • βœ… Multiple formats: PNG, JPEG, SVG
  • βœ… Customizable dimensions

Interface Features:

  • βœ… Collapsible accordion options panel
  • βœ… Resizable panels (editor, preview, and options)
  • βœ… Flexible panel distribution (rearrange editor, preview, and options layout)

πŸš€ Getting Started

Requirements:

Steps:

  1. Fork this project.

  2. Clone the repository:

git clone https://github.com/@username/html-to-image.git
  1. Install dependencies:
npm install
  1. Run the development server:
npm run dev

Open http://localhost:5173 with your browser πŸš€

✌️ Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

πŸ“ License

This project is open source and available under the MIT License.

About

πŸ–Ό An interactive playground to convert HTML/CSS code into images.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published