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 many years.
Installation
- Add this line to your application Gemfile:
gem 'rapid_ui'
-
run and
bundle install
. -
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'