npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ruig

v2.0.0

Published

RUIG (Rapid UI Generator) is a powerful **client-based Progressive Web App (PWA)** that revolutionizes the way developers design and generate frontend components. With an intuitive **drag-and-drop interface**, real-time rendering, and **full support for n

Readme

RUIG – The Ultimate Drag-and-Drop UI Builder & Code Generator

RUIG (Rapid UI Generator) is a powerful client-based Progressive Web App (PWA) that revolutionizes the way developers design and generate frontend components. With an intuitive drag-and-drop interface, real-time rendering, and full support for npm packages, RUIG provides a seamless, framework-agnostic development experience—all within your browser.

RUIG isn't just for React—it's an extensible platform that allows developers to create plugins that convert designs into multiple frameworks like Preact, Next.js, Vue, standard HTML/CSS/JavaScript, Flask, and more.

🚀 Say goodbye to repetitive coding—design, customize, and export instantly!


🎯 Why RUIG?

No Installation Required

RUIG runs entirely in the browser as a PWA, meaning no setup, no dependencies, and zero backend—just pure client-side magic.

Drag-and-Drop UI Builder

Effortlessly create components and entire layouts with an intuitive, user-friendly interface.

Supports NPM Packages in the Browser

Want to use Material UI, Bootstrap, Tailwind, React Router, or Redux? Simply install them inside RUIG and start building.

Live Preview & Instant Code Generation

See real-time updates while designing and export the code instantly in the framework of your choice.

Plugin System for Maximum Flexibility

Developers can create custom plugins to extend RUIG’s capabilities, adding support for different frameworks and integrations.


🔥 Key Features

🎨 Visual UI Editor

  • Drag-and-drop buttons, inputs, modals, forms, grids, and more.
  • Supports custom styles, props, and attributes.
  • Add and configure event handlers (onClick, onChange, etc.).

💡 Multi-Framework Code Export

RUIG is framework-agnostic. Export your designs as:

  • React (JSX with hooks and components).
  • Preact (lightweight and optimized).
  • Next.js (SSR-friendly with optimized static exports).
  • Vue.js (Vue components and directives).
  • Standard HTML/CSS/JavaScript (vanilla, fully customizable).
  • Flask (convert UI elements into Flask-compatible templates).
  • More coming soon…

🔌 Plugin Ecosystem for Developers

  • Extend RUIG by creating custom plugins.
  • Build exporters that convert designs into other frameworks.
  • Integrate third-party APIs, UI kits, and design systems.

🛠️ Code Editing & NPM Support

  • Directly edit generated code inside RUIG.
  • Import & use npm packages dynamically.
  • Auto-suggestions and intelligent component linking.

🌐 Offline-Ready (PWA)

  • Works fully offline once installed.
  • Store projects locally and resume anytime.

🚀 Getting Started

1️⃣ Install RUIG (PWA Mode)

RUIG is a progressive web app, meaning you can install it just like a native app.
Simply visit RUIG's official site and "Add to Home Screen" (Chrome, Edge, or Safari).

2️⃣ Start Dragging & Designing

  • Open RUIG and start adding UI components.
  • Customize properties, styles, and event handlers.
  • Integrate with npm packages in real time.

3️⃣ Export & Use Anywhere

  • Select React, Vue, Next.js, or another framework.
  • Download the code or copy it to your project.
  • Done! Your UI is ready for integration.

⚙️ Example: Convert Design to React

Step 1: Drag UI Elements

Add buttons, forms, modals, etc., and customize properties.

Step 2: Export as React Code

With one click, RUIG generates:

import React, { useState } from 'react'

export default function MyComponent() {
  const [count, setCount] = useState(0)

  return (
    <div className="container">
      <h1>Counter: {count}</h1>
      <button onClick={() => setCount(count + 1)}>Increment</button>
    </div>
  )
}

Copy & paste it into your React project! 🎉


🛠️ Extending RUIG with Plugins

RUIG’s plugin system allows developers to add new functionalities, such as:
New framework exporters (e.g., Angular, Svelte, Solid.js)
Custom UI libraries (Bootstrap, Tailwind, Material UI, etc.)
Backend integration (Flask, Express, Django, Firebase)
AI-powered auto-design tools

Example: Writing a Plugin to Export Vue Components

RUIG.registerPlugin({
  name: 'Export to Vue',
  transform: (uiTree) => {
    return convertToVue(uiTree) // Your conversion logic here
  },
})

🎯 Who is RUIG For?

💡 Frontend Developers – Quickly build UI without writing boilerplate.
Full-Stack Engineers – Generate frontend code that works with any backend.
🎨 UI/UX Designers – Experiment with layouts and see real-time previews.
🔧 Product Teams – Rapidly prototype and iterate without heavy dependencies.


📌 Upcoming Features

🔹 AI-Powered Code Suggestions – Intelligent UI recommendations.
🔹 Multi-Page Support – Design entire web apps, not just components.
🔹 Direct GitHub Export – Push projects to repositories from RUIG.
🔹 Theme Customization – Dark mode, UI presets, and templates.


🤝 Contributing

Want to improve RUIG? Contributions are welcome! 🚀

How to Contribute

  1. Fork the repository on GitHub.
  2. Create a new branch (feature-new-plugin).
  3. Commit your changes and submit a PR.
  4. Discuss & merge! 🎉

📜 License

RUIG is open-source and released under the MIT License.


🔗 Stay Updated!

💬 Join the RUIG CommunityDiscord | Twitter | GitHub

🚀 Try RUIG today and accelerate your frontend development!