UI components for fast prototyping in Rails applications.
Preview is available at ui.lightningrails.xyz
Add this line to your application's Gemfile:
gem "propshaft"
gem "lightning_ui_kit"
And then execute:
$ bundle
Add the following lines to your application.html.erb
file:
<%= stylesheet_link_tag "lightning_ui_kit" %>
<%= javascript_include_tag "lightning_ui_kit" %>
Then you can use components in your views like this:
<%= render LightningUiKit::ButtonComponent.new(text: "Click me!") %>
Bug reports and pull requests are welcome
The gem is available as open source under the terms of the MIT License.