Skip to content

k0va1/lightning_ui_kit

Repository files navigation

LightningUiKit

UI components for fast prototyping in Rails applications.

Preview is available at ui.lightningrails.xyz

Usage

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!") %>

Contributing

Bug reports and pull requests are welcome

License

The gem is available as open source under the terms of the MIT License.

About

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •