1.0.0-alpha.4 • Published 10 months ago

rbui-js v1.0.0-alpha.4

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

RBUI (former PhlexUI) šŸš€

A UI component library, crafted precisely for Ruby devs who want to stay organized and build modern apps, fast. ✨ Use this to build your own component library šŸ› ļø

About RBUI šŸ“š

RBUI is a UI component library designed to let Ruby developers create modern, fast, and organized applications. šŸ’Ž

Key Features:

  • Built for Speed ⚔: RBUI leverages Phlex, which is up to 12x faster than traditional Rails ERB templates.
  • Stunning UI šŸŽØ: Design beautiful, streamlined, and customizable UIs that sell your app effortlessly.
  • Stay Organized šŸ“: Keep your UI components well-organized and easy to manage.
  • Customer-Centric UX šŸ§‘ā€šŸ’¼: Create memorable app experiences for your users.
  • Completely Customizable šŸ”§: Full control over the design of all components.
  • Minimal Dependencies šŸƒ: Uses custom-built Stimulus.js controllers to keep your app lean.
  • Reuse with Ease ā™»ļø: Build components once and use them seamlessly across your project.

How to Use:

  1. Find the perfect component šŸ”: Browse live-embedded components on our documentation page.
  2. Copy the snippet šŸ“‹: Easily copy code snippets for quick implementation.
  3. Make it yours šŸŽØ: Customize components using Tailwind utility classes to fit your specific needs.

Installation šŸš€

1. Install the gem

bundle add rbui

or add it to your Gemfile:

gem "rbui"

2. Run the installer:

bin/rails g rbui:install

3. Done! šŸŽ‰

Documentation šŸ“–

Visit https://rbui.dev/docs to view the full documentation, including:

  • Detailed component guides
  • Themes
  • Lookbook
  • Getting started guide

Speed Comparison šŸŽļø

RBUI, powered by Phlex, outperforms traditional methods:

  • Phlex: Baseline šŸ
  • ViewComponent: 5.57x slower 🐢
  • ERB Templates: 12.08x slower 🐌

Huge thanks to @KonnorRogers for running these tests šŸ™

License šŸ“œ

Licensed under the MIT license.


Ā© 2024 RBUI. All rights reserved. šŸ”’