Giter VIP home page Giter VIP logo

rapid-ui's Introduction

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'

rapid-ui's People

Stargazers

Leonid Medovyy avatar  avatar Michael Few avatar Francesco Vollero avatar

Watchers

Leonid Medovyy avatar

rapid-ui's Issues

Update Readme

  • Add tech stack tags.
  • Explain how the stimulus Integration works.
  • Explain how it could be used with tailwind.

Add deeper Stimulus integration

  • Ability to pass props & values w/ namespacing.
  • Simplify the ability to pass targets via nested namespacing.
  • Add property shortcuts for data (d: ), controller (c: ), props (p: ), values (v: ) and target (t:)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.