{"slug": "what-if-there-was-an-admin-interface-built-on-top-of-rubyui-that-s-how-rubyui", "title": "🇺🇸 What if there was an admin interface built on top of RubyUI? That's how RubyUI Admin was born.", "summary": "A developer built RubyUI Admin, a Rails engine that turns Active Record models into a complete administration panel using RubyUI and Phlex. The admin interface renders server-side with Hotwire enhancements, reuses the application's own RubyUI components, and includes built-in documentation accessible at /admin/docs.", "body_md": "We're living in an exciting time for software development.\n\nWith AI, generating code, exploring ideas, and building new projects has never been easier. The old excuse of *\"that would take too much time\"* doesn't really hold anymore.\n\nIf there's a tool you've always wanted but it doesn't exist yet, this is probably the best time to build it.\n\nThat's exactly how **RubyUI Admin** came to life.\n\nFor quite some time I've admired projects like Avo and the developer experience they provide for building Rails admin interfaces. At the same time, I was using **RubyUI**, powered by **Phlex**, more and more in my own applications.\n\nEventually a simple question came to mind:\n\nWhat if there was an admin dashboard entirely built with RubyUI?\n\nInstead of waiting for someone else to build it, I decided to create it myself.\n\n**RubyUI Admin** is a Rails engine that turns your Active Record models into a complete administration panel.\n\nWith very little configuration, you get:\n\nEverything is rendered server-side using **RubyUI + Phlex**, with progressive enhancements powered by **Hotwire (Turbo + Stimulus)**.\n\nOne of the project's main architectural decisions was to avoid creating yet another isolated UI framework.\n\nInstead, RubyUI Admin renders your application's own RubyUI components.\n\nThat means:\n\nThe result is an administration panel that truly feels like part of your application.\n\nFollowing the philosophy that has always made Rails productive, RubyUI Admin embraces server-side rendering.\n\nJavaScript is only there to enhance the experience.\n\nEverything continues to work even without JavaScript.\n\nTurbo and Stimulus simply improve interactions like:\n\nOne feature I'm particularly proud of is the built-in documentation.\n\nAfter mounting the engine, simply visit:\n\n```\n/admin/docs\n```\n\nThe gem serves its own documentation as HTML directly inside your application.\n\nNo need to leave your admin panel or search through external documentation while you're developing.\n\nIt's enabled by default during development and can also be exposed in production behind your application's authentication.\n\nRubyUI Admin already includes:\n\nAnd it's still growing.\n\nFuture versions are expected to include advanced association management and additional index view types.\n\nA few principles guided the project from day one.\n\nResources, policies, filters, dashboards, and actions are just Ruby classes.\n\nNothing is hidden behind magic.\n\nWhenever you need to customize something, you simply extend or override it.\n\nThe primary goal is to deliver a fully functional application before adding JavaScript.\n\nThis keeps the project robust, maintainable, and closely aligned with modern Rails philosophy.\n\nSince the admin uses your own RubyUI components, your application maintains a single source of truth for its UI.\n\nButtons, dialogs, tables, cards, and every other component are shared across both your application and your admin interface.\n\nInstalling RubyUI Admin is straightforward.\n\n```\ngem \"ruby_ui_admin\"\n```\n\nThen mount the engine:\n\n```\nmount_ruby_ui_admin at: \"/admin\"\n```\n\nConfigure authentication and authorization, create your resources, and you're ready to go.\n\nRubyUI Admin is already usable today, but this is only the beginning.\n\nMy goal is to build a modern admin solution for Rails applications using RubyUI, while staying true to the Rails, Hotwire, and Phlex ecosystem.\n\nIf you're already using RubyUI, I'd love for you to give it a try.\n\nFeedback, issues, ideas, and contributions are always welcome.\n\nI hope this is only the beginning.\n\nA special thanks to [Ítalo Moura](https://github.com/italomourati) for helping me test the gem.", "url": "https://wpnews.pro/news/what-if-there-was-an-admin-interface-built-on-top-of-rubyui-that-s-how-rubyui", "canonical_source": "https://dev.to/videosdeti/what-if-there-was-an-admin-interface-built-on-top-of-rubyui-thats-how-rubyui-admin-was-born-5ch7", "published_at": "2026-07-17 23:53:27+00:00", "updated_at": "2026-07-18 00:07:07.754869+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["RubyUI Admin", "RubyUI", "Phlex", "Hotwire", "Turbo", "Stimulus", "Avo", "Ítalo Moura"], "alternates": {"html": "https://wpnews.pro/news/what-if-there-was-an-admin-interface-built-on-top-of-rubyui-that-s-how-rubyui", "markdown": "https://wpnews.pro/news/what-if-there-was-an-admin-interface-built-on-top-of-rubyui-that-s-how-rubyui.md", "text": "https://wpnews.pro/news/what-if-there-was-an-admin-interface-built-on-top-of-rubyui-that-s-how-rubyui.txt", "jsonld": "https://wpnews.pro/news/what-if-there-was-an-admin-interface-built-on-top-of-rubyui-that-s-how-rubyui.jsonld"}}