Project

rapid_ui

0.0
There's a lot of open issues
No release in over a year
Ruby on Rails UI development framework based on ViewComponent
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Rapid UI 🥋

RapidUI is a modern Ruby framework that addresses linguistic complexity of designing user interfaces.

Features

  • Clean and readable code reduces cognitive load and improves developer happiness.
  • Unlike css classes, misspelled functions throw errors, drastically reducing the debug time.
  • CSS Framework agnostic. It can be configured to work with your existing CSS framework.

Background

  • Rapid UI is a successor to GoodUI, a UI meta-programming framework for Fomantic-UI.
  • It's battle tested and has been used in production by StoryPRO for over a year.

Installation

  1. Add this line to your application Gemfile:
    gem 'rapid_ui'
  1. run and bundle install.

  2. Copy the initializer, render monkey-patch, and ui.yml

rake rapid_ui:install

What It Looks Like

Rapid UI works best with slim templating langauge, drastically reducing the amount of boilerplate code.

=r ux.container

  =r ux.grid
  
    =r ux.row
      =r ux.column size: 16
          =r ux.h1 text: "Full Size"
          
    =r ux.row
      =r ux.column computer: 8, tablet: 7, mobile: 16
        =r ux.h2 text: 'Left Column'
        
      =r ux.column computer: 8, tablet: 9, mobile: 16
        =r ux.h1 text: 'Right Column'